Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to lock a record and say the user cannot change this
Message
De
23/09/2003 13:45:32
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
23/09/2003 13:42:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00831594
Message ID:
00831598
Vues:
21
>Hi!
>
>I have a problem:
>* Many users of the same form = No problem.
>* Users using different records in the form = No problem
>* Users trying to change the same field of the same record = Problems.
>
>Especially in comboboxes which RowsourceType is a table
>
>Results: the last user is expulsed of the form with this message:
> "Cannot access the selected table"
>
>Set Exclusive is off
>
>What to manage this problem?
>
>I would like to lock the record used by the first user, and say the last user who wish to change the record: "Record is in use by another one..."... but don´t know how exactly lock just the record...and when (and where -event-)to send the message.
>
>Can Anyone help me?.
>
>Thanks in advance.
>Carlos Burgos

Carlos,
For comos simple solution is to use SQL rowsourcetype.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform