I ian_ok Registered User. Local time Today, 06:49 Joined May 1, 2001 Messages 90 Jun 4, 2001 #1 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
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
A AlanS Registered User. Local time Today, 01:49 Joined Mar 23, 2001 Messages 292 Jun 4, 2001 #2 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
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