How to access error message

Post Reply
carsten.harnisch1
Posts: 37
Joined: Fri Jul 13, 2001 12:27 pm

How to access error message

Post 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.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

How to access error message

Post by mark »

carsten.harnisch1
Posts: 37
Joined: Fri Jul 13, 2001 12:27 pm

How to access error message

Post by carsten.harnisch1 »

Isn't there just only a function to check if there is an error and then access the error-text ?
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

How to access error message

Post by mark »

Not really. You can create one by writing a putmsg that will store the message for later retrieval.
Post Reply