N
Nathan
I have read similiar threads on this subject but I just cannot get the syntax
to work out correctly - I have a lists of items (SKU) and how often they are
picked from the warehouse, along with a area of the warehouse where thay are
associated (F) - I am trying to get a running total of the PctofPicks field
based on the the warehouse area (F). I have no trouble doing this in a
report, but I needs the results to feed another query.
Here is the the select query statement which I have sorted in descending
order by the high volume items :
SELECT qrySumFullCubePicks.SKU, qrySumFullCubePicks.Description,
qrySumFullCubePicksbyArea.F, qrySumFullCubePicks.SumOfCubePicked,
qrySumFullCubePicks!SumOfCubePicked/qrySumFullCubePicksbyArea!SumOfCubePicked
AS PctofPicks
FROM qrySumFullCubePicks INNER JOIN qrySumFullCubePicksbyArea ON
qrySumFullCubePicks.F = qrySumFullCubePicksbyArea.F
ORDER BY qrySumFullCubePicksbyArea.F,
qrySumFullCubePicks!SumOfCubePicked/qrySumFullCubePicksbyArea!SumOfCubePicked
DESC;
Can someone help me out on the proper sytax to get a running total of the
PctofPicks field, or if it is possible to feed report results back into a
query (??) that would work as well, as I have accomplished this in a report.
Thank you
to work out correctly - I have a lists of items (SKU) and how often they are
picked from the warehouse, along with a area of the warehouse where thay are
associated (F) - I am trying to get a running total of the PctofPicks field
based on the the warehouse area (F). I have no trouble doing this in a
report, but I needs the results to feed another query.
Here is the the select query statement which I have sorted in descending
order by the high volume items :
SELECT qrySumFullCubePicks.SKU, qrySumFullCubePicks.Description,
qrySumFullCubePicksbyArea.F, qrySumFullCubePicks.SumOfCubePicked,
qrySumFullCubePicks!SumOfCubePicked/qrySumFullCubePicksbyArea!SumOfCubePicked
AS PctofPicks
FROM qrySumFullCubePicks INNER JOIN qrySumFullCubePicksbyArea ON
qrySumFullCubePicks.F = qrySumFullCubePicksbyArea.F
ORDER BY qrySumFullCubePicksbyArea.F,
qrySumFullCubePicks!SumOfCubePicked/qrySumFullCubePicksbyArea!SumOfCubePicked
DESC;
Can someone help me out on the proper sytax to get a running total of the
PctofPicks field, or if it is possible to feed report results back into a
query (??) that would work as well, as I have accomplished this in a report.
Thank you