Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting Autocommit OFF inside Oracle Forms

Status
Not open for further replies.

kSozuner

IS-IT--Management
Jun 11, 2003
2
TR
I'm inserting rows in a loop (in a WHEN-MOUSE-CLICK event), and want to ROLLBACK when an error occurs.But than I realized that the inserts take place immediately.
Does anyone know howto set Autocommit Off inside Oracle Forms? Forms does not recognize the command :
SET AUTOCOMMIT OFF
Is there a way to do that?
 
Are you running against non-Oracle database?

Regards, Dima
 
The DB is Oracle8 and I'm using Forms 5.
 
I'm sure you're performing commit in code as the default (and probably single) mode in forms is AUTOCOMMIT OFF. Moreover, by default Forms makes all updates in base table during commiting form, thus eliminating interaction with server.

Regards, Dima
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top