Functions to = a total field

  • Thread starter Thread starter Leatherplus
  • Start date Start date
L

Leatherplus

I am having trouble getting a total field, This is how I am setting it up
AmountRecieved - AmountSpent = TotalSpent, what am I doing wrong, or rather
what do I need to do and what view do I do it in?
 
I am having trouble getting a total field, This is how I am setting it up
AmountRecieved - AmountSpent = TotalSpent, what am I doing wrong, or rather
what do I need to do and what view do I do it in?

What's the context?

In a Query you would put

TotalSpent: [AmountReceived] - [AmountSpent]

or if either field might be NULL, use the NZ function to convert null to zero:

TotalSpent: NZ([AmountReceived]) -NZ([AmountSpent])

On a Form or Report you can put

=NZ([AmountReceived]) -NZ([AmountSpent])

in the Control Source property of a textbox.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Total Adblocker 4
work with calculations 9
totals field 1
Need Aggregate Query Help!!! 5
Sum a field? 1
Calculated fields 4
Create formula for "Total Hours" field 1
Aggregate Function Error 0

Back
Top