K
Kat5813
I have created a form in order to select distinct parameters to run a report
off of. The report is based on a query that uses the result of the form
selections. For example: in the last name field in the query, I have
[Forms]![Reporting Form]![lname] or [Forms]![Reporting Form]![lname] is null.
It is set up for all of the selections in the form. Problem is though that
everytime I run the report, the query changes and takes the is null out and
adds another column to place the is null in. It does this for every field.
Needless to say, after running the report numerous times, the query cannot
now be opened in designed view because it is taking up too much memory.
So......help! There are fourteen fields in the main table of this database.
The user I am building it for wants to be able to run a report on any of
these fields. So, I thought the easiest way would be to build a form with
all fourteen fields and allow the user to select parameters on any or all of
them (hence the is null in the query). I then wanted to take this form and
query and use them for several reports that have the data grouped and
subtotaled in different ways. I thought this approach might be easier than
doing a seperate form for each parameter especially since the user wants to
be able to select parameters on multiple fields.
Is there any way to accomplish this?
Thanks for any help!!!
off of. The report is based on a query that uses the result of the form
selections. For example: in the last name field in the query, I have
[Forms]![Reporting Form]![lname] or [Forms]![Reporting Form]![lname] is null.
It is set up for all of the selections in the form. Problem is though that
everytime I run the report, the query changes and takes the is null out and
adds another column to place the is null in. It does this for every field.
Needless to say, after running the report numerous times, the query cannot
now be opened in designed view because it is taking up too much memory.
So......help! There are fourteen fields in the main table of this database.
The user I am building it for wants to be able to run a report on any of
these fields. So, I thought the easiest way would be to build a form with
all fourteen fields and allow the user to select parameters on any or all of
them (hence the is null in the query). I then wanted to take this form and
query and use them for several reports that have the data grouped and
subtotaled in different ways. I thought this approach might be easier than
doing a seperate form for each parameter especially since the user wants to
be able to select parameters on multiple fields.
Is there any way to accomplish this?
Thanks for any help!!!