Can I use a [form]![field] as criteria in a crosstab?

G

Guest

I want to use a [form]![form1]![Fieldname] as criteria for a when clause in a
crosstab query. As soon as I make the select query a crosstab, it no longer
recognises the field in the form.
Any suggestions? (Other than creating different queries depending on the
form field)

cheers
Alex
 
R

Rick Brandt

Alex said:
I want to use a [form]![form1]![Fieldname] as criteria for a when clause in a
crosstab query. As soon as I make the select query a crosstab, it no longer
recognises the field in the form.
Any suggestions? (Other than creating different queries depending on the
form field)

Form references do work in crosstabs but you have to open the parameters list
and enter them in there with an explicit DataType. Also same for any queries
that feed into crosstabs.
 

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