Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record is in use - FOUND IT!
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00660857
Message ID:
00660898
Views:
27
This message has been marked as a message which has helped to the initial question of the thread.
Hi Nadya,

>Put a table in buffered mode (5) on a form. Open another table non-buffered shared noupdate. Make a relation from first main table into this one. Put a grid on the form. Put one field from related table into this grid (other fields from the "main" table). Run two instances of the form (we did this on two different machines). Both tables are on the network, as well as the form. Choose the same record in both forms instances. Change field on one grid (don't move from this field) and try to change another field on another instance (same record). You would not be able to do so (record would be locked).

Ähhm.. yes. If I am reading this right, this behaviour is by design <g>.
If You edit a field .... Ahh no, it's buffered.

I guess it's because of the relation to the non-buffered. Did You try to buffer the
other one too? As You're not updating it, it would not make a difference and to be sure
You could tablerevert() at the end. I also would open it in updateable mode (needed for
the tablerevert() anyway) and make the columns that You do not want to be updated RO as
well as the columns' textboxes.

How about working with a view? That way You could get rid of the relation. Make the lookup-
fields non-updatable and You should be set. You could create it on the fly (in a dummy-database
if You like) and destroy it afterwards.
Regards from Berlin

Frank

Dietrich Datentechnik (Berlin)
Softwarekombinat Teltow (Teltow)

Frank.Dietrich@dd-tech.de
DFPUG # 327
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform