Hide fields in main form by clicking sub form

giovi2002

Registered User.
Local time
Yesterday, 20:32
Joined
Apr 12, 2005
Messages
83
I have one main form with 3 tabulated sub forms.
My main form consists of two fields.
When the user clicks tab 2 (subform 2) or tab 3 (subform 3) the main fields should hide

I tried to achieve this by using the on click event at the tabbed forms. I referenced the two main fields and used the visible property followed by a form requery. It didn't work.

thanks in advance
 
Put your code on the Gotfocus and lost focus events of the Subforms.
 

Users who are viewing this thread

Back
Top Bottom