criteria in cross-tab query

G

Guest

i have a user form where they select date parameters for queries
the criteria: >=[forms]![REPORT]![txtFromDate] And <=[forms]![REPORT]![txtToDate] works fine for all query types EXCEPT cross-tab... can any one help me get the cross-tab query to work?
 
D

Duane Hookom

I quick search through google groups might have found the solution. You must
set the data types of the query parameters. From the menu select
Query|Parameters and enter:
[forms]![REPORT]![txtFromDate] Datetime
[forms]![REPORT]![txtToDate] Datetime
--
Duane Hookom
MS Access MVP


Loon said:
i have a user form where they select date parameters for queries.
the criteria: >=[forms]![REPORT]![txtFromDate] And
<=[forms]![REPORT]![txtToDate] works fine for all query types EXCEPT
cross-tab... can any one help me get the cross-tab query to work?
 

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