RealTKEddy
Technical User
I have a report that is fed by a query. The SQL for the query is created/modified by the choices made on a form by the user. Some of these choices are for sorting. My problem is that I cannot find a way to instantiate the report in order to access the Order By & Order By On properties of the report so I can dynamically have the sorting changed.
Is there a way to do this?
I have tried accessing the Application.CurrentProject.AllReports collection to gain access to the specific report, but you only get access to an AccessObject which is really only a pointer to a few attributes of a report, not the report itself.
Thanks for any help anyone can provide.
Is there a way to do this?
I have tried accessing the Application.CurrentProject.AllReports collection to gain access to the specific report, but you only get access to an AccessObject which is really only a pointer to a few attributes of a report, not the report itself.
Thanks for any help anyone can provide.