D
Database Girl
I get a error message on the following criteria string:
strCriteria = "[SAPNumber] = '" & Me!txtPO & "' AND [LineNo] = ' " &
Me!txtLine & "' AND [SunTicket] = '0'"
I know it is the LineNo that is causing the issue because when I remove it
the code works. The field on the form is a unbound text box. The properties
on the text box is set to "General Number" for format and decimal places are
set to "Auto". The "LineNo" field on the table is a primary key and is
formated with a data type of number, a field size of "Byte" and decimal
places of "Auto".
I just cannot figure out why I am getting the data type mismatch.
Your assistance would be appreciated.
strCriteria = "[SAPNumber] = '" & Me!txtPO & "' AND [LineNo] = ' " &
Me!txtLine & "' AND [SunTicket] = '0'"
I know it is the LineNo that is causing the issue because when I remove it
the code works. The field on the form is a unbound text box. The properties
on the text box is set to "General Number" for format and decimal places are
set to "Auto". The "LineNo" field on the table is a primary key and is
formated with a data type of number, a field size of "Byte" and decimal
places of "Auto".
I just cannot figure out why I am getting the data type mismatch.
Your assistance would be appreciated.