GaryInMilwaukee
New member
- Local time
- Today, 15:43
- Joined
- Jul 23, 2010
- Messages
- 5
Ok, I've tried looking and doing searches for the answer to this question but I have not yet found the solution:
This sub is tied to a button on a form.
Private Sub Command26_Click()
Dim lLocalVariable As String
lLocalVariable = "Brandi"
docmd.OpenQuery "First_Name"
End Sub
I want to pass the ILocalVariable to a saved query under the [first_name] field. Any ideas? What is the verbiage used in the saved query (First_Name) in that field (ex. 'ILocalVariable')?
This sub is tied to a button on a form.
Private Sub Command26_Click()
Dim lLocalVariable As String
lLocalVariable = "Brandi"
docmd.OpenQuery "First_Name"
End Sub
I want to pass the ILocalVariable to a saved query under the [first_name] field. Any ideas? What is the verbiage used in the saved query (First_Name) in that field (ex. 'ILocalVariable')?
Last edited: