hiding field on subform

W

W

Hi,

I have a field on a subform that I want to make invisible.
Although I set the invisible property, and although in the On_Load event I
set this control with its label to invisible, it continues to be shown.
Moreover I set the visble property to false in teh main form.

How can I make it invisible ?

Thank you
 
G

Graham R Seach

Open the subform itself - not through the main form. Set the control's
Visible property to False, and save the subform. If the control still shows
up when you open the main form, then something else is explicitly making it
visible; you'll have to track it down and remove it.

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia
 
W

W

Excuse me for replying so late; I just came back from holiday. I did all
what you suggested, even set the visible property to false on the main form,
but it simply does not work.

W
 
G

Graham R Seach

Something is explicitly making it visible. Search for code that sets the
control's Visible property, and eliminate it.

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top