Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange SEEK
Message
From
14/03/2009 14:03:06
 
 
To
14/03/2009 13:53:19
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01388076
Message ID:
01388079
Views:
58
You'll be surprised, but THERE IS NO any difference between SEEK and SEEK(). Though, I'm very proud that you
are using Seek(). So, if you like Seek() more :

CREATE CURSOR zzz (dd n(5))
FOR i=1 TO 10
INSERT INTO zzz (dd) VALUES (i)
NEXT
INDEX on dd TO zzzi
? SEEK(2,'zzz','zzzi')
? SEEK('2 anything else','zzz','zzzi')
? SEEK('2.0','zzz','zzzi')
USE IN zzz
RETURN

Is it better ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform