Foldername in message?
Hi
I have report is folders.
When i change a report and close it, RB asks if the report has to be saved.
In this message it looks like it names the name of the folder. My message is
dutch but it seems something like:
Save changes to main tab: <name of the report.
The name of the report is correct but the name before the name of the report
is not always, sometimes its the name of the folder but also sometimes not!
Where does RB gets this name?
Eric
I have report is folders.
When i change a report and close it, RB asks if the report has to be saved.
In this message it looks like it names the name of the folder. My message is
dutch but it seems something like:
Save changes to main tab: <name of the report.
The name of the report is correct but the name before the name of the report
is not always, sometimes its the name of the folder but also sometimes not!
Where does RB gets this name?
Eric
This discussion has been closed.
Comments
Which version of ReportBuilder and Delphi are you using? Are all your
report templates saved on your hard disk? If you are saving to file,
ReportBuilder will retrieve the file name from the Report.Template.FileName
property. If no directory exists, the application path is used. Perhaps a
bit more information about how your appliction works will help us track down
the issue.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
using D2007 Win32 with RB 10.07
The reports are stored in the db.
I did not ask mt question very well, sorry for that,
Lets try it again,
When creating a new reports or changing an existsing obe , and closing up
the enduser app, rb asks me to save the just created/changed report. In the
confirmation question RB names the folder and the reportname.
The reportname is correct but the folder is not always. The foldername is
sometimes a not existing folder in RB_FOLDER.
So my question is, which foldername does rb use for this question.
Eric
I researched this. It is not using the folder name. It is using
Report.Caption + ': ' + Report.Template.Description;
Report.Caption returns Main:PipelineUserName for the main report or for a
subreport returns subreport.Caption
Report.Template.Description returns either the file name or rbItem name
We probably should simplify this to just display the
Report.Template.Description
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com