Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report Class... whats the point?
Message
 
À
20/03/1998 18:32:30
Jon Griffin
Computer Nerds, Inc.
St. George, Utah, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00086150
Message ID:
00086622
Vues:
26
Jon,

>Am I missing something or is a report class that can't call a form to get user parameters to run query's pointless?
>
>I need 99% of the time to run a report based on user entered criteria and the only way I can think of doing this is with a form that then calls a report to report on the resulting query.
>
>I understand objectifying code ( I coded in C++ v 1.0 from Zortech!!) but ...

We have not substantially changed the CReportForm that originally shipped with VFP3 Codebook. But you're right...the majority of reports often have view parameters that need to be set.

You can launch a "View Parameter Entry" form from the "BeforeOpenTables" event of the report. If the user cancels from the form, you can RETURN .F. from BeforeOpenTables() and the report will not execute.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform