Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TableUpdate() syntax
Message
 
À
25/02/1998 21:05:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00081248
Message ID:
00081286
Vues:
23
>I was wondering about something. I am using TableUpdate(.T.,.T.) when doing the save. I've been having this for 2 years. Now, I just checked the help and couldn't find the explanation of the second .T. Can someone explain me what the second .T. stand for? I guess I have forgotten something. :)

Michel,

You are using the VFP 3.0 syntax for TableUpdate. IN 3.0 TableUpdate took three arguments, 1st T/F all records/current record, 2nd T/F force update/fail on conflict, 3rd (often ommitted) is the alias to be updated.

VFP 5.0 has a newer syntax for this function which takes 4 arguments;

1st 0,1,2 (old T/F work also) 0 means update current record
1 means update all records and fail
immediately on any record failing
2 means update all records and fail only those
with a problem

2nd T/F Force past conflict, fail on conflict

3rd Alias of the table to be updated

4th Name of array to store record numbers that failed update when 1st
argument is 2
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform