Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Crystal with visual fox
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Crystal with visual fox
Divers
Thread ID:
00576047
Message ID:
00576047
Vues:
73
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform