General information
Category:
Reports & Report designer
The GETPRINTERS() function produces both a different dialog and different results when querying printers from a machine running Windows 95 or 98 as opposed to Windows NT 4.0. (see Microsoft Knowledge Base Article - Q220157). It was causing a problem in my application. So I switched to use REPORT FORM…. PROMPT command, which is working just fine for me unless I have to print a batch of reports. In this case I want to ask the user to select a printer only once before the first report is printed and use the same printer when any of the following reports are printed in the batch. So I have a code that will look like
If thisform.First
REPORT FORM (repname) TO PRINTER PROMPT NOCONSOLE
ELSE
REPORT FORM (repname) TO PRINTER NOCONSOLE
ENDIF
IF the user selects non-default printer on the first report, the second statement will reset the selection to the default printer. I would like to know if there is any way to know what printer was selected the first time around.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only