Did you just copied and pasted my code?
If yes...sorry I made a typo:
it should be ...Visible and not .Visisble!
It should work if you change that. If you set the property to TRUE the
control is visible if to FALSE it should hide.
HTH
Good luck
--
Oliver
Admin Specialist & Computer Science Major @ UMD - Go Terps -
http://www.oli-s.de
:
I've tried that but get an error message:
"run-time error '438'
Object doesn't support this property or method"
--
dtw
:
Hi,
try:
DoCmd.OpenForm "YourFormName"
Forms!YourFormName.YourControlName.Visisble = True/False
HTH
Good luck
--
Oliver
Admin Specialist & Computer Science Major @ UMD - Go Terps -
http://www.oli-s.de
:
How do I set visibility of a control on a form from a command button on a
previous form which is opening the new form?