View Full Version : presence checks???


sparky2005
12-01-2005, 12:58 PM
i have a combo box which basically gives you the option of yes and no.... then if the yes is selected, you choose a time from another combo box

i want to be able to write an IIf statement which basically hides the second combo box unless the first one has the value 'yes'

Can anyone help me please???

KenHigg
12-01-2005, 01:01 PM
In the after update event of cbo1:

if me!cbo1 = "yes" then
me!cbo2.visible = true
else
me!cbo2.visible = false
End if


???

sparky2005
12-03-2005, 12:10 PM
could u please just explain that piece of code to me???
what does the 'me' bit mean? im confuzed...