Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Retrieving current line of code in a module
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00360934
Message ID:
00360956
Vues:
8
Larry,

Ok I see, you're trying to fake out an ON ERROR type of operation.

One design approach I would probably investigate would be to encapsulate the entire SQLExec stuff into an object. Perhaps with a structure such that the SQLExec that gets executed is created by setting properties of this object and then calling a method that builds and executes the command. This way, if an error occurs the object's properties could be investigated to find out what the context was without the assign method needing to know the line of code for the SQLExec. Essentially it would always be the same line of code.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform