I am trying to preview/print a report through Visual FoxPro 7.0 and I have the Following Code:
LOCAL oCR as CRAXDRT.Application
LOCAL oRpt as CRAXDRT.Report
oCr=CREATEOBJECT('CrystalRuntime.Application')
oRpt=oCr.OpenReport('c:\MyReport.rpt')
IF oRpt.HasSavedData()
oRpt.DiscardSavedData()
ENDIF
oRpt.PrintOut
The problem is i get this error for the "oRpt.PrintOut" Command :
"There is Not Enough Memory For This Operation"
Any Ideas??
LOCAL oCR as CRAXDRT.Application
LOCAL oRpt as CRAXDRT.Report
oCr=CREATEOBJECT('CrystalRuntime.Application')
oRpt=oCr.OpenReport('c:\MyReport.rpt')
IF oRpt.HasSavedData()
oRpt.DiscardSavedData()
ENDIF
oRpt.PrintOut
The problem is i get this error for the "oRpt.PrintOut" Command :
"There is Not Enough Memory For This Operation"
Any Ideas??