Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create index for the view ?
Message
 
À
22/07/2005 05:52:13
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01035039
Message ID:
01035041
Vues:
14
>Hi,
>How to locate a record from the view,
>I use LOCATE command, but it seem not work.
>Why ?
>On the other hand, how can I create index for the view ?
>
>Please advise.
>
>Derek Yim

Easy:
SELECT YourView
lnOldBuffer = CURSORGETPROP("Buffering", "YourView")
CURSORSETPROP("Buffering", 3, "YourView")
INDEX ON .... TAG YourView
CURSORSETPROP("Buffering", lnOldBuffer, "YourView")
But why the LOCAte didn't works? I suppose your condition is not rigth. Can you post the code for LOCATE?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform