Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Catching error CA RecordRefresh()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01529369
Message ID:
01529370
Vues:
34
>Hi,
>
>If a call to CursorAdapter RecordRefresh() returns .F., how can I catch the description of the problem? TIA.


From HELP:
Use the AERROR( ) function to determine the cause of failure of the RecordRefresh method. The ON ERROR Command and TRY...CATCH...FINALLY Command cannot be used to determine the cause of RecordRefresh method errors.

So:
IF CursorAdapter.RecordRefresh() < 0
   AERROR(laError)
   MessageBox(laError[1,2])
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform