ade_errpushstatement

Land Desktop Development ARX CPP SDK

Up a level
ade_errpushstatement
 
 

Pushes a faulty SQL statement to the error stack.

int

ade_errpushstatement(

char* statement,

int position);

Returns RTNORM or an error code.

statement Faulty statement that caused the error.
position Starting position of the error in the faulty statement. Position 1 corresponds to the first character.

This function is designed to add diagnostic information to an error you have just pushed. It is associated with the latest error in the stack only. A call to ade_errpushstatement makes sense only if a call to ade_errpush immediately precedes it.