Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can you seek() on a view?
Message
De
15/07/1999 20:41:25
 
 
À
15/07/1999 20:07:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00241999
Message ID:
00242094
Vues:
26
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform