Subform query (1 Viewer)

ian_ok

Registered User.
Local time
Today, 00:06
Joined
May 1, 2001
Messages
90
In my subform I have a default for todays date, which is updated when a combo box option is picked.

What I want is to hide this date box until the combo option is clicked....any ideas?

Ian
 

AlanS

Registered User.
Local time
Yesterday, 19:06
Joined
Mar 23, 2001
Messages
292
Assuming the date is in textbox txtDate, the combo box is called cboCombo, and the combo box option value that will make the date visible is 3, put this code into the AfterUpdate event procedure for cboCombo:

txtDate.Visible = cboCombo = 3
 

Users who are viewing this thread

Top Bottom