Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simulating FoxUser behavior
Message
De
17/05/2011 17:14:15
Guy Pardoe
Pardoe Development Corporation
Peterborough, New Hampshire, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01510886
Message ID:
01510922
Vues:
74
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform