![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi - I have a FPW 2.6 application on a network. I have a screen where the user can click a button to open a browse window to edit some records. When two users are (un-intentionally) on the same record it gives a message that the record is locked by some user and kicks one of the user out of the application - back to the windows OS. I understand that the browse window will lock a record when a user edits the record. How can I make it come up with a 'smart' message that the record is locked by some user and give an option to 'Wait' or exit to a menu and not get kicked out of the application. |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
No. The exclusive is not set on. |
#5
| |||
| |||
|
|
Basically, it comes down to error handling. A record lock contention is treated by FP as an error. You need to handle this error in your code (actually you need to handle ALL errors) and tell the program to resume after a record lock error. There are many sites that will give you code for writing error handlers. Techo Guy On 17 Jan 2005 07:08:26 GMT, shahjagat (AT) aol (DOT) com (ShahJagat) wrote: No. The exclusive is not set on. |
#6
| |||
| |||
|
|
There are many sites that will give you code for writing error handlers. |
|
Techo Guy |
![]() |
| Thread Tools | |
| Display Modes | |
| |