Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Gettings started with genrepox
Message
 
To
21/07/1999 11:04:40
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00244162
Message ID:
00245754
Views:
11
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform