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
|
|||
|
|||
What does me.visible means?
What does "me.visible" means? What does "me" stands for?
|
#2
|
|||
|
|||
What does me.visible means?
"Bart" wrote in message
... What does "me.visible" means? What does "me" stands for? Me is a reference to the current form/report. For example, if the current form is Form1, then Me is the same as: Forms![Form1] -- Allen Browne - Microsoft MVP. Perth, Western Australia Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. |
#3
|
|||
|
|||
What does me.visible means?
To expand a bit on what Allen wrote (my apologies if I am stating the
obvious, but it is not entirely clear whether your question is entirely about the use of "Me" or whether you are also trying to sort out how to use the Visible property), the Visible property can be used to show or hide a control, form, or report. For instance, you could have this in the Current event of a form for recording personal information: If Me.NewRecord Then Me.txtMaidenName.Visible = False Else Me.txtMaidenName.Visible = (Me.Gender = "Female") End If (txtMaidenName is a text box bound to the MaidenName field) Then, in the AfterUpdate event of the combo box Me.cboGender (bound to the field [Gender]): Me.txtMaidenName.Visible = (Me.Gender = "Female") This expression evaluates either to True or False, and can be used in place of the words True or False: (Me.Gender = "Female") "Bart" wrote in message ... What does "me.visible" means? What does "me" stands for? |
#4
|
|||
|
|||
What does me.visible means?
"Allen Browne" wrote in
: "Bart" wrote in message ... What does "me.visible" means? What does "me" stands for? Me is a reference to the current form/report. Actually, the current class-module-bearing object (i.e., form or report). -- David W. Fenton http://www.dfenton.com/ usenet at dfenton dot com http://www.dfenton.com/DFA/ |
Thread Tools | |
Display Modes | |
|
|