HTML Put in Wrong Place
Let me try this again, since I still haven't gotten a response.
I am trying to schedule reports, and to do that I'm creating a Delphi
console app to print reports, which can be called from the scheduler.
I have pdf reports working, but the html reports always end up in
the directory where the executable is run from. I've tried the following:
htmlExporter.DefaultPath = blank
htmlExporter.Filename = full path and file name
htmlExporter.DefaultPath = full path
htmlExporter.Filename = file name
htmlExporter.DefaultPath = full path
htmlExporter.Filename = full path and file name
Example full path = d:\projects\test
Example file name = report.html
Example full path and file name = d:\projects\test\report.html
Obviously, the DefaultPath parameter of htmlExporter
dosen't change the path where the files are generated.
Obviously, the Filename parameter of htmlExporter
only specifies the filename, not where its generated.
This leads me to conclude that one of three things is
true:
1. DefaultPath is broken
2. DefaultPath is the wrong parameer to be setting
3. There is no way to set where the html files
are generated.
Anyone have any idea which of these 3 things are true, and if its
2, what is the correct parameter to set?
-- Larry Maturo
I am trying to schedule reports, and to do that I'm creating a Delphi
console app to print reports, which can be called from the scheduler.
I have pdf reports working, but the html reports always end up in
the directory where the executable is run from. I've tried the following:
htmlExporter.DefaultPath = blank
htmlExporter.Filename = full path and file name
htmlExporter.DefaultPath = full path
htmlExporter.Filename = file name
htmlExporter.DefaultPath = full path
htmlExporter.Filename = full path and file name
Example full path = d:\projects\test
Example file name = report.html
Example full path and file name = d:\projects\test\report.html
Obviously, the DefaultPath parameter of htmlExporter
dosen't change the path where the files are generated.
Obviously, the Filename parameter of htmlExporter
only specifies the filename, not where its generated.
This leads me to conclude that one of three things is
true:
1. DefaultPath is broken
2. DefaultPath is the wrong parameer to be setting
3. There is no way to set where the html files
are generated.
Anyone have any idea which of these 3 things are true, and if its
2, what is the correct parameter to set?
-- Larry Maturo