cheerfulskeptic
Programmer
Hi,
I wrote a simple report for a client to show sales per month for a specified year.
the report simply sums up each month and puts running totals for each month side by side.
Now, the complicated thing is that their manufacturing calendar is differnet, and we need to go by that, so for example,
Sales for Jan should be counted Jan 1 - 26
Feb: Jan 27 - Feb 28
Mar: Mar 1 - Mar 31
etc etc
(ie, nonstandard date ranges may apply).
what should I do ? should i create a database table with these date ranges stored, as in year, fld_janstart, fld_janend, fld_febstart, fld_febend, etc. ?
if so then how would i link this table to the other tables?
right now the fields I have in the report
tblAccounts.AccountID
Invoices.accountID
Invoices.invoicequantity (this is being summed).
invoices.invoicedate
Help!
I wrote a simple report for a client to show sales per month for a specified year.
the report simply sums up each month and puts running totals for each month side by side.
Now, the complicated thing is that their manufacturing calendar is differnet, and we need to go by that, so for example,
Sales for Jan should be counted Jan 1 - 26
Feb: Jan 27 - Feb 28
Mar: Mar 1 - Mar 31
etc etc
(ie, nonstandard date ranges may apply).
what should I do ? should i create a database table with these date ranges stored, as in year, fld_janstart, fld_janend, fld_febstart, fld_febend, etc. ?
if so then how would i link this table to the other tables?
right now the fields I have in the report
tblAccounts.AccountID
Invoices.accountID
Invoices.invoicequantity (this is being summed).
invoices.invoicedate
Help!