Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PRG from SP
Message
From
03/02/2018 08:38:03
 
 
To
03/02/2018 08:31:15
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01657733
Message ID:
01657765
Views:
37
>>>Is it possible to call a prg (or, come to that, a class method) from a stored proc. in a VFP DBC ?
>>
>>a DBC stored proc is a program like any other;
>>it's stored here just to be sure it's in scope when dealing with the table and field events / triggers
>
>... so that .prg can be just another procedure inside the body of the stored procedures. IOW, I'd just put it in there, along with any Define Class pieces, and just do a
>
modify procedure
>and paste whatever is needed.

Would be far too complex to include all the logic in the DBC I'm afraid - lots of class methods etc. involved - several hundred lines of code :-{
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform