Is it possible to use code to change the printer property when printing a query? I see lots of info about how to change it for a report, but not when printing a query.
I have a form where the user selects from available fields to dynamically generates a query, and I send the results to another form's list box. The user NOW wants to print the results, so my plan was to have a button call the query and just print it using the "PrintOut" method. However, since the number of fields can vary, I don't think I can dynamically create a new report for the query and use the methods I see in this forum to print it in landscape orientation.
... does anyone else have any ideas?
I have a form where the user selects from available fields to dynamically generates a query, and I send the results to another form's list box. The user NOW wants to print the results, so my plan was to have a button call the query and just print it using the "PrintOut" method. However, since the number of fields can vary, I don't think I can dynamically create a new report for the query and use the methods I see in this forum to print it in landscape orientation.
... does anyone else have any ideas?