Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tableupdate
Message
 
À
19/02/1999 15:54:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00189486
Message ID:
00189747
Vues:
8
>delete
>* code to go to next record depending on BOF and EOF
>=tableupdate(.T.,.T.,'tablename')
>* refresh and other code

Claude,

The TableUpdate is changing the records that exist and that is why you are having problems. Before you position the record issue the TableUpdate to commit the deletion so your code won't find that record to position on.

Also, check the return value form TableUpdate. The second argument is Force, and it controls whether the update will be forced past an update conflict, that si a record that ahs been changed by another user. Ther are many other things that can cause a tableupdate to fail (the server is down, the user doesn;t ahve right in the directory, the network cable is broken, etc..) and you need to recover from these situations
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform