Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report objects events
Message
De
27/05/2003 03:24:26
Franco Felosi
Acut Servizi Srl
Brescia, Italie
 
 
À
26/05/2003 21:51:55
H. C. Doughty
Cybernet Services Inc.
Lansing, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Divers
Thread ID:
00792835
Message ID:
00792966
Vues:
26
Hi Haydn, thank for your time.

I am trying to recover name or value of a field.

In a vfp form: (olecontrol1 = Crystal Report Viewer Control)
*!* commandbutton "PREVIEW" click
ocrr = Createobject("CrystalRuntime.application")
orpt = ocrr.openreport("C:\report\prova8.rpt")
thisform.olecontrol1.ReportSource=orpt
thisform.olecontrol1.ViewReport



*!* olecontrol1.clicked
*** ActiveX Control Event ***
LPARAMETERS x, y, eventinfo, usedefault
oEventinfo = eventinfo
oFields = oEventinfo.getfields() -> OLE ERROR

*** oEventinfo does not seem to be a valid vfp object

oField = oFields.item(oFields.SelectedFieldIndex)
? oField.name
? oField.value

Thank !
franco
francofelosi@acut.it
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform