When I try to execute sql query from delphi7 it throws the
following exception ORA-01704: string literal too long. I
know the reason why its throwing this exception. My problem
is.... I have catched this exception throw Try.... Except
block.....In except block i am performing rollback..... due
to above error its also throwing exception in rollback
transaction...........due to rollback
exception...........it had created some problem in
connection...........every time when i try to open or close
a connection it throws an exception " Operation is not
allowed when the object is open"
Answer / tazeem ansari
Whenever open an connection database fisrt close it
fist line of code is close connection.
or your database table is open close it from database .
| Is This Answer Correct ? | 1 Yes | 0 No |
Why Delphi drawing functions draw one pixel short?
How to Set Up a C++ Builder or Delphi Form to View InterBase Data?
How to Change the display mode settings in code?
How to Copy contents of a control to the clipboard?
Why Non-blob column in table required to perform operation with Oracle ?
How to send a response early in a web application action?
Why won't the virtual key codes work in program?
How to do a locate on a non-indexed field?
I'm using Delphi 4/5 and have am trying to fill a RichEdit control with both European characters and Thai characters - while I can change character colours the font stays with what was selected for the control:- reLangB.SelAttributes.Color :=dCol; reLangB.SelAttributes.Name :=FontName[dLang]; reLangB.SelAttributes.Charset :=FontChar[dLang]; reLangB.SelAttributes.Style :=[]; reLangB.Lines.Add(dText); The FontName and FontChar arrays contain the font info, and using a similar method for Captions and EditBoexes works! Anybody any ideas? Thanx in advance!
What is "Error 113" during installation?
How to DetermineDrive Type ?
How to do Sorting on Calculated fields ?