check box auto populate

K

kms

Help, Help, Help!!!

I have a subform in a mainform. I need the check box in the mainform to
autopopulate based on a value in a control box in the subform. Can someone
help with this please!!
 
A

Arvin Meyer [MVP]

When is this value in the subform become known?

Depending upon the answer to the above, you can use the subform's Current
event, or the AfterUpdate event of the control. The code, however would be
similar:

If Me.txtControlWhatever = "SomeValue" Then
Me.Parent.chkBoxName = True
Else
Me.Parent.chkBoxName = False
End If
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top