General information
Title:
SFReports OLE Error# 1429
I'm receiving Error# 1429 when executing the following:
Code : loGroup = toTree.Nodes.Add(, 1, 'G' + lcName, lcFName, 1)
Method : SFWizard1.addgroup
This is what I did:
1. Created a from called frmReports using:
CREATE FORM frmReports AS SFRWizard FROM SFReports
2. Subclassed SFReportEngine by dragging it to the form. I renamed it to 'oRptEngine'
3. Added the following code to the Init of the form:
local cDBC
cDBC = "smart.dbc"
THIS.cDataDirectory = JUSTPATH(FULLPATH(cDBC))
THIS.cDBCName = cDBC
THIS.oReportEngine = THIS.oRptEngine
Note: My search path includes the data directory...
I'm using SFReports 5.1 Beta so the documentation is incomplete. Any help would be appreciated.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only