Save Datasettings
When our users are editing their report templates,
when they changed the data settings that is so
radical. Upon changing tab, the ReportBuilder will
sometimes crash and they'll lost their work.
And I don't have to tell you how frustrating is that : (
Is there a way to tell during the OnTabChanged event
of the designer if the was any modifications on the data
settings ? ppDesigner.Report.Modified is true if I alter
the report appearance, however the datasettings changes
does not reflect on this property. What gives?
thank in advance
when they changed the data settings that is so
radical. Upon changing tab, the ReportBuilder will
sometimes crash and they'll lost their work.
And I don't have to tell you how frustrating is that : (
Is there a way to tell during the OnTabChanged event
of the designer if the was any modifications on the data
settings ? ppDesigner.Report.Modified is true if I alter
the report appearance, however the datasettings changes
does not reflect on this property. What gives?
thank in advance
This discussion has been closed.
Comments
There is no built in way to see if the DataSettings have been changed by an
end-user in ReportBuilder. Note that you can prevent your users from even
accessing the DataSettings dialog in the first place by setting the
TppDesigner.AllowDataSettngsChange property to False.
When you change the tab in the designer, the Designer.DataSettings property
will sync up with the DataSettings selected in the data workspace. You
could possibly save this information down when you load the report and
compare it to the datasettings when a user changes the tab to see if they
have been modified or not.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com