Hacktastic
Technical User
Hello all,
This is my first post so be gentle.
I am creating a form in access, and I have a drop down combo box with a list of choices I made from a Value list.
Next to it I have a button.
I want the button to read the selected value from the combo box and run the appropriate code.
The only thing i am missing is how to pass the value from the combo box to vba.
Then
Iff strGlobal = "x" then call x..etc
Any ideas?
This is my first post so be gentle.
I am creating a form in access, and I have a drop down combo box with a list of choices I made from a Value list.
Next to it I have a button.
I want the button to read the selected value from the combo box and run the appropriate code.
The only thing i am missing is how to pass the value from the combo box to vba.
Code:
Dim strGlobal As String
Me.[Comboboxname]= strGlobal
Then
Iff strGlobal = "x" then call x..etc
Any ideas?