End User Problem Saving Report to File
I am using D5 with RB 6.03.
I have an end user report that, for some reason, will not save to file. It
is specific to this report. All other actions for this report work
correctly.
I traced it into TppTemplate.ShowFileSaveDialog function. It gets to the
statement: "if lSaveDlg.Execute then". This returns false without showing
the TSaveDialog.
Do you have any ideas what may be causing this?
Thanks in advance.
I have an end user report that, for some reason, will not save to file. It
is specific to this report. All other actions for this report work
correctly.
I traced it into TppTemplate.ShowFileSaveDialog function. It gets to the
statement: "if lSaveDlg.Execute then". This returns false without showing
the TSaveDialog.
Do you have any ideas what may be causing this?
Thanks in advance.
This discussion has been closed.
Comments
Report.Template.OnSaveStart event handler that would cause a problem? Can
you reproduce this problem using our out-of-the-box end user demos?
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
actions in the OnSaveStart event. Unforetunatly this is the only report out
of hundreds that is causing this problem.
I removed all the controls and queries off the report and the problem still
exists. Also I forgot to mention that the Load From File option does nothing
as well.
Here is the contents of the TEMPLATE field (if it can help)
"0x54504630095470705265706F72740870705265706F72740B5061737353657474696E67070
9707354776F50617373145072696E74657253657475702E42696E4E616D65060744656661756
C74195072696E74657253657475702E446F63756D656E744E616D6506065265706F727416507
2696E74657253657475702E506170"
It is weird that it only occurs on this report.
setting Report.SaveAsTemplate = False and check that
Designer.AllowSaveToFile = True. If you create a new report with your app,
can you reproduce the problem or it is only with this report? Are you trying
to save from the runtime designer's Save To File menu option or are you
doing this in code?
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
True). This problem only occurs on this one report. I am using the Save to
File from the menu. The Load from File does not work either. All other
reports seem to work.
reproduce the problem? At which point when you are constructing the report
layout configuration does the report not begin working?
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com