I am printing reports for a couple of records. My code for print settings (see below) accepts as a parameter a looping counter, so the user is not presented with print dialogs for every record/report when printing 2 or more reports/records.
If the loop counter is 1 or less, the user is presented with the print dialogs, and the user selection of destination is saved (in this instance : PDF in Preview) this corresponds to : Set Print Options(9;5) // Destination options, Screen) On the second pass through, the above lien of code IS executed i.e. Set Print Options(9;5) however the second report goes straight to the printer. Ideas? Thanks Chip --------------- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************