Malachi
4Penny.net
Points: 7600

6/12/2020 10:18:36 AM

Change a report destination based on the SOP Type

* This article, and all our great VBA documentation, Is available on the VBA/Modifier menu

Yesterday we had a forum post requesting almost the same thing, and I used the same logic to accomplish this task. 

When you print a SOP document, normally you get 'Standard' In the Report Destination dialog. If you have templates turned on, it defaults to template. 

The requirement is to change that so that it defaults to 'Template' only for Quote documents and defaults to 'Standard' for all other documents. The solution is below.

4Penny.net
Version: Unknown or N/A
Section: VBA
Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3