Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
.DBCs vs. Variables
Message
De
24/08/1999 16:31:13
 
 
À
24/08/1999 15:53:14
Bruce Covey
Home Depot Television
Atlanta, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00257275
Message ID:
00257294
Vues:
17
>I have a PUBLIC variable in my .app, and I would like to change its value from a Stored Procedure in the .DBC. Is this possible ? I couldn't get it to work.
>I am actually generating an error message during a UDF() that runs as
>a DELETE trigger. I would like to pass this error message back to my error handler.
>
>Any help is greatly appreciated

I do this all the time, for error handling purposes. I suspect you are getting lost somewhere in the implementation. Epxeriment by simplifying: Create a simple stored proc with one line: x = 1.

Call the stored proc from a command line, and check the value of x. Error. Now declare x public and call the proc, you get the value. You must be doing something else to release the variable.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform