Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create index for the view ?
Message
 
To
22/07/2005 05:52:13
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01035039
Message ID:
01035041
Views:
15
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform