Information générale
Catégorie:
Produits tierce partie
Titre:
Packaging code as an object
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement