Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with INDEXSEEK()
Message
De
18/08/2000 15:38:57
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Problems with INDEXSEEK()
Divers
Thread ID:
00406838
Message ID:
00406838
Vues:
73
I am trying to validate to textbox with the following code:

set step on && to see what is happening
badid = .T. && to get a reference point
badid = INDEXSEEK(THIS.VALUE,.F.,"customers","customerid") && goes to .F. here!
IF badid
MESSAGEBOX("etc")
RETURN .F.
ELSE
RETURN .T.
ENDIF

ALIAS() shows the proper table
SYS(22) shows the proper controlling index
THIS.VALUE = what I entered

Yet it still fails to detect an existing value in the index. If I drop out to the command widow, do the same
with a known key value vs. THIS.VALUE, it works fine. What else can I look at? TIA

Jim
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform