RB6.03 and custom components. Pls Help.
I have an exe that reads in a RTM file and an output file as command line
parameters.
Example: ReportGenerator c:\test\test.rtm c:\test\output.raf
I can send in any rtm file that does not contain a chart or any user
components such as myCheckBox.
I have built with the following packages and I have verified that the
packages exist and are in the same directory as the exe.
Vcl50;Vcldb50;vclx50;rbIBE55;rbDB55;rbRCL55;rbDAD55;TeeUI55;Tee55;TeeDB55;Te
ePro55;TeeGL55;rbRAP55;rbDIDE55;rbUser55
and I have included the following in my uses statement:
ppModule, raCodMod, ppCtrls, ppChrt,
ppChrtDP, ppBands, ppVar, ppStrtch, ppMemo, ppPrnabl, ppClass, ppCache,
ppProd, ppReport, ppComm, ppRelatv, ppDB, ppDBPipe, ppRichTx,
ppSubRpt, ppRegion, ppTypes, ppJpeg,
daDataView, daQueryDataView, daDOA_aap, daSQL, daDataModule,
myChkBox,
Most reports work fine. When a report contains a checkbox or chart, no error
is generated and a 4 byte RAF file is created.
Running on W2K with 512MB RAM. Any help would be appreciated.
Thanks,
Andy
parameters.
Example: ReportGenerator c:\test\test.rtm c:\test\output.raf
I can send in any rtm file that does not contain a chart or any user
components such as myCheckBox.
I have built with the following packages and I have verified that the
packages exist and are in the same directory as the exe.
Vcl50;Vcldb50;vclx50;rbIBE55;rbDB55;rbRCL55;rbDAD55;TeeUI55;Tee55;TeeDB55;Te
ePro55;TeeGL55;rbRAP55;rbDIDE55;rbUser55
and I have included the following in my uses statement:
ppModule, raCodMod, ppCtrls, ppChrt,
ppChrtDP, ppBands, ppVar, ppStrtch, ppMemo, ppPrnabl, ppClass, ppCache,
ppProd, ppReport, ppComm, ppRelatv, ppDB, ppDBPipe, ppRichTx,
ppSubRpt, ppRegion, ppTypes, ppJpeg,
daDataView, daQueryDataView, daDOA_aap, daSQL, daDataModule,
myChkBox,
Most reports work fine. When a report contains a checkbox or chart, no error
is generated and a 4 byte RAF file is created.
Running on W2K with 512MB RAM. Any help would be appreciated.
Thanks,
Andy
This discussion has been closed.
Comments
missing, when you load a template. Can you load these templates into a
report object in a standard delphi application where there is just a report
object on a form? Can these reports print to the screen preview in the test
app?
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
any exceptions.
The ppReport1.Print blows an exception with message: 'Cannot Generate
Report'.
Again, this only happens if a checkbox or a teechart is in the report. I am
saving reports to an archive file.
Thanks,
Andy
support@digital-metaphors.com and we'll fix it.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com