If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How do I hide a subform?
Hi
I ahev a subform called Vat_Rate which I am trying to hide on occassions. I have tried Me.Vat_Rate.Visible = False and Forms![Order Form]![Order Details].Form.[VAT Rate].Visible = False I keep getting Object doesn't support this property or method. Stapes |
#2
|
|||
|
|||
How do I hide a subform?
Forms![MainFormName]![Vat_Rate].Visible = False
"Stapes" wrote: Hi I ahev a subform called Vat_Rate which I am trying to hide on occassions. I have tried Me.Vat_Rate.Visible = False and Forms![Order Form]![Order Details].Form.[VAT Rate].Visible = False I keep getting Object doesn't support this property or method. Stapes |
#3
|
|||
|
|||
How do I hide a subform?
If this code is in the main form's code module, Me.Vat_Rate.Visible = False
should work if Vat_Rate is the name of the subform control. Note that this is not necessarily the same thing as the name of the subform. Does Vat_Rate show up as one of the Intellisense choices after you type Me.? "Stapes" wrote in message ... Hi I ahev a subform called Vat_Rate which I am trying to hide on occassions. I have tried Me.Vat_Rate.Visible = False and Forms![Order Form]![Order Details].Form.[VAT Rate].Visible = False I keep getting Object doesn't support this property or method. Stapes |
Thread Tools | |
Display Modes | |
|
|