
Originally Posted by
jbob
When two people try to use the form simultaneously, the form will crash for one user saying the shared drive is in use and cannot be accessed. Is there a way to stop this?
What you probably need is a quasi-locking mechanism that allows users to wait until the file is available on the network drive. Two such scenarios are (pseudo-code):
1. Wait until the file is available:
2. Create a temporary 'Canary' file that indicates the file is busy:
2A. Create two temporary 'Canary' files that indicate the file is busy (there may be a race condition that causes Scenario 2 above to fail):
Lewis
Bookmarks