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 MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using crosstab query as a record source for a subreport? 1

Status
Not open for further replies.

sjh

Programmer
Oct 29, 2001
263
US
Hi,
When I tried to add a subreport which uses a crosstab query as a record source to another report, I got this error message:

You can't use a pass-through query or a non-fixed-column crosstab query as a record source for a subform or subreport.

Before you bind the subform or subreport to a crosstab query, set the query's ColumnHeadings property.

Is there a way to fix this situation? Please advise!

Thank you,
SJH
 
Sure, you can fix it by setting the Column Headings property of the crosstab query.

Duane
MS Access MVP
Find out how to get great answers faq219-2884.
 
Thank you!

The ColumnHeadings property is a good thing to know.

SJH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top