SeadnaS
Programmer
- May 30, 2011
- 214
Keep getting a Syntax Error missing operator message on the following code:
Size_Type = '13010' And WHERE TP = 'BP'
Don't know whats wrong with it.
Heres the full code from VBA:
Me!lotbox.RowSource = "SELECT LOT_NO FROM " & Me.RecordSource & " WHERE Size_Type = '" & Me.sizecombo & "' And WHERE TP ='" & Me!typecombo & "'
Size_Type = '13010' And WHERE TP = 'BP'
Don't know whats wrong with it.
Heres the full code from VBA:
Me!lotbox.RowSource = "SELECT LOT_NO FROM " & Me.RecordSource & " WHERE Size_Type = '" & Me.sizecombo & "' And WHERE TP ='" & Me!typecombo & "'