I am printing a report form a button on a form using:-
DoCmd.OpenReport stDocName, acNormal
However I cannot get the sort order right. i have tried setting the sort order in the reports properties and also the underlying query but to no avail. How can I force the sort order from the print button? Any help appreciated.
DoCmd.OpenReport stDocName, acNormal
However I cannot get the sort order right. i have tried setting the sort order in the reports properties and also the underlying query but to no avail. How can I force the sort order from the print button? Any help appreciated.