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

CrossTab/Form Query Problem.

Status
Not open for further replies.

dbero

Technical User
Mar 31, 2005
109
US
I am attempting to create a crosstab query for a chart. In one of the subqueries, I limit the values by pulling in a value from a combobox setting the criteria to '[Forms]![Form1]![Combo5].[Value].

However, by doing so I get the error message "the Jet Database engine does not recognize 'Forms!Form1!Combo5.value' as a valid field name or expression". The base query works fine with this logic, but the crosstab only works if I remove this criteria.

I have tried adding the parameter values to the subqueries, to no avail. Anybody have any suggestions on how to get the cross tab to work?

Thank you Very Much!

 
I added the parameters using
PARAMETERS REGIONAL Text ( 255 ); i added this to the SQL in both subqueries. This field is not used at all by the crosstab and i couldn't add it there.

Is this what you are referring to?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top