A
Angel G
I have a field in a form that contains an integer value, but when I pass the
value of the field into a query I get an error stating that the value can
not be convereted from a varchar to an integer value. here is my query
SELECT DISTINCT
LotNumber, LotDescription, LotRevision,
VendorLotNumber, FirstReceiptDate, LastInspectionDate, LotExpirationDate,
ItemKey, LotTraceKey
FROM FSDBMR.dbo.FS_LotTrace
WHERE (LotTraceKey = '"&Me![LotNumber]&"')
basically
'"&Me![LotNumber]&"'
contains the passing value.
I have tried various ways but no luck.
Any help is appreciated.
value of the field into a query I get an error stating that the value can
not be convereted from a varchar to an integer value. here is my query
SELECT DISTINCT
LotNumber, LotDescription, LotRevision,
VendorLotNumber, FirstReceiptDate, LastInspectionDate, LotExpirationDate,
ItemKey, LotTraceKey
FROM FSDBMR.dbo.FS_LotTrace
WHERE (LotTraceKey = '"&Me![LotNumber]&"')
basically
'"&Me![LotNumber]&"'
contains the passing value.
I have tried various ways but no luck.
Any help is appreciated.