Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LlFound = seek(exp,alias) returns .t. for no values of
Message
De
08/05/2003 13:11:37
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
08/05/2003 12:28:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00786321
Message ID:
00786356
Vues:
22
>I have a table called ii, with an index call cref (where cref is a 4 character field). It I issue the command
>
>llFound = SEEK(lcref,'ii')
>
>I get the following results
>
>lcref  llFound   Comment
>0303    .T.      as expect field cref has these values
>0403    .T.      expected .F. since there is no data for cref = 0403
>                 confirmed this by using Select * from ii when ii.cref = lcref
>                 and get no records
>0503    .F.      as expected since there is no data
>
>What am I missing, why is llFound true for lcref = 0403

Claude,
Might it be you're unintentionally changing tag in between or when you execute this there is a cursor\table in current workarea with a fieldname 'lcref'.
lcRef='0403'
? SEEK(lcref,'ii','tagnamesuggested'), SEEK('0403','ii','tagnamesuggested')
if SEEK(lcref,'ii','tagnamesuggested')
 select ii
 browse
endif
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform