Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RecordManager class
Message
De
07/08/2012 15:04:38
Walter Meester
HoogkarspelPays-Bas
 
 
À
07/08/2012 09:51:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01550048
Message ID:
01550078
Vues:
67
>>Borislav,
>>
>>>TABLEUPDATE and TABLEREVER will never raise an error.
>>>They will return .t./.f. you must use AERROR() instead of TRY and CATCH block.
>>
>>There is at least a problem with raising an error in a CursorAdapter while saving. If not having a TRY CATCH in place around the TABLEUPDATE(), it will make the calling method/function dead. So for safety reasons, I wrapped it in a TRY CATCH. If it returns .F. you still can examine AERROR().
>
>for better granulartiy check the hook methods called on each record - there is a flag if update was successful.
>Much easier to zoom in on the !"§$%& record....

Sorry thomas, but you lost me here... which hook method?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform