I am trying to get ReportBuilder in 5.1 sp6 to produce an RTF document suitable for reading in Microsoft Word. I am using the following:
Set whWndReport = SalReportPrintToFile ( hWndForm, fsReport, psRTFFile, fsVariables, fsInputs, 1, RPT_PrintAll, 0, 0, 1, fnError )
The error code returned is 1 - RPT_ErrLoadDLL. I cannot figure out through any of the documentation what dll is not loading, or where i would find the dll if i did know what was missing.
When i use 0, the report completes but is gibberish in word (as it should be,since i think that is supposed to produce plain text), and if i use 2, it produces a nice pdf file.
Any help would be greatly appreciated.
RPT_ErrLoadDLL using SalReportPrintToFile for RTF
Re: RPT_ErrLoadDLL using SalReportPrintToFile for RTF
We'd need a test case to pursue, but TD help for that RPT_xxx error states:
Can you run SalReportView()?
So the first thing I'd do is verify you have a clean install of RB v5.1 and that your PATH setting is correct. One thing to check is use Windows Start/Run... repbi51.exe and see if it launches. The DLLs are going to be the ones in your TD v5.1 folder.RPT_ErrLoadDLL means that a report function was unable to load the required DLLs.
Returned by the functions:
SalReportCreate, SalReportPrint,
SalReportPrintToFile, SalReportView,
SalReportTableCreate, SalReportTablePrint,
SalReportTableView.
Value = 1
Can you run SalReportView()?
Who is online
Users browsing this forum: [Ccbot] and 3 guests