I support a program written in VPF6.0 in a network environment. Users are getting this error message, "Waiting for lock", most of the time.
Can anyone please explain why is this happening? Appreciate it.
If in the Main.PRG, if you put the code....
SET MULTILOCKS ON
SET REPROCESS TO AUTOMATIC
The second user wanting to lock and do his locking will wait for the first user to unlock and then automatically continue his operation. But remember, bad coding.. to the effect that the second user is made to wait permanently as if the system hung up. Between the locking and unlocking, there should be no user interaction.
Hope this helps you.
ramani :-9
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
LET KNOW IF THIS HELPED. ENOUGH EXPERTS ARE HERE TO HELP YOU OUT! BEST OF LUCK
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.