Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SYS(1104) / FLUSH before UNLOCK
Message
From
27/04/2003 13:38:58
 
 
To
27/04/2003 03:29:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00781921
Message ID:
00781989
Views:
15
>(I've not really followed the thread..)
>How are xyou checking for existing records ?
>If you are using SQL, remember that records
>written to the buffer won't be seen by SQL.

Well, after our procedures, we do an UNLOCK. So, UNLOCK forces a writing to disk. So, in the next millisecond after, that should be seen by other instances of our application running on the same server.

However, now that I FLOCK() instead of RLOCK(), I didn't get a duplicate since yesterday. We'll wait until the end of tomorrow to be sure about the success of that change to be fully sure.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform