>>>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 :-{