Link to home
Start Free TrialLog in
Avatar of curious77
curious77

asked on

Query Repeating Values?

Is there a way to have a Query only show the first time the value appears. For instance when I'm doing a query on an Invoice I don't want the Header repeating for each Line. I know that I can do this in a report (at least I think so) but I want to create an excel sheet so I use the office link from the query to do this.
Avatar of MNelson831
MNelson831
Flag of United States of America image

Use the query in the Excel spreadsheet as the data source for a pivot table
Avatar of fabriciofonseca
Try


Select Field1, Field2, Fieldn from TableName group by Field1, Field2, Fieldn


Field1, Field2, Fieldn (are your field names)
TableName is your table name


Regards,

Avatar of curious77
curious77

ASKER

fabriciofonseca:

Are you suggesting a Totals query?

I have tried this and it simply does not work.
MNelson831

I don't know much about Excel. So I don't know what a Pivot table is.
ASKER CERTIFIED SOLUTION
Avatar of GRayL
GRayL
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks, sorry I couldn't me more helpful.
me - be