Query using Form to open

B

Bill

Hi,

I create a button to open the query using Form screen. After selecting
Active Group from the combo list, one of the query works but other query
doesn't work because of Crosstab.

Can you help me how to set this up?

Thanks
 
V

Van T. Dinh

Does the CrossQuery work by itself?

You need to describe the result /error message you get when you try to open
the CrossTab since "doesn't work" doesn't give any info. for potential
respondents to analyse.

Post relevant Table Structure, SQL String of your Query and the VBA code
also.
 
J

John Vinson

Hi,

I create a button to open the query using Form screen. After selecting
Active Group from the combo list, one of the query works but other query
doesn't work because of Crosstab.

Can you help me how to set this up?

If it's a Parameter query, you *must* specify the Paramters for a
crosstab query to work (it's optional for most other queries).

Open the query in design view; select View... Parameters; and add the
parameters (exactly as they occur on the Criteria line) in the left
column and their datatype in the right.

John W. Vinson[MVP]
 

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