Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Packaging code as an object
Message
From
01/07/2000 12:43:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Packaging code as an object
Miscellaneous
Thread ID:
00387366
Message ID:
00387366
Views:
48
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
Map
View

Click here to load this message in the networking platform