Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can you seek() on a view?
Message
From
15/07/1999 20:41:25
 
 
To
15/07/1999 20:07:41
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00241999
Message ID:
00242094
Views:
19
>>or how do you set an index in a view?
>>
>>I've created a local view and I need to move the pointer to a record. I'm getting the 'Table has no index order set' error.
>>
>>TIA
>
>The others have shown you how to index a view so you can use SEEK. This is a good method, and I use it all the time. But if all you need to do is to move the record pointer in a view that contains only a few records, it would be easier (and probably faster) to just use LOCATE FOR

And much more versatile, since you can do LOCATEs on things without having thunk up how to build the right index ahead of time, too!
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform