|
||||||||||||||||
|
|
Print to Palm Email
Adding Email Reporting to a Form You will need to design the report output using the REPORT: scripting statement. This topic is covered in detail in the Pendragon Forms Reference Guide, Chapter 16: Printing from the Handheld.
Specifying the Recipient You can send your report to an email address using the the PRINTREPORT VIA scripting statement. The PRINTREPORT VIA email function works just like the PRINTREPORT VIA IR function, except that the report is sent to VersaMail. Typically, the PRINTREPORT VIA email script would be used in a Button field. The recipient's email address can be stored in a field on your form. You can also place the email recipient's address in the script if you will always send the report to the same person. The PRINTREPORT VIA email script can reference a field number, a field name or the actual email address. The format of the PRINTREPORT statement for email is: PRINTREPORT via fieldnumber where fieldnumber is the number of a field containing an email address. For example: CLICK: PRINTREPORT VIA $5 -or- PRINTREPORT via field label where the field containing an e-mail address is referenced via a field label. For example: CLICK: PRINTREPORT VIA $[email]
In this example, [email] refers to a field that holds the recipient's email address. -or- PRINTREPORT via "email address" For example: CLICK: PRINTREPORT VIA "JSMITH@MYCOMPANY.COM"
Note: The PRINTNEWPAGE statement cannot be used with reports sent via email; these reports are limited to one page.
Setting the Subject, CC and BCC fields Optionally, you can also use the RESULT variable to specify the Subject line or additional recipients. If the RESULT variable begins with “subject:”, then the RESULT variable will set the subject line and, optionally, the CC and BCC fields. The format for combined RESULT is: subject:subjectline;cc:cc_address;bcc:bcc_address For example: CLICK: RESULT = "subject:Report;" RESULT = RESULT & "cc:office@mycompany.com;" RESULT = RESULT & "bcc:fred@mycompany.com" PRINTREPORT VIA $[email]
Requirements: Pendragon Forms 5.0 - This feature requires the latest version of Pendragon Forms 5.0 with Forms5.PRC version 5.0.15: Need help checking the version of Pendragon Forms software on your device? http://www.pendragonsoftware.net/support/OSversioncheck.html Using an earlier version? Upgrade to Pendragon Forms 5.0 Already using Forms 5.0? Download the latest version
Palm VersaMail software
A Palm PoweredTM device
© 2004-2005 Pendragon Software Corporation. All rights reserved. Copyright and trademark information. |
|||||||||||||||