Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why is SEEK command showing error?
Message
De
08/09/2004 14:32:08
 
 
À
08/09/2004 09:31:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00939863
Message ID:
00940382
Vues:
19

SNIP

The thing is though, that even if Seek() had a 'DESC' parameter,


Seek() have none DESC parameter.


you still couldn't use it to do what you're doing below because SET NEAR also doesn't mean anything to Seek().

SNIP


Why say you this ? You still have confidence in the documentation of VFP?

Run this:
clear
CREATE CURSOR myC ( aaa I )
INSERT INTO myC VALUES (1)
INSERT INTO myC VALUES (3)

INDEX ON aaa TAG tag1

SET NEAR OFF

GO TOP
? SEEK(2),aaa,EOF()

SET NEAR ON

GO TOP
? SEEK(2),aaa,EOF()		&& next to 2 is 3 !
Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform