i look up a light bulb it opens a form. on that form i hit a button to get more info on that same lamp...but i get the error
SYNTAX ERROR (MISSING OPERATOR) IN QUERY EXPRESSION 'LAMP ID=95'
Here is the code i am using
Private Sub AddDeleteSuppliers_Click()
On Error GoTo Err_AddDeleteSuppliers_Click
Screen.PreviousControl.SetFocus
DoCmd.OpenForm "order specific", , , "lamp id = " & Me.Text91
Exit_AddDeleteSuppliers_Click:
Exit Sub
Err_AddDeleteSuppliers_Click:
MsgBox Err.DESCRIPTION
Resume Exit_AddDeleteSuppliers_Click
End Sub
suggestions?????
SYNTAX ERROR (MISSING OPERATOR) IN QUERY EXPRESSION 'LAMP ID=95'
Here is the code i am using
Private Sub AddDeleteSuppliers_Click()
On Error GoTo Err_AddDeleteSuppliers_Click
Screen.PreviousControl.SetFocus
DoCmd.OpenForm "order specific", , , "lamp id = " & Me.Text91
Exit_AddDeleteSuppliers_Click:
Exit Sub
Err_AddDeleteSuppliers_Click:
MsgBox Err.DESCRIPTION
Resume Exit_AddDeleteSuppliers_Click
End Sub
suggestions?????