Crystal Reports Version: 9
Dataconnection: Pulling from DBF files using ADO Provider: VFPOleDB
Integration: RDC
Software Platform: Visual FoxPro 8 SP1
MDAC Version 2.7 or higher
This is not related to Web.
Over 3000 installs working successfully on W98SE, WME, W2000, WXPH, WXPP
Simplified Working Code Sample:
lcPath = JustPath (Lower(tcData_Fullpath_Filename))
lcLoc = JustFName (Lower(tcData_Fullpath_Filename))
lcSub = JustStem (Lower(tcData_Fullpath_Filename))
lcCon = 'Provider=VFPOLEDB.1;Data Source=' + lcPath
oCR = CreateObject('CrystalRuntime.Application.9')
oRpt = oCR.OpenReport(tcReport_Fullpath_Filename)
oFrm = CreateObject('form')
oRpt.Database.Tables.Item(1).SetTableLocation(lcLoc, lcSub, lcCon)
oFrm.AddObject('oVwr','oleControl','CrViewer9.CrViewer.9.2')
oFrm.WindowType = 1
oFrm.oVwr.Visible = .T.
oFrm.oVwr.Width = oFrm.Width
oFrm.oVwr.Height = oFrm.Height
oFrm.oVwr.ReportSource = oRpt
oFrm.oVwr.ViewReport()
oFrm.Show()
Current problem I'm researching follows:
Client workstation is W98SE
MDAC 2.8 RTM ( MDAC Component Checker returns no mismatches )
ADO Connection to data coded in VFP 8 SP 1 works without a problem
Report file (rpt) exist on mapped drive P:\Rpt_Pre (tried local taking network out of the equation)
Temp data exist on local C:\Windows\Temp
Crystal Reports Viewer reports
invalid path or filename
native error 295
Client is in another state, I only discuss things over the phone with them.
Any suggestions on what might be causing this error?
Any file versions I should be looking for?
Dataconnection: Pulling from DBF files using ADO Provider: VFPOleDB
Integration: RDC
Software Platform: Visual FoxPro 8 SP1
MDAC Version 2.7 or higher
This is not related to Web.
Over 3000 installs working successfully on W98SE, WME, W2000, WXPH, WXPP
Simplified Working Code Sample:
lcPath = JustPath (Lower(tcData_Fullpath_Filename))
lcLoc = JustFName (Lower(tcData_Fullpath_Filename))
lcSub = JustStem (Lower(tcData_Fullpath_Filename))
lcCon = 'Provider=VFPOLEDB.1;Data Source=' + lcPath
oCR = CreateObject('CrystalRuntime.Application.9')
oRpt = oCR.OpenReport(tcReport_Fullpath_Filename)
oFrm = CreateObject('form')
oRpt.Database.Tables.Item(1).SetTableLocation(lcLoc, lcSub, lcCon)
oFrm.AddObject('oVwr','oleControl','CrViewer9.CrViewer.9.2')
oFrm.WindowType = 1
oFrm.oVwr.Visible = .T.
oFrm.oVwr.Width = oFrm.Width
oFrm.oVwr.Height = oFrm.Height
oFrm.oVwr.ReportSource = oRpt
oFrm.oVwr.ViewReport()
oFrm.Show()
Current problem I'm researching follows:
Client workstation is W98SE
MDAC 2.8 RTM ( MDAC Component Checker returns no mismatches )
ADO Connection to data coded in VFP 8 SP 1 works without a problem
Report file (rpt) exist on mapped drive P:\Rpt_Pre (tried local taking network out of the equation)
Temp data exist on local C:\Windows\Temp
Crystal Reports Viewer reports
invalid path or filename
native error 295
Client is in another state, I only discuss things over the phone with them.
Any suggestions on what might be causing this error?
Any file versions I should be looking for?