G
Guest
I received the following instruction to have a page open up after a
particular value is selected in a ComboBox within a form:
In the AfterUpdate event procedure for the combo box, set visible property
as appropriate:
If Me!My ComboBox = CertainValue Then
Me!MySecondPage.Visible - True
End If
Q.1 When I go into the event procedure and click on the '...' I am in the
VB editor. I assume this is what is meant by 'set visible property' ?
Q.2 If I type in the above code I got an error when testing to say that
'MyComboBox' is not recognising. I then thought I should substitule 'Combo
Box' for the field name. In doing so it still did not recognise it.
Q.3 Could someone please explain the significance of 'Me!' and 'My!' in VB?
Thanks so much
particular value is selected in a ComboBox within a form:
In the AfterUpdate event procedure for the combo box, set visible property
as appropriate:
If Me!My ComboBox = CertainValue Then
Me!MySecondPage.Visible - True
End If
Q.1 When I go into the event procedure and click on the '...' I am in the
VB editor. I assume this is what is meant by 'set visible property' ?
Q.2 If I type in the above code I got an error when testing to say that
'MyComboBox' is not recognising. I then thought I should substitule 'Combo
Box' for the field name. In doing so it still did not recognise it.
Q.3 Could someone please explain the significance of 'Me!' and 'My!' in VB?
Thanks so much