General information
Category:
Coding, syntax & commands
Title:
Crystal with visual fox
i have two days trying to use crystal with fox.
i call the report of crystal with fox with the component crystal report viewer, before that in the init of the form i put the next code:
SYS(2333 , 1 )
public CRApplication
public CRReport
CRApplication = createobject ("CrystalRuntime.Application")
CRReport = createobject ("CrystalRuntime.Report")
CRReport = CRApplication.OpenReport("c:\foxdrogas\reportes\reporte_drogas.rpt")
thisform.OleControl2.reportsource = CRReport
thisform.OleControl2.viewreport
all work perfectly, the problem is that the report those not refresh the data, when i change something in the data, i have to go to crystal, refresh the report, close crystal and then go to run my app an call the form.
so what is the part that im missing to refresh the report from my app?
Please help,
Ing. Carlos Gomez Collado
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