> I have no idea how to hide some controls in my subform
> if value in a textbox in main form is >1 or =1.I can't write a code.
> Please help.
Private sub form_current()
if youControlName => "1" then
forms!NameForm!SubForm.form.YouControlName.visible = false
end if
end sub

Signature
Ciao
Geppo
New_Access - 08 Dec 2007 01:58 GMT
geppo,
why does access think my FormName is a fieldname.
> > I have no idea how to hide some controls in my subform
> > if value in a textbox in main form is >1 or =1.I can't write a code.
[quoted text clipped - 13 lines]
> Ciao
> Geppo