Generically speaking, I want to set SortBy and SortByOn in an Access 97 report from an option box on a form. How do I do that without first opening the report? Everything works except I get a message that the report name is either closed or nonexistant. I can't see how to change the properties without running the report! Also, when I set the properties manually and run the report, it seems to work on some fields but not others. The recordsource for the report is a table. Any ideas?
DB Engine
DB Engine