Make a cbobox not visible, with a condition

E

edward keith

if [frmPos2] isOpen then
cbo65 visible = true
else
cbo65 visible = false

can you show me how to code this correctly

thanks, edward keith
 
B

Brendan Reynolds

Assuming Access 2000 or later ...

If CurrentProject.AllForms("frmPos2").IsLoaded Then
cbo65.Visible = True
Else
cbo65.Visible = False
End If
 
E

edward keith

thanks again
edward keith
Brendan Reynolds said:
Assuming Access 2000 or later ...

If CurrentProject.AllForms("frmPos2").IsLoaded Then
cbo65.Visible = True
Else
cbo65.Visible = False
End If

--
Brendan Reynolds

edward keith said:
if [frmPos2] isOpen then
cbo65 visible = true
else
cbo65 visible = false

can you show me how to code this correctly

thanks, edward keith
 
Top