General information
Category:
Third party products
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only