RE: Sum Less Than
- From: Duane Hookom <duanehookom@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 17 Jan 2007 20:42:00 -0800
Create a query(s) that calculates your previous quarter ending balance(s).
Use these as the record source for a subreport.
There are probably many ways to do this. Every suggestion I have made in
previous threads seem to have been ignored or abandoned by you. I'm not sure
why you insist on going off on tangents that lead nowhere.
--
Duane Hookom
Microsoft Access MVP
"chickalina" wrote:
.
"Duane Hookom" wrote:
I'm am wondering why you think your expression would work. Did you check help
on DSum() or look at any examples of its usage?
When you ask a question like this, you should tell us something about where
you are using this, what is [CurrTot], and what is "q-yy".
I copied that expression from someone else...
I am using this in a report...
There are two fields that I want to have previous quarter ending balances for
TotTax and TotInt
"q-yy" is the format for the user to just enter the quarter and year 4-06,
for the report to make it as simple as possible.
I followed your instruction about DSum and not using Sum.
Also, you are not providing any information on how this posting relates to
your first posting in this thread.
Also, does this have anything to do with the thread you began earlier
"Report question for Duane" that you didn't reply to my last posting?
It's the same thing, I'm trying a different approach now. My Database is
due tomorrow and I thought this was an easier solution.
Is there any way to get the previous quarter ending balance?
--
Duane Hookom
Microsoft Access MVP
"chickalina" wrote:
How come this doesn't work?
=DSum([CurrTot]-1,"q-yy")
I'm getting an error message....
"chickalina" wrote:
Does anyone know the formula (either in the query or the report) that would
sum all the fields less than the date chosen?
I have a report where the user selects a quarter to view... All the fields
with activity in that quarter appear on the report, the totals show, it's
great. I am now trying to get a sum for all the transaction prior to that
quarter... for instance.... If the user chooses to view 4-06, then I need a
total for everything up to and including 3-06 OR ( I know this is not correct)
=Sum (<[date]) which literally means sum up all transactions prior to [date]
I hope this makes sense.
Thanks.
- Follow-Ups:
- RE: Sum Less Than
- From: chickalina
- RE: Sum Less Than
- From: chickalina
- RE: Sum Less Than
- Prev by Date: Re: Concatenate error - Duane Hookom's concat function
- Next by Date: RE: Sum Less Than
- Previous by thread: Re: Concatenate error - Duane Hookom's concat function
- Next by thread: RE: Sum Less Than
- Index(es):
Relevant Pages
|
Loading