Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exclusive Use On View
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00048953
Message ID:
00049130
Vues:
44
I have to agree. That is one of the most clear and concise answers I have ever seen for that question. I am sure that will help a lot of people.

>Fantastic Answer...I sure wasnt looking at it that way Bob. Appreciate the help!
>
>Gary
>
>>>I have a remote view created. I have in the options panel, open exclusive set to off. I have in my main program, SET EXCLUSIVE OFF, and even put it on the form. However...When the form with the view is run, its still being reported as being opened exclusively which is something I don't want. How can I change this behavior on the views opened?
>>>
>>>Thanks
>>>
>>>Gary
>>
>>
>>If you think about, views can only be exclusive because it is a subset of data from the source. Your subset is exclusive because the data for the view is tied to a temporary file that is local to your system. On the other hand, even though this view is 'exclusive to you' the data it represents is not exclusive. No locks are attached to the records that relate to the records in your view.
>>
>>If you use a view, you cannot lock data records in the underlying table (except during the tableupdate). Once the data is retrieved, the connection is lost until you try to do the update. This makes sense when using SQL Server views or Oracle remote views, but not quite as much when the views are based on local data.
>>
>>Bottom line is your views are now 'local' so they appear exclusive!
Everything we see or seems
Is but a dream within a dream
- Edgar Allen Poe
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform