View Full Version : Print Reports from WAS


David Brown
09-28-2004, 09:26 AM
Is there a way to print the reports that you have in version A5v6 using a WAS page.

For example; clicking a link on the page that will generate a report and allow the user, no matter were they are, to print it.

Thank you in advance

David Brown
09-28-2004, 10:24 AM
I searched through the message board and found the answer for this one.

Thank you

09-28-2004, 10:42 AM
David -

You can do this (easily) by generating PDF's of your existing reports. Alpha does this directly. All you need to do is call an a5w page from the WAS that has the necessary xbasic code.

This is addressed in the Web_Applications_Demo, under the a5w page printinvoice. Open the page and double click on the "%A5 ...%"

I found the best way to generate the code is to create a web component - "dialog builder" than add a drop down box or whatever, select properties, and go to AfterValidate, in there, click on insert, and look at print genie. THat should get you 90% there