I have an APP with several VB 6.0 reports, one of which is called 'rptMainInfo'. I currently have logic that allows the user to select whether they want to view the report on the screen or send it to the printer. Based on thier response the following code accomplishes that:
Set .DataSource = rsMainInfo
.DataMember = rsMainInfo.DataMember
If PrintEm = True Then
If the print option is selected, the report is sent directly to the default printer without giving the user any chance to direct it elsewhere. The user now wants the ability to decide which printer to send the hard copy output. Showing them the standard windows printer selection box would be ideal if possible. If not, are there other options? Any ideas on how to accomplish this within the program flow?
I also have some output being generated by the Printform command. Is there anyway to allow them to select where they want to direct that output?