Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PRG from SP
Message
De
03/02/2018 08:38:03
 
 
À
03/02/2018 08:31:15
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:
01657765
Vues:
36
>>>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 :-{
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform