Information générale
Titre:
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.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement