Re: Report Sum If <=
- From: "Jeff Boyce" <nonsense@xxxxxxxxxxxx>
- Date: Fri, 16 Mar 2007 11:48:18 -0700
Chris
If I'm understanding what you are trying to do, do it in the query. First
create the new expression (your IIF statement). Then, in the
Selection/Criteria "cell", enter "Yes".
Paraphrased in English, create a calculated value of either "Yes" or "No",
based on the size of my [sum of hours] field, then only return rows where
this calculated value is "Yes".
Regards
Jeff Boyce
Microsoft Office/Access MVP
"ChrisG" <ChrisG@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:00A20660-8688-4670-8629-5B884B84ECED@xxxxxxxxxxxxxxxx
I want to make a report from a query that extracts coded events L, LX etc
and
the hours associated with these codes. I need help with the correct
syntax
for this expression.
sum([sum of hours])
IIf ([sum of hours] <= 24, "Yes", "No")
I would like to display only those entries who meet the criteria or flag
the
YES entries.
--
ChrisG
.
- Follow-Ups:
- Re: Report Sum If <=
- From: ChrisG
- Re: Report Sum If <=
- Prev by Date: Re: If Then Statements Not Working
- Next by Date: Re: Larger View of Report Design
- Previous by thread: If Then Statements Not Working
- Next by thread: Re: Report Sum If <=
- Index(es):
Relevant Pages
|
|