forms!form1!text1
The parameter is in this case a reference to a control on a form.
Open the query in design mode
Select Query: Parameters from the Menu
Fill in the EXACT name of the parameter in column 1
[Forms]![Form1]![Text1]
Select the data type of the parameter in column 2
You might still have a problem as the query grid sometimes insists on
helping and inserts as extra set of [].
Open the query in SQL view and check the first line of the SQL statement.
It should read
Parameters [Forms]![Form1]![Text1] ...;
<<< The Crosstab SQL statement>>>
Floyd Forbes said:
How do I use a Form text box reference this query.
eg forms!form1!text1
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
I have a Crosstab query base on two queries. How do you run a
Parameters in a crosstab query?
The error shows "The micosoft jet database engine does not recongize
[Please enter date] as a valid fileld name or expression".
Can anyone help with this problem?
Floyd