Custom Save
Can someone give me guidance on the use of OnCustomSaveDoc? I have a
database table that records the name of a report but the report is saved as
file. The help file says
"Provides full control over the report saving process. When this event
handler is assigned, you must provide the logic which will save the report."
I thought this event would let me take full control of the save procedure,
but the savedialog still opens. Is there a sample available?
Thanks
Russell
database table that records the name of a report but the report is saved as
file. The help file says
"Provides full control over the report saving process. When this event
handler is assigned, you must provide the logic which will save the report."
I thought this event would let me take full control of the save procedure,
but the savedialog still opens. Is there a sample available?
Thanks
Russell
This discussion has been closed.
Comments
The idea behind the CustomSaveDoc event is to give you complete control over
the save process after the file name has been defined. This is why the save
dialog still appears. You will notice that if this event is implimented and
you click ok on the save dialog, nothing is saved.
What exactly would you like to happen? Do you want to use your own save
dialog or perhaps do without one all together?
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks for the info. That will be fine. I don't actually need to have the
dialog box, but I can rejig the process to use that info.
Russell
One other option would be to take complete control over the "save" and "save
as" menu click events. Below is an example on how to access the menus and
toolbars for ReportBuilder 10.x.
http://www.digital-metaphors.com/tips/Designer10_CustomizeMenusAndToolbars.zip
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com