Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mulitple calls to seek, do I need them
Message
De
20/05/2003 15:09:01
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00790685
Message ID:
00790694
Vues:
20
Replace is not done earlier because this is a mult-user system and do not want to do updates and inserts until all data is checked.

>Better code might be:
>    if seek(valuea,tablea,ordera)
>       replace feieldlista with valuelista in tablea
>    else
>       *!* do error stuff here
>    endif
>    if seek(valueb,tableb,orderb)
>       replace feieldlistb with valuelistb in tableb
>    else
>       *!* do error stuff here
>    endif
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform