Article ID: 134721
Article Last Modified on 2/22/2005
****************************
* Example of using AERROR()
*
dsource='test'
Handle=SQLCONNECT(dsource,"","")
IF HANDLE<0
retval=AERROR(atmp)
errval=atmp(1,1)
errmsg=atmp(1,2)
WAIT WINDOW STR(ERRVAL)+": "+ERRMSG
ENDIF
**************************** * Example using SQLSETPROP() * retval=SQLSETPROP(0,"DispWarnings",.T.) * The "0" parameter above creates a "dummy" channel to turn Dispwarnings on dsource='test' Handle=SQLCONNECT(dsource,"","") && Error returning line
Additional query words: VFoxWin ck
Keywords: kbhowto KB134721