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 Posted / 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 |
Post New Answer View All Answers
How to Place multiple copies of a component on a form?
How to make sure the function DLLPROC is called when your DLL is unloaded?
How do I close a modal form? For that matter, what is the best way to close any form?
What is the message "Generating font matrix" when starting Kylix?
How to use a true DWORD value passed to Delphi application?
Are there any tools to help me migrate my applications to Delphi?
'Interface mismatch. Engine version different' . what does this error indicates?
What are the different types of inheritances present in delphi?
How to Move a form by clicking in its client area ?
How to Create resource files?
How to move a string into a TMemoryStream or TFileStream?
How to Change font color on standard win controls?
How to Return application's exit code?
How to Use escape codes with the format() function ?
How to Call an IB stored procedure using TStoredProc?