cSQLStatement class has SQLExec and SQLExecDirect procetures. They are not functions, so they has no return error code..
How can we assure the statement got executed succesfully ?
Only by checking (err) global variable ?
Code:
Send SQLExecDirect of hoStatement sSQLDel
If (Err) ....
What if the SQLCODE/SQLSTATE returned by the database engine in not a real error, but just a warning instead, which in some/several cases can just be ignored ?
I feel that just relying on (err) variable is not much "reliable". (sorry by the wording..., but that's exactly what I mean... )