Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Gettings started with genrepox
Message
 
À
21/07/1999 11:04:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00244162
Message ID:
00245754
Vues:
16
>I really need some of the functionallity (is that a word?) that genrepox gives. So I downloaded version 3.0 and tried to get started.
>
>I have no idea how to get on with it. I can't spot where I tell it my table, what the basic report layout should be, etc.
>
>Can someone post a few lines of code showing instanctiating (I am *sure* I spelled that wrong) a report object, when and where I hop into the report designer, and then running the report?
>
>Thanks all!

Something along these lines should get you started:
SET CLASSLIB TO GENREPOX
oReport = CreateObject("cReport")
oReport.LayoutFile = "demo.frx"
oReport.Print
Basically, you have a report called demo.frx which is a standard VFP report, but you may add commands to the comment snippets. You then tell the GenRepoX report object what FRX you want to print, and call the Print() method to execute it.

Markus




Markus Egger
President, EPS Software Corp
Author, Advanced Object Oriented Programming with VFP6
Publisher, CoDe Magazine
Microsoft MVP since 1995
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform