G
Guest
Good morning,
I have a query that is giving me a data type mismatch error. I do not have join relationships. However, I do have a query criteria that should ensure I get the right values and not just the union set of the 2 'tables' I'm using. The SQL statement will be followed with parameters for the table fields.
SELECT qryForkTravel.Fro, qryForkTravel.Too, qryForkTravel.TotalDist1, tblForkTravel.TMU, qryForkTravel.Generate
FROM qryForkTravel, tblForkTravel
WHERE (((qryForkTravel.TotalDist1)<=[highdist] And (qryForkTravel.TotalDist1)>=[lowdist]));
TEXT: Fro, Too
Number: TotalDist1 (calculated), TMU, highdist, lowdist
Autonumber: Generate
I cannot, for the life of me, figure out where my mismatch is taking place. For reference, the query is to take into account a warehouse starting location and ending location, including all the slots and floor/receiving spaces in the warehouse. Then, based on the racking heights and aisle lengths, I have 'built' a 3D coordinate system that takes the delta for X, Y, and Z for each location from or to which my simulated forklift operator travels. Using these, I can figure out with a function how much time is spent travelling on the floor (X and Y) or raising or lowering the forks (Z) per pallet move.
Any and all help would be greatly appreciated.
Thank you in advance!
Derek
I have a query that is giving me a data type mismatch error. I do not have join relationships. However, I do have a query criteria that should ensure I get the right values and not just the union set of the 2 'tables' I'm using. The SQL statement will be followed with parameters for the table fields.
SELECT qryForkTravel.Fro, qryForkTravel.Too, qryForkTravel.TotalDist1, tblForkTravel.TMU, qryForkTravel.Generate
FROM qryForkTravel, tblForkTravel
WHERE (((qryForkTravel.TotalDist1)<=[highdist] And (qryForkTravel.TotalDist1)>=[lowdist]));
TEXT: Fro, Too
Number: TotalDist1 (calculated), TMU, highdist, lowdist
Autonumber: Generate
I cannot, for the life of me, figure out where my mismatch is taking place. For reference, the query is to take into account a warehouse starting location and ending location, including all the slots and floor/receiving spaces in the warehouse. Then, based on the racking heights and aisle lengths, I have 'built' a 3D coordinate system that takes the delta for X, Y, and Z for each location from or to which my simulated forklift operator travels. Using these, I can figure out with a function how much time is spent travelling on the floor (X and Y) or raising or lowering the forks (Z) per pallet move.
Any and all help would be greatly appreciated.
Thank you in advance!
Derek