M
mccloud
Our ERP system stores sales history in 24 rolling periods. I have a form
that prompts the user for number of periods to review and an item. I'm
trying to build a query that looks up current period (23) Nov 2009, and
figure out which periods to review. As an example user may enter 6 for the
number of periods. So I would need to get data from periods 22 thru 17.
Because its a rolling period model and periods vary based on user input I'm
not sure how to handle. I thought about build a table that references which
periods to review but thought there might be an user way.
Thanks in advance for your replies. Also I'm sorry if this is a repeat from
an earlier post but I got an error.
that prompts the user for number of periods to review and an item. I'm
trying to build a query that looks up current period (23) Nov 2009, and
figure out which periods to review. As an example user may enter 6 for the
number of periods. So I would need to get data from periods 22 thru 17.
Because its a rolling period model and periods vary based on user input I'm
not sure how to handle. I thought about build a table that references which
periods to review but thought there might be an user way.
Thanks in advance for your replies. Also I'm sorry if this is a repeat from
an earlier post but I got an error.