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 14:47:13
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Mulitple calls to seek, do I need them
Divers
Thread ID:
00790685
Message ID:
00790685
Vues:
59
I have code in a form whick use the seek command twice for two tables.

First time it has code like
    lfounda = seek(valuea,tablea,ordera)
    lfounda = seek(valueb,tableb,orderb)
and then checks return codes to be sure data exists. If records are NOT found then processing stops with an error message. Then after some more error checking it has code like
    lfounda = seek(valuea,tablea,ordera) 
    replace feieldlista with valuelista in tablea
    lfounda = seek(valueb,tableb,orderb)
    replace feieldlistb with valuelistb in tableb
I assume second set of seeks is to be positive that corrected is being poi nted to. Is this a reasobable assumtion. Correctness is the prime criteria.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform