This is the first time I'm working in Access 2010, so maybe I'm missing something simple.
In my program I preview all reports and the user prints if needed. There is a form to choose report options and then a button to preview the report. On one particular report, if it is the first one previewed, the print button will be disabled on the print preview menu. If the user goes back to the main program menu and then comes back and previews again, the print button is enabled. If they preview any other report first, the print button will be enabled on all reports including the one in question. If the problem report is previewed first, the print button will be disabled on all reports until they go back in a second time and preview the problem report. Then all will be fine.
The only thing different about this one report is when the option form is loaded, the first thing it does is call a pop up modal form that does some data checks on the table that holds the data for this report. It loops thru the table and looks for incomplete data, etc. and then fills in a list box with the results. There is nothing special about the code. After the user closes this form, they can then enter their options and print.
Printing can be accomplished by right clicking and choosing print, or by Choosing File>Print from the menu.
Any ideas on what is causing this?
In my program I preview all reports and the user prints if needed. There is a form to choose report options and then a button to preview the report. On one particular report, if it is the first one previewed, the print button will be disabled on the print preview menu. If the user goes back to the main program menu and then comes back and previews again, the print button is enabled. If they preview any other report first, the print button will be enabled on all reports including the one in question. If the problem report is previewed first, the print button will be disabled on all reports until they go back in a second time and preview the problem report. Then all will be fine.
The only thing different about this one report is when the option form is loaded, the first thing it does is call a pop up modal form that does some data checks on the table that holds the data for this report. It loops thru the table and looks for incomplete data, etc. and then fills in a list box with the results. There is nothing special about the code. After the user closes this form, they can then enter their options and print.
Printing can be accomplished by right clicking and choosing print, or by Choosing File>Print from the menu.
Any ideas on what is causing this?