Add a new attachment to the collection.
Function Add( MimeType As String, EmbedName As String) As Attachment
The mime type of the attachment.
See MimeType Property for a list of supported mime types.
The EmbedName will consist of the following elements:.
Enter an empty string if you want Crystal Enterprise to generate a random file name.
Type a file name if you want to specify a file nameyou can also add a variable to the file name. To add a variable, wrap the variable in percent symbols and add it to the file name. For example, if user A schedules the report titled "Inventory"%SI_TITLE%+ "_" +%SI_OWNER% + ".rpt", the file name Inventory_A.rpt is created.
Crystal Decisions, Inc. http://www.crystaldecisions.com Support services: http://support.crystaldecisions.com |