Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simulating FoxUser behavior
Message
From
17/05/2011 17:14:15
Guy Pardoe
Pardoe Development Corporation
Peterborough, New Hampshire, United States
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01510886
Message ID:
01510922
Views:
73
This message has been marked as a message which has helped to the initial question of the thread.
>Guy,
>
>I was thinking along these lines also, but here is the deal.
>
>For all reports we're using a special form class. This class has PrintReport method. The class also has buttons such as Preview, etc. The preview button calls this method with the 'Preview' parameter
>
>Now, each report has the following code in its PrintPreview method
>
>report form ThisParticularReport &tcDestination
>
>I'm wondering how can I incorporate your idea so I don't have to change all the individual report forms (actual forms) and only fix the base class?


Add my preview form as a member object of your class (e.g., yourclass.oPreviewForm). Then add "IN WINDOW yourclass.oPreviewForm" to your "REPORT FORM" command. (Or something along those lines.)

Just a thought.

Guy
Previous
Reply
Map
View

Click here to load this message in the networking platform