[Run-Time Paramters] and Crosstab Queries

  • Thread starter Michael Reinhardt
  • Start date
M

Michael Reinhardt

I have a crosstab query that I want to use a run-time parameter (i.e. [Please
enter date]) in one of the fields that happens to be a Row Heading. When I
run the query, I get an error stating that the database does not recognize
'[Please enter date]' as a valid field name or expression. Is it possible to
use run-time parameters in a crosstab query, or can they only be used in
select queries?

Thanks very much.
 
D

Duane Hookom

You must enter the parameter data types for crosstabs: Query->Parameters:
[Please enter date] Date/Time

You should consider using a control on a form rather than a parameter
prompt.
 
M

Michael Reinhardt

Thank you Duane. That was very helpful.

Duane Hookom said:
You must enter the parameter data types for crosstabs: Query->Parameters:
[Please enter date] Date/Time

You should consider using a control on a form rather than a parameter
prompt.

--
Duane Hookom
MS Access MVP


Michael Reinhardt said:
I have a crosstab query that I want to use a run-time parameter (i.e.
[Please
enter date]) in one of the fields that happens to be a Row Heading. When
I
run the query, I get an error stating that the database does not recognize
'[Please enter date]' as a valid field name or expression. Is it possible
to
use run-time parameters in a crosstab query, or can they only be used in
select queries?

Thanks very much.
 

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