LOCAL oCR
LOCAL oRpt
oCR = CREATEOBJECT(“CrystalRuntime.Application”)
oRpt = oCR.OpenReport(“myreport1.RPT”) && or you can pass a variable
IF oRpt.HasSavedData
oRpt.DiscardSavedData()
ENDIF
oRpt.PrintOut()
You can setup printer using this two options:
PrinterSetup( )
SelectPrinter( )
Previous
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