Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PROBLEM: SET EXACT changes seeking result ?
Message
De
08/09/2003 08:40:10
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
PROBLEM: SET EXACT changes seeking result ?
Divers
Thread ID:
00827017
Message ID:
00827017
Vues:
63
Hi,

On VFP help, on SEKK, SEEK(),INDEXSEEK(), i found this:
... The match must be exact unless SET EXACT is set to OFF.
but i test and not found any difference with ON/OFF setting.
CLEAR
CREATE CURSOR myCursor (fChar c(10))
INDEX on fChar TAG TAG1
INSERT INTO myCursor VALUES ('ABCD')
INSERT INTO myCursor VALUES ('ABC')
INSERT INTO myCursor VALUES ('AB')
INSERT INTO myCursor VALUES ('A')
SET EXACT ON
SEEK 'A'
? RECNO(),fChar
SET EXACT OFF
* with OFF, if Help is correct i aspected to found recno()=1
SEEK 'A'
? RECNO(),fChar
SEEK,SEEK(),INDEXSEEK(),KEYMATCH() found first PADR blanked key.

SET EXACT ON/OFF it does not have infuence.

The same result is obtained in VFP6/7

Fabio
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform