Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Confused about Buffering and TableUpdate
Message
 
 
À
16/04/2001 22:17:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00495972
Message ID:
00496070
Vues:
10
>Before you get too carried away with TABLEUPDATE(), it looks like you might want to use DELETE ALL as indicated above. Remember that the default scope for DELETE is NEXT 1, so unless the record pointer happens to be on the record you want to delete in tables 2 and 3, nothing will happen.
>

Actually the FOR clause replaces the ALL scope in the delete. All records that apply to the criteria will be deleted. If a WHILE clause were usede and the record pointer was not sitting on a record that applied, then no deletes would take place.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform