Hi Paul!
I have run into another delima with my DB and was hoping you could assist me, again.
I'm attaching the DB so you can walk through it and see what I am referring to.
Open "
Print Reports" Form. Select "
GMFinancial" Report. Select "
2011-2012" Year. Select "
Project Number" Sort. And then select "
Ascending" Sort Order. Click
Print Preview.
This report comes up perfectly (

). BUT, I need to split into 3 different groups. I've done this via SubReports, but it makes all the subreports show up in the Select Reports Combo Box on the Print Reports Form (
which will completely confuse users of the DB). I'm thinking there is a way to do this with the Sort/Group option in the detail section of the report, via expression.
I need the groups to print on one report as follows:
Group 1 - All records not in group 2 or 3.
Group 2 - All records which have "
yes" in the "RollFromPreviousYear" field AND have "
O" in the "Status" field.
Group 3 - All records which have "
yes" in the "NoCostExtension" field AND have "
O" in the "Status" field.
Each of the 3 groups would have a subtotal and then the report footer would have a Grand Total. (Keep in mind that when I say "all records" it would only be the records for the year selected on the Print Reports Form.
I've tried creating (and deleted) a query for each group and then used that SQL as the expression in the group option on the report, but I get a syntax error.
Is what I am wanting possible? If so, could you please help me in getting the coded correctly? If it works, I will be applying the code to one of the other reports also.
Thanks in advance for any assistance!!!
Jeannie