Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Packaging code as an object
Message
De
01/07/2000 12:43:08
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Packaging code as an object
Divers
Thread ID:
00387366
Message ID:
00387366
Vues:
49
I was given the following recommendation when I asked about calling reports from a Codemine environment:

For reports that can be run at any time, you should package the report code as an object, rather than just a set of procedures. THat way, you can create the reporter object as a GLobal Service Object, which will ensure that any report processing code will always run in the default data session. This will prevent conflcts with open cursors in any forms that are open when you run your reports. (If you just run a prg reporting function, it will run in the private data session of any open form, which can cause conflicts.)

How do I 'package' the report code as an object. The report code is a .prg that calls 1 or more .scx's, .qpr's, and .frx's.

Thanks
Steve Baum
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform