Page 1 of 1
How to access error message
Posted: Thu Jul 19, 2001 1:54 pm
by carsten.harnisch1
I tried using n_dotsql() to fire a single sql statement. Actually I got an error (missing

and so the buffer in se->f->buf got filled. Anyway n_dotsql reported 0 as no error condition. How to access the error message in se->f->buf ? I only saw the putmsg thing which are not adaptable as I do not have a UI.
How to access error message
Posted: Thu Jul 19, 2001 2:02 pm
by mark
Putmsg doesn't require any kind of ui. You may do whatever you wish with the messages you intercept with your own putmsg() function. See
http://www.thunderstone.com/site/texisman/node241.html
How to access error message
Posted: Thu Jul 19, 2001 2:09 pm
by carsten.harnisch1
Isn't there just only a function to check if there is an error and then access the error-text ?
How to access error message
Posted: Thu Jul 19, 2001 2:14 pm
by mark
Not really. You can create one by writing a putmsg that will store the message for later retrieval.