Quantcast
Channel: Classic ASP
Viewing all articles
Browse latest Browse all 488

Adding a SumTotal (for all records) within query in Access 2000

$
0
0

Hi.
In an access2000 database, I have a table (Table1) that contains the following currency fields:

Cat1Cost
Cat2Cost
Cat3Cost

I created a query, which includes the same table fields above.

To tabulate the total of these fields within the query, I have created a query expression to calculate the total of these fields within the same record as follows:

CatCostTotal: [cat1cost]+[cat2cost]+[cat3cost]

As CatCostTotal is a calculation expression within the same query (not a field inserted from Table1), is there a "sum" expression I can add within the same query to give me a total of CatCostTotal for all records?

Thanks,
Ron



Ron


Viewing all articles
Browse latest Browse all 488

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>