Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CursorAdapters, tableupdate and exceptions
Message
De
25/02/2005 03:08:13
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
00990002
Message ID:
00990430
Vues:
27
>Process each record one at a time using GETNEXTMODIFIED and GETFLDSTATE functions to SCAN your cursor for changes and what kind of change. Then when you issue:
>CLEAR ERROR
>lnSuccess = TABLEUPDATE(0, .f., 'MyCursor')
>see if lnSuccess is less than 0. If so, then use AERROR() to capture the error info.

Unfortunately, this mechanism cannot be used, because the info in the array created by AError() contains only the message "User thrown error", and not the message in the actual exception that I throw.

Other ideas?

Eyvind.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform