report help plz

jguillen

Registered User.
Local time
Today, 10:38
Joined
Dec 2, 2007
Messages
21
I have a report based on a crosstab query with one user input parameter.
Sometimes the parameter input window pops up several times before it executes the report and sometimes it executes on the first input.
Any ideas?
 
Yes, instead of using a prompt in a query use a FORM for input. Then it will just read the value as many times as it needs. You should really not let your users work in tables or queries directly as you do not have the control for things as you do on forms.

I always use forms for input for these reasons as well:
1. You have more control over what the user does. You can use events to do things that opening queries by themselves do not do. So, even displaying a query is good to do in a form. And, if users like the way the query looks, you can use the datasheet view of the form to emulate it, yet still have control.

2. You can pass the information, not just once, but should the user want to re-run the same query for the same dates they won't have to re-enter the information.

3. If they accidentally type one mistake when entering it, they have to enter the entire thing over instead of just editing a value in text box.
 
Thank you. I don't know how that is done do you happend to have an example I could download to see how that is made?
 
Thaanks again, I will burn the midnight oil on this
 
Well to no avail, I created my form for the parameter input with a button to preview report, but the query gives me a error it does not recognize the field as a valid field name or expression. It works fine in a regular query, but not in a crosstab query, any ideas how I can fix this?
 
Crosstab queries require that their parameters be explicitly declared. With the query in design view, go to Query/Parameters.
 

Users who are viewing this thread

Back
Top Bottom