Query/Report help

G

Guest

I am creating a report with multiple subreports for a roofing material
database. Each subreport is a category for different products for the reason
that all products have different formulas to figure $sqft. For example there
is an adhesive subform and a membrane subform. Each product is designated to
a particular roof A or B.

Subform#1
Roof Des Category $Sqft
A Adhesive .22
B Adhesive .15


Subform #2
Roof Des Category $Sqft
A membrane .44
B Membrane .32



Total= sum of all $sqft

The problem is i need it to look like this:

Subform#1
Roof Des Category $Sqft
A Adhesive .22
A Membrane .44

Total= A $Sqft


Subform #2
Roof Des Category $Sqft
B Membrane .32
B Adhesive .15

Total= B $Sqft

Ideas??
Thanks
 
G

Guest

Matt:

A simple way would be to dump your calculated subform/report data into a
temporary table. Something like this:

tblTemp
RoofType
Category
SqFtCost

Then create your subreports from the table data, which will allow you to
group by RoofType.

HTH

Sharkbyte
 
G

Guest

thanks

Sharkbyte said:
Matt:

A simple way would be to dump your calculated subform/report data into a
temporary table. Something like this:

tblTemp
RoofType
Category
SqFtCost

Then create your subreports from the table data, which will allow you to
group by RoofType.

HTH

Sharkbyte
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top