Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How would you solve this one
Message
From
11/05/1999 19:14:10
 
 
To
11/05/1999 18:19:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00217516
Message ID:
00217545
Views:
27
>Suppose a situation :
>- a header-detail form (1 to many as you wish)
>- detaillines are created with a primary key that is a simple integer, which comes from some counter-table
>- Transactions are used so if the user decides to cancel, the entries can be rolled back
>
>The problem is :
>2 simultanous users can't use this form because the record holding the detailline number (its pimary key) is kept locked during the transaction.
>
>Any suggestions ???

I assume you're keeping the record lock so that you can recover the used primary key number? If this is the case, you should just let them get used and discarded if not saved. Just be sure to make your counter field and PK field long enough to accomodate the larger numbers.

HTH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform