Table locking

fvefve Member Posts: 28
We get the following message:

The table is locked by another user wait until user completed operation.

Is there some way we can make a personal error-message that shows the user that is locking the db?

Comments

  • krikikriki Member, Moderator Posts: 9,110
    It is not possible. The error is not on C/AL level, but on a lower level.
    The only thing you could do is use TSQL to get the User who is locking this user. But I wouldn't know how to program it.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • DenSterDenSter Member Posts: 8,305
    You can't catch and/or personalize that particular error message, it is raised internally by the exe's.
  • kinekine Member Posts: 12,562
    Better is to optimize your DB to not lock tables for a long time and to see this message lesser time than now. 8)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.