Hello,
I have a modified report (SOP Blank Options Invoice Form) in Report Writer that prints as the modified version when 'standard' is selected in the 'Printing Destination' window, and I have converted it into a word template that also prints when 'template' is selected in the same window.
The issue I am having is that I have added the report to VBA from within Report Writer and added several fields from Report Writer to VBA in the same manner, however, my VBA code does not run when the report is generated. This is the first time I have ever experienced this issue and I had set debugging markers at the first function call (the code cannot end prior to this point), however it does not run at all. All security should be set correctly, or else I would not see the modified report print at all. I have tried removing the VBA and the modified report completely, then re-importing the report separately and adding to/and VBA afterwards to ensure it wasn't just buggy the first time around.
This report is printed from the 'Sales Transaction Entry' window when 'Include Tax Details' is selected, and I was able to verify that my code for the plain SOP Blank Invoice Form will run when printed.
Any idea? This is driving me nuts and I would greatly appreciate any help that could be provided.
Thank you!