FileName property

EmailReportButton.FileName — Text

Represents the name of the file that emailed attachments are saved as when an email is sent through an email report button. If no period appears in the returned file name, a file extension (such as ".pdf") is added.

Example

"Client " & LOWER(ClientId)"Client " & LOWER(ClientId)

Ensures that files that are attached to an email sent through an email report button are saved under a name such as "Client 23a.csv" (depending on the value of the text field ClientId, which is made lower-case by the LOWER function).