G
Guest
Here's the deal -
I have a report (based on a query). I've created several fields in the
report, only to be populated based on a certain criterion. I am then
attempting to SUM those created fields. But the Jet engine refuses to
recognize then in the Footer areas of the report. What am I missing/doing
wrong? Below is a detail of the fields and conditions under which it/they get
filled. Note that the created fields work perfectly in the Detail section of
the report...
First field (based on two fields [1] and [qpos] that are in the query)
Name: Text80
IF statement: =IIf([qpos]=23,"3-5 yrs: " & [1],[1])
Second field (the one that doesn't get recognized in the Footer sections)
Name: Text89 (in the detail, but set to VISIBLE=NO)
IF statement: =IIf([qpos]=23,[1])
So Text89 gets a value if QPOS = 23
Third field (in the group footer)
Name: Sum of 2
IF statement: =(Sum([1])-sum([Text89]))
Last field (in the report footer)
Name: 1 Grand Total Sum
IF statement: =(Sum([1])-Sum([Text89]))
-----------------------------------------------------
So, what the heck am I doing wrong, and how can I fix it? Again, QPOS and
'1' are fields in the underlying query. The TEXTxx fields are local to the
report.
THANKS!!
I have a report (based on a query). I've created several fields in the
report, only to be populated based on a certain criterion. I am then
attempting to SUM those created fields. But the Jet engine refuses to
recognize then in the Footer areas of the report. What am I missing/doing
wrong? Below is a detail of the fields and conditions under which it/they get
filled. Note that the created fields work perfectly in the Detail section of
the report...
First field (based on two fields [1] and [qpos] that are in the query)
Name: Text80
IF statement: =IIf([qpos]=23,"3-5 yrs: " & [1],[1])
Second field (the one that doesn't get recognized in the Footer sections)
Name: Text89 (in the detail, but set to VISIBLE=NO)
IF statement: =IIf([qpos]=23,[1])
So Text89 gets a value if QPOS = 23
Third field (in the group footer)
Name: Sum of 2
IF statement: =(Sum([1])-sum([Text89]))
Last field (in the report footer)
Name: 1 Grand Total Sum
IF statement: =(Sum([1])-Sum([Text89]))
-----------------------------------------------------
So, what the heck am I doing wrong, and how can I fix it? Again, QPOS and
'1' are fields in the underlying query. The TEXTxx fields are local to the
report.
THANKS!!