Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What prevents INSERT/APPEND?
Message
From
09/04/2024 07:40:34
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
09/04/2024 06:24:22
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01687819
Message ID:
01687844
Views:
38
>That said, there's still something weird going on. I omitted another complication in the original message because it didn't seem relevant here, but now I'm not so sure. The application is designed so that this table (and a couple of others) reuse older records. (Since this is an activity log, we don't need to keep the data forever. The customer chooses whether to reuse records, and if so, how long to keep each record.) Even with the new code that closes the table in one session, in the other session, I'm able to find a record old enough to reuse, but unable to lock it. That makes no sense since in my test scenario, there are only two sessions and the table is open only once in one of them. The attempt to add a new record (which is now working) doesn't happen until we fail to find a record old enough to reuse or fail to lock the record we find.
>
>Tamar

Tamar,

Just to be curious. What happens if you close / reopen your table and issue the Messagebox now?
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform