Crosstab querie

  • Thread starter Thread starter Omar
  • Start date Start date
O

Omar

I have a crosstab querie whose criteria is set to:

Between [Forms]![Print_selection]![start_date] And [Forms]!
[Print_selection]![End_date]

This line of code is suppose to get inputs for a between
[start date] and [end date] command from a set of
controls on a print form. But I get an error, even after I
set the value of end_date and start_date on the parameter
menu as date\time.

The error reads:

Microsoft Jet Enginee.. Does not recognize [Forms]!
[Print_selection]![start_date]

Any suggestions, thanks..
 
Omar

Can you confirm that the form is opened and the values set? Can you modify
the query and substitute actual dates in the criterion and get it to work?

Good luck

Jeff Boyce
<Access MVP>
 
In addition to Jeff's comments, you must specify the data types of all
parameters in crosstab queries. Select Query|Parameters and enter
[Forms]![Print_selection]![start_date] Date/Time
[Forms]![Print_selection]![End_date] Date/Time
 

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

Back
Top