We help IT Professionals succeed at work.
Get Started

O-00054 not coming up in ORACLE forms -  record is locked

422 Views
Last Modified: 2013-12-19
I have an application that does not load the form if the record is in use by another user. I am trying to get it to give a message to the user so it is clear what is happening and they can come back to the record later. So far so good - thanks to Experts Echange for getting me that far. I looked at other solutions,  and, based on them, put code in my on-error trigger so I could verify what code I am getting - I am expecting sqlcode -54. Problem is - although it attempts to lock the record and fails - I get ORA-0000 normal, successful completion
message ('Yes we have an error :' ||sqlerrm);

Open in new window

Comment
Watch Question
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE