G
Guest
Hi
I have a table that is linked to microsoft excel. The table is made up as
follows.
ProductCode Description Date Booked
78030006 Shoes 11/8
3950883252 Cufflinks 29/9
This table has lots of different entries and the product code could range
anything from 8-12 digits.
I have written 2 queries one with a parameter that is based on the
description which is fine and dandy.
The query i have written for the product code is where i am experiencing all
the problems. All that i want to do is enter a product code and its brings
up the description and the date.
SELECT mdasheets.F1, mdasheets.F2, mdasheets.F3
FROM mdasheets
WHERE (((mdasheets.F1) Like "*" & [ Product Code] & "*"));
It seems to work fine for the first time and then i have a numeric field
overflow. The information that i would like to bring up then serves no
further purpose as we just need to know a date for this product code and then
we close the query.
I have no idea how to get around this, can anyone help please?
Thanks in advance
Carol
I have a table that is linked to microsoft excel. The table is made up as
follows.
ProductCode Description Date Booked
78030006 Shoes 11/8
3950883252 Cufflinks 29/9
This table has lots of different entries and the product code could range
anything from 8-12 digits.
I have written 2 queries one with a parameter that is based on the
description which is fine and dandy.
The query i have written for the product code is where i am experiencing all
the problems. All that i want to do is enter a product code and its brings
up the description and the date.
SELECT mdasheets.F1, mdasheets.F2, mdasheets.F3
FROM mdasheets
WHERE (((mdasheets.F1) Like "*" & [ Product Code] & "*"));
It seems to work fine for the first time and then i have a numeric field
overflow. The information that i would like to bring up then serves no
further purpose as we just need to know a date for this product code and then
we close the query.
I have no idea how to get around this, can anyone help please?
Thanks in advance
Carol