Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The INDEX ON command
Message
From
06/07/2000 15:09:27
 
 
To
06/07/2000 14:47:51
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00389018
Message ID:
00389050
Views:
17
>>A view is always opened exclusively, regardless of the lock status of the underlying table(s).
>
>So a view shouldn't be used in a record search procedure if the environment is multi-user?

Fundamentally, a view is just the result of a SELECT - SQL statement. Its contents are valid as at the instant it was opened.

You can refresh a view's contents (basically cause its underlying SELECT - SQL to be run again) by using the REQUERY() function.

If you REQUERY(), you don't need to regenerate your indices, they will still be in effect.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform