execute email dialog
D7, RB 12.03
I have a unit that I use to create custom buttons for exporting report data.
I am trying to add a custom button for emailing reports but I can't figure
out how to execute the email screen. I simply want to use my custom button
to assign the values in the email settings and then show the email dialog
screen but can't find a method to show email form.
Thanks,
Bob
I have a unit that I use to create custom buttons for exporting report data.
I am trying to add a custom button for emailing reports but I can't figure
out how to execute the email screen. I simply want to use my custom button
to assign the values in the email settings and then show the email dialog
screen but can't find a method to show email form.
Thanks,
Bob
This discussion has been closed.
Comments
Setting the EmailSettings.ShowEmailDialog will show the built-in email
dialog when you make a call to Report.SendMail. If you would like to skip
the built-in email dialog and automatically open a MAPI enabled dialog
(Outlook) you can set the PreviewInEmailClient property to True. (MAPI or
Outlook plugins only).
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
there are two Options that are labeled File Name and Advanced. I would like
to go ahead and have them checked and displayed by default. What would be
the code to do that?
Thanks,
Bob
Currently the Email dialog is not exposed for manual altering at runtime.
In order to customize its initial settings you will need to create a custom
email dialog (basically a copy of the original dialog) with the
CreateEditBoxes and CreateAdvancedPanel altered to set certain features
visible on load.
We will consider exposing the email dialog for easy alteration for a later
release of ReportBuilder.
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
"Bob Tucker" wrote in message news:4d5c0b40$1@mail....
That was easy. A related question. When the email dialog is displayed,
there are two Options that are labeled File Name and Advanced. I would like
to go ahead and have them checked and displayed by default. What would be
the code to do that?
Thanks,
Bob
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com