Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the best approach for generating reports?
Message
De
29/09/1998 14:01:44
 
 
À
29/09/1998 13:04:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00142011
Message ID:
00142041
Vues:
32
>Hi,
> I am trying to generate Invoice reports. From the foxpro samples, one way of accomplishing this is: In the reports data environment, override the BeforeOpenTables method and call the form which gets the input values for the parameterized view (based on which report is generated) and kick on the report.
>My question is, if the user clicks cancel on the input form, how can the code in BeforeOpenTables method stop the report generation process?
>
>Thanks
>Puri

Unless you absolutely need the form call to be encapsulated in the frx, break it out, and check the return value before you ever call the report. You can still assign the parameter with private variable, or have the report use a view in the default datasession.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform