Hide subforms control from main forms control

  • Thread starter Thread starter New_Access
  • Start date Start date
N

New_Access

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.
 
Ciao said:
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
 
Back
Top