Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access 2003 Pivot Table: Use sum in sub forum

Status
Not open for further replies.

Blakeseven

Technical User
Nov 17, 2002
21
US
Hi all,
I have 2 pivot Table sub forms in a main form. What I need to do is cresate a sum from both totals. This of course needs to chande based on any filter applied.

Can this be done ?

Thanks
 
This form was biult with the pivot table wizard, so I am not sure.
 
in the form design view you should be able to look at the properties of the sub form. One of the properties will be source....that should contain the SQL for the source of the sub form...
 
select pipeline * this is the table the data is coming from
 
ok
Code:
SELECT Pipeline *
is not a valid SQL statement....if pipeline is the table it should be something like:
Code:
SELECT * FROM Pipeline
(you need a FROM clause)

now that query will return every record with every field from that table....

a pivot query usually has a PIVOT clause as well...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top