User input for Crosstab Query

D

dannyjoered

Is there anyway to have the user input criteria for a
crosstab query? When I try I get an error that says "The
Microsoft Jet database engine does not recognize '[Enter
Date:] as a valid field name or expression.

Any workarounds would be appreciated!
 
J

John Spencer (MVP)

First thing, with a crosstab query you MUST declare your parameters and if any
other queries are used in the crosstab their parameters must also be declared.

Open the query in design mode
Select Query: Parameters from the Menu
Fill in the EXACT name of the parameter in column 1
Select the data type of the parameter in column 2
 
D

Dan

Thank You! That worked perfectly!
-----Original Message-----
First thing, with a crosstab query you MUST declare your parameters and if any
other queries are used in the crosstab their parameters must also be declared.

Open the query in design mode
Select Query: Parameters from the Menu
Fill in the EXACT name of the parameter in column 1
Select the data type of the parameter in column 2

Is there anyway to have the user input criteria for a
crosstab query? When I try I get an error that says "The
Microsoft Jet database engine does not recognize '[Enter
Date:] as a valid field name or expression.

Any workarounds would be appreciated!
.
 
T

Terry

Thanks John,
Just what I needed also.
Regards
Terry

John Spencer (MVP) said:
First thing, with a crosstab query you MUST declare your parameters and if any
other queries are used in the crosstab their parameters must also be declared.

Open the query in design mode
Select Query: Parameters from the Menu
Fill in the EXACT name of the parameter in column 1
Select the data type of the parameter in column 2

Is there anyway to have the user input criteria for a
crosstab query? When I try I get an error that says "The
Microsoft Jet database engine does not recognize '[Enter
Date:] as a valid field name or expression.

Any workarounds would be appreciated!
 

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