I am getting a Missing Operator message when running this from a command button on my form.
stDocName = "OpenContracts"
strWhere = "WHERE tblContracts.closed = False AND"
strWhere = strWhere & " (tblContracts.preparer) = '" & Me.cboOwner & "' AND"
Have also tried
stDocName = "OpenContracts"
strWhere = "WHERE tblContracts.closed = False AND"
strWhere = strWhere & " (tblContracts.preparer) = '" & Me.cboOwner & "'"
with the same results.
cboOwner is a combo box and tblContracts.closed is a radio button.
Complete error message:
Syntax error (Missing operator) in query expression 'WHERE tblContracts.closed = False AND (tblContracts.preparer) = 'Koul"
Any ideas?
Thanks,
Toni
stDocName = "OpenContracts"
strWhere = "WHERE tblContracts.closed = False AND"
strWhere = strWhere & " (tblContracts.preparer) = '" & Me.cboOwner & "' AND"
Have also tried
stDocName = "OpenContracts"
strWhere = "WHERE tblContracts.closed = False AND"
strWhere = strWhere & " (tblContracts.preparer) = '" & Me.cboOwner & "'"
with the same results.
cboOwner is a combo box and tblContracts.closed is a radio button.
Complete error message:
Syntax error (Missing operator) in query expression 'WHERE tblContracts.closed = False AND (tblContracts.preparer) = 'Koul"
Any ideas?
Thanks,
Toni