Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to lock a record and say the user cannot change this
Message
From
23/09/2003 13:45:32
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
23/09/2003 13:42:10
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00831594
Message ID:
00831598
Views:
19
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform