Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TABLEUPDATE(2,.T.) leaves records that are not updated
Message
De
30/04/2001 03:43:19
 
 
À
27/04/2001 14:16:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00500580
Message ID:
00501424
Vues:
16
>>I'm updating a view (buffering=5), even go top, the TABLEUPDATE(2,.T.) returns .t., but trying to change buffering results in an error.
>>
>>What am I doing wrong, or how do I get it right?
>
>Check the return value of TABLEUPDATE, if it returns .F., use AERROR to see why.
>
>If it returns true, but it appears that some records were not updated, I would guess you have a problem with primary keys?

That's exactly what I'm doing, and I reasoned along the same lines, but the error returns -1 and if I GO GETNEXTMODIFIED(0) and issue another TABLEUPDATE()
it goes through. Strange behaviour, non?
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform