I have a report that I want to print ,sorted on different fields, according to the choice made by the user. There is no difference in the records returned just the field. I am sorting on. I am using this code
DoCmd.OpenReport “Rpt: os mailing”, acViewPreview, “Qry: mailed sale date”
I have a different query for each different sort order. It is not working. The sort order does not change.
Is there another way I should be doing it or is there something I am missing here.
thanks
Cathy