query sort

  • Thread starter Thread starter jmonty
  • Start date Start date
J

jmonty

Need to assign sort based on (3) combobox user selections
on form.
The form is similar to the Data>Sort dialog that appears
in Excel, where you select the cboFirst (ascending or
descending),
then the cboSecond has the remaining fields listed...you
select from those (asc or desc) and then
from the cboThird (asc & desc). The comboboxes work fine,
but there are so many possible variations to account for,
and I don't want to create seperate queries or reports.
How do I pass the correct sort to the (already very
complex) Report_Query?
Note: this query is the recordsource for my Report1.
I've gone blind staring at it and need a fresh perspective.
Thanx in advance for your help.
 
The sort order of a query doesn't make any difference in a report. The only
way you can control the sort order in a report is to use the Sorting and
Grouping interface in the report designer (look under the View menu if
you're not familiar with it)
 
jmonty said:
Need to assign sort based on (3) combobox user selections
on form.
The form is similar to the Data>Sort dialog that appears
in Excel, where you select the cboFirst (ascending or
descending),
then the cboSecond has the remaining fields listed...you
select from those (asc or desc) and then
from the cboThird (asc & desc). The comboboxes work fine,
but there are so many possible variations to account for,
and I don't want to create seperate queries or reports.
How do I pass the correct sort to the (already very
complex) Report_Query?
Note: this query is the recordsource for my Report1.
I've gone blind staring at it and need a fresh perspective.
Thanx in advance for your help.
 

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

Similar Threads

sort 2
user interface, multiple sorting 3
Sort with Combo box 2
Manually sorting a GridView 1
Sorting UNION query 5
Help with report recordsource 2
Ordering a query from a form 4
Need help sorting a query 2

Back
Top