Parameter in a Cross-tab query

V

Vincdc

Hello:
In a cross-tab query, I would like to insert one or two parameters. However, the MS Jet Database engine does not recognize [Myparameter] as a valid field name or expression. Any suggestion?
Thanks in advance!
 
F

fredg

Hello:
In a cross-tab query, I would like to insert one or two parameters. However, the MS Jet Database engine does not recognize [Myparameter] as a valid field name or expression. Any suggestion?
Thanks in advance!

In a Crosstab query you must enter the parameter and it's datatype in
the Parameter dialog box.
Click Query + Parameters
 
V

Vincdc

Hi Fredg:
Could you please give me an example?
Now, I use Like [MyParameter] & "*" as the parameter. When I run the query, it will show an error message "MS Jet Database engine does not recognize Myparameter as a valid field name or expression".
Thanks!


fredg said:
Hello:
In a cross-tab query, I would like to insert one or two parameters. However, the MS Jet Database engine does not recognize [Myparameter] as a valid field name or expression. Any suggestion?
Thanks in advance!

In a Crosstab query you must enter the parameter and it's datatype in
the Parameter dialog box.
Click Query + Parameters
 
D

Duane Hookom

Fred was referring to the menu selections while in query design. Then enter
parameters of
[MyParameter] text

--
Duane Hookom
MS Access MVP


Vincdc said:
Hi Fredg:
Could you please give me an example?
Now, I use Like [MyParameter] & "*" as the parameter. When I run the
query, it will show an error message "MS Jet Database engine does not
recognize Myparameter as a valid field name or expression".
However, the MS Jet Database engine does not recognize [Myparameter] as a
valid field name or expression. Any suggestion?
 

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