[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Error Management



Good day,

    I was wondering if SQR got some sort of error management. I would like
to catch all errors that are produce within the execution of a report. To
give you an example, let's pretend I'm using an input to get a date from the
user. Instead of validating if the date correspond to our edit-mask or if it
is valid, I would like to catch the error it produce on execution and
associate this with a procedure that would do some some of processing.
Giving the wrong date format produces that error:

(SQR 5528) ODBC SQL dbexec: SQLExecute error 317 in cursor 1:
   [INTERSOLV][ODBC SQLBase driver][SQLBase]00317 EXE DND Data is not a date

Error on line 242:
   (SQR 3723) Problem executing cursor.

SQRT: Program Aborting.

Does anyone can help... (SQR/4.0.3/PC/WINDOWS NT 4.0/ODBC Level1/Jun 11
1997)

Philippe Godin
CiM Maintenance Inc.
Philippe.Godin@videotron.ca