Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PRG from SP
Message
De
04/02/2018 04:05:43
 
 
À
03/02/2018 08:39:52
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01657733
Message ID:
01657779
Vues:
42
>>>>>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 :-{
>
>Not thousands? Dump it all in there and go fishing.

Probably underestimated the number of lines involved. And many of the routines are embedded in class libraries that contain tons of unneeded classes.....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform