Calculate total thru date value

eugz

Registered User.
Local time
Today, 11:34
Joined
Aug 31, 2004
Messages
128
Hi All.
I try to generate a report which calculate subtotal for patient AMOUNT for current year and total for whole period from first visit to current date. The result of subtotal =Sum(IIf(Year(Date()=[VisitYr]),[Amount])) is the same like total. What is a correct way?
Thanks.
 
If I will use DSUM it gives me total for the whole table. Do you have other decision?
Thanks for replay.
 
You can use criteria in a DSUM to filter for specific records.
 

Users who are viewing this thread

Back
Top Bottom