S
Steven
I have a table with 2,500,000 records. It has fields
Company, Account, CostCenter, Period, Amount.
The user may ask for example a report on: Company "001"
AND Account Between "000000" AND "200000" AND CostCenter
Between "0000" AND "9999" AND Period Between "2002_07"
AND "2002_12"
Therefore I have to get the beginning balances on each
account and cost center so I have to get totals on:
Company = "001"
Group on Account between ...... and .....
Group on CostCenter between ..... and ....
Period < .... Less Than because I want beginning balances.
Sum Amount
I am using a basic Totals query to get the beginning
balances and depending on the number of records it has to
total it can take a little too long. Is there a better
way to get the beginning balances or maybe an entirely
different method.
Thank you for your help.
Steven.
Company, Account, CostCenter, Period, Amount.
The user may ask for example a report on: Company "001"
AND Account Between "000000" AND "200000" AND CostCenter
Between "0000" AND "9999" AND Period Between "2002_07"
AND "2002_12"
Therefore I have to get the beginning balances on each
account and cost center so I have to get totals on:
Company = "001"
Group on Account between ...... and .....
Group on CostCenter between ..... and ....
Period < .... Less Than because I want beginning balances.
Sum Amount
I am using a basic Totals query to get the beginning
balances and depending on the number of records it has to
total it can take a little too long. Is there a better
way to get the beginning balances or maybe an entirely
different method.
Thank you for your help.
Steven.