Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report class
Message
De
02/11/1998 14:23:30
 
 
À
02/11/1998 13:22:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00153640
Message ID:
00153653
Vues:
17
>Just wondering if any one has an example on how to create a report class.
>
>thanks in advance...

It's actually custom class with some methods/properties e.g.
***clReport.RunReport method
If This.Mode=1 && evaluate custom property
Report Form (This.ReportName) Preview
Else
Report Form (This.ReportName) NOCONSOLE To Print Prompt
Endif
Calling program may look like:
oReport=createobject("clReport")
oReport.ReportName="Myreport"
oReport.Mode=2
oReport.RunReport()

Having custom class you may add as many properties as needed, e.g. oReport.Title,oReport.Headerstring, oReport.Footerstring etc.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform