C
C Parkins
I have a macro with 3 queries I use to adjust my inventory. I have a problem
I just discovered with the first query. The first query looks at an excel
file from my barcode scanner and subtracts one from the qty. for each ID
number in the file. The problem is that the barcode file has several
instances of the same ID and I need to subtract one for each instance. I
assumed access processed the file sequentially and would subtract for each
occurence, apparently it only sees on ID number no matter how many are
actually there. I am using an update query and for the criteria I am using
QTY <=1; update QTY-1.
So I have file with numbers as follows for an example: 60280, 77585, 60280,
78881, 79564, 60280. So, when I run the query the field for qty of 60280
counts down by 1 instead of 3 Like I would desire.
Does anyone have a suggestion?
Thanks,
I just discovered with the first query. The first query looks at an excel
file from my barcode scanner and subtracts one from the qty. for each ID
number in the file. The problem is that the barcode file has several
instances of the same ID and I need to subtract one for each instance. I
assumed access processed the file sequentially and would subtract for each
occurence, apparently it only sees on ID number no matter how many are
actually there. I am using an update query and for the criteria I am using
QTY <=1; update QTY-1.
So I have file with numbers as follows for an example: 60280, 77585, 60280,
78881, 79564, 60280. So, when I run the query the field for qty of 60280
counts down by 1 instead of 3 Like I would desire.
Does anyone have a suggestion?
Thanks,