Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement