How to bydefault hide a textbox on opening a form

aparnawangu

Registered User.
Local time
Today, 12:53
Joined
Aug 11, 2015
Messages
26
Hi Team,
I have a textbox and combobox in my access form.I want that textbox should be hidden bydefault on opening the form.
When i select a particular item from Combobox then only it should be visible.
otherwise not.Pls help me out.

Thanks
Aparna
 
In design mode, set the visible property of the text box to No.
In the After Update event of the combo box for code (IF/THEN/ELSE) to determine if the text box should be made visible.
 
You'll also need to have code, like that in the AfterUpdate event of the Combobox, in the Form_Current event to set the the Visibility of the Textbox, so that it will be Record-appropriate as you move from Record to Record.

Linq ;0)>
 

Users who are viewing this thread

Back
Top Bottom