K
Kevin C Niven
I'd like to control how a report is grouped with a checkbox.
For example, suppose I have a report that is a list of person names.
If, on a form, I have a checkbox "sort by first" checked, the report
sorts by first name. If I have uncheck the checkbox it sorts by last
name.
I know I can do this in a query, but I would specifically like to do
it in the report, not the query.*
Also, is there a way to change a report's query Record Source with a
control on a form?
Thanks,
Kevin
*because I am having trouble getting the sorts in my query to be
preserved in my reports. I don't know why this is...I was on the line
with PCHelps a week or two ago about this and they simply recommended
I sort in the report. Now that I've done that, I'd like to know how
to conditionally sort the report!
For example, suppose I have a report that is a list of person names.
If, on a form, I have a checkbox "sort by first" checked, the report
sorts by first name. If I have uncheck the checkbox it sorts by last
name.
I know I can do this in a query, but I would specifically like to do
it in the report, not the query.*
Also, is there a way to change a report's query Record Source with a
control on a form?
Thanks,
Kevin
*because I am having trouble getting the sorts in my query to be
preserved in my reports. I don't know why this is...I was on the line
with PCHelps a week or two ago about this and they simply recommended
I sort in the report. Now that I've done that, I'd like to know how
to conditionally sort the report!