Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal with visual fox
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Crystal with visual fox
Miscellaneous
Thread ID:
00576047
Message ID:
00576047
Views:
74
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
Map
View

Click here to load this message in the networking platform