open report with form sorting

1

1aae

I have form and report
i have button in a form to open report
is there any way to open the report with sort order of the form?
with out using order by or order by on methods..
thank you
 
D

Dirk Goldgar

1aae said:
I have form and report
i have button in a form to open report
is there any way to open the report with sort order of the form?
with out using order by or order by on methods..
thank you

Not that I can think of. I could conceive of using code in the report's
Open event to pick up the Order By property of the form and use it to
set the report's OrderBy property -- but you say you don't want to do
that. Note also that any Sorting and Grouping that is specified in the
report design will override the report's OrderBy property.
 

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