Syntax Error Help

aschachtel

Registered User.
Local time
Today, 02:13
Joined
Jun 24, 2014
Messages
15
Anyone see the syntax error (missing operator)?

Me.cboBrickAttributeValue.RowSource = " SELECT tblBrickAttributeValue.CoreAttributeValueDescription, tblBrickAttributeValue.CoreAttributeValueCode, tblBrickAttributeValue.CoreAttributeSpecificTypeDescription FROM tblBrickAttributeValue " & _
" WHERE CoreAttributeSpecificTypeDescription= " & Nz(Me.cboBrickAttribute) & _
" ORDER BY CoreAttributeValueDescription"


supposedly the problem is in
" WHERE CoreAttributeSpecificTypeDescription= " & Nz(Me.cboBrickAttribute) & _
 
Try:
" WHERE CoreAttributeSpecificTypeDescription= '" & Nz(Me.cboBrickAttribute) & "'" & _
 
You rock! That was it, thank you! What exactly did that change about what my code was saying?
 

Users who are viewing this thread

Back
Top Bottom