?
Solved

FORMS v4.5 - COULD NOT RESERVE RECORD message

Posted on 2001-08-08
7
Medium Priority
?
3,156 Views
Last Modified: 2007-11-27
in Forms v4.5, I am attempting to delete a record when my DELETE button is fired. And this message keeps appearing.


COULD NOT RESERVE RECORD (2 tries) KEEP TRYING?

 Actually, the message appears even if I try to update the record, not only deleting it.
 
What is it? and are there some other ORACLE commands pertaining to record locking that I might need to use?
 
0
Comment
Question by:joekeri
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 2

Expert Comment

by:davdonin
ID: 6364785
This usually means that the record is locked by a different session. Are you sure that it is not updated or deleted by another session, which has not been commited yet?
0
 

Author Comment

by:joekeri
ID: 6364823
i am the only person accessing that table. The instance I am in is for my exlcusive use.
0
 

Expert Comment

by:bbchang97
ID: 6364845
This could also happen if you've some codes that will change the data as well.  Check if there's any pre- , post- triggers that will modify the same columns, default data, etc.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Expert Comment

by:bbchang97
ID: 6364848
Check also if there's any database trigger that might modify the same column as well.
0
 
LVL 2

Expert Comment

by:RMZ
ID: 6364869
hi
this due to another session lock this record(update or delete)
there 2 way
1-if u want only one session lock this record and when another session use this record oracle tell u this message
2-if u want all session can acess this record but last commit done and don't give u message change data block
property (locking mode to be delayed)
note:
the default locking mode is automatic
---rmz---
0
 
LVL 35

Accepted Solution

by:
Mark Geerlings earned 150 total points
ID: 6364890
I agree with davdonin, that's what this message means in Forms4.5 (and Forms5 and Forms6) - the record is locked by another session.  Since this instance is exclusively for one user, shut down and restart the instance, then try the delete again.  If it works then, there was a session left in the database that was holding a lock.  This can happen if a user ever does a [Ctrl]-[Alt]-[Delete] to cancel a client session after starting to make a change or delete in an Oracle form, but not committing it.  The other option is to log on to SQL*Plus as a DBA and look for, then "kill" any sessions holding locks (that shouldn't be) or sessions that are no longer connected to a client process.
0
 

Author Comment

by:joekeri
ID: 6365580
We tried yoru suggestion and it worked perfectly.

Thank you for your time and effort.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question