J
Jim
Hello,
I'm trying to retun a record from a table (tlbWarehouse) based on a variable
(strOrgWarehouseID) in my function. Currently my sql statement looks like
this:
"SELECT * FROM tblWarehouse Where strWarehouseID = strOrgWarehouseID" but it
doesn't return the correct record. It returns the first record in the table.
Can anyone tell me what I'm doing wrong?
Thanks
Jim
I'm trying to retun a record from a table (tlbWarehouse) based on a variable
(strOrgWarehouseID) in my function. Currently my sql statement looks like
this:
"SELECT * FROM tblWarehouse Where strWarehouseID = strOrgWarehouseID" but it
doesn't return the correct record. It returns the first record in the table.
Can anyone tell me what I'm doing wrong?
Thanks
Jim