Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The INDEX ON command
Message
De
06/07/2000 15:09:27
 
 
À
06/07/2000 14:47:51
Jimmy Ditta
Twin City Electronics
Monroe, Louisiane, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00389018
Message ID:
00389050
Vues:
18
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform