Make subform control invisible

A

Akilah

Is the a way from the main form to make a control on its subform invisible?
Thanks in advance.
 
L

Linq Adams via AccessMonster.com

The syntax would be

Me!YourSubFormName.Form!YourControlName.Visible = False

but this will only work if the subform is being displayed in Single View or
Continuous View. If a control is included in a form being displayed in
Datasheet View.its Visible Property cannot to be to No.
 
D

Damon Heron

However, on a datasheet, you can hide the control column by:

Me!YourSubFormName.Form!YourControlName.columnhidden = -1
then unhide by -- columnhidden = 0

Damon
 

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