Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP is leading me to madness !!!
Message
De
22/12/2004 10:13:49
 
 
À
22/12/2004 03:40:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00971290
Message ID:
00971418
Vues:
18
Hi Alessio.

=SEEK(THIS.VALUE,'MyTable','MyIdx')

SEEK() is a function that returns .T. if it finds the record and .F. it it does not. Why are you throwing away the return value? You would be much better off to amend your code as follows:
IF SEEK( This.Value, 'MyTable', 'MyIdx' )
  *** Do what you need to do if the record is found
ELSE
  *** Record not found
ENDIF
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform