Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Proper technique for Functions/Procedures
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00095133
Message ID:
00095518
Views:
21
>-- snip ---
>
>But here's another thought.....and I'm wondering if anyone else has done this;
>This is for private datasessions and because the database needs a separate open instance for each one, you could simply put your functions in the database as stored procedures guaranteeing that they would be accessible in the proper datasession. Anyone ever put generic functions in as stored procedures?
>
>Steve

Steve:

Sure. All the time -- but only procedures that are needed for some functionality very specific to the database. Otherwise you load up on general procedures that could better be placed in a general procedure or function library.

I wonder if George would share with us more of his findings on the relative speed of procedures vs methods -- especially any speed difference among calls to methods at differenct levels in the class and container hierarchies.

George: I'd bet this is worth an article in FoxTalk.

Regards,

JME
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform