Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Check box status not changing

Status
Not open for further replies.

Razor1

IS-IT--Management
Nov 21, 2002
81
US
I have check box that should hide a field or display a field depending on its status. I placed in the after update procedure. If it starts out as false and changes to true then it displays the fields but once changed to True it always shows True.

Here is the code.

If Me!ContractChairs.Visible = True Then
Me!Product.Visible = True
ElseIf Me!ContractChairs.Visible = False Then
Me!Product.Visible = False
End If

Razor1
 

Did you try just a one line like:
Code:
Me!Product.Visible = Me!ContractChairs.Visible

Have fun.

---- Andy
 
Have you tried either repainting or refreshing the form after the procedure is run?
 
Can you tell us:
"after update procedure" update of what?
Which is your check box?
Do you understand you might need to add this code to the On Current event?

Duane
Hook'D on Access
MS Access MVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top