PowerBuilder Report as an E-mail Message
PowerBuilder Report as an E-mail Message
To Attach PowerBuilder Report as an E-mail Message:
- Select Library menu
- Select Create [library icon with the yellow flash in the far left end of the blue bar] to create a library table to hold temporarily the attachment to be created (if one does not already exist).
- At "Filename" enter a name for a temporary file (e.g. Questor E-Mail).
- Click on Save.
- At Properties box, select OK (do not add any comments or any other information); the new library should appear in the library list under existing "Reports" library
- Right Click on new library to check that information is correct.
- Return to library where existing report resides (e.g. reports_shared.pbl) and right click on the report to be copied for attachment to the email.
- Click Copy.
- At "Select Library" box, enter the filename of the new library (e.g. Questor E-Mail)
- Click Open.
- Return to new library under "Reports" library and double click to open it. The copied report should be attached, should be listed, and can now be attached to an e-mail.
- Once the report has been sent, the temporary copy can be deleted from the new library (be sure not to delete it from its home library.
The e-mail recipient should save the attachment as Report_filename.pbl (eg. Report_Transfer) to the local hard drive where their other pbls are stored (probably C:\ProgramFiles\Questor\Argus\).
To retrieve the report in Argus, the recipient must have PowerBuilder installed. The recipient will then:
- Open Argus
- Click on the File Menu
- Select Options
- Select Reports
- In the Browse window, on Private Reports to select the new report.
- To run the report, Click on the Wizards menu, Generate a report, and proceed as directed by the dialog boxes.
|