ok, like I said, you have output which makes the console window in wkix32...
you might wonder what is the output.
it is your:
code:
CLS
color w+/n

at the start of the script.

then, I saw something which gives you some improvement in the script.
if @error <> 0
is just the same as:
if @error

also, you might not have heard, but there is ability to "$" as "nul-device"
this means, if you want to trash the output in console you do:
>nul

which means you just "kill" the output.
the same is many times done by using:
$=mycall("pff")

this way, all unneeded return codes can be throwed to "void".

what comes to not working error check in
$SQLExe = DBExecuteSQL($objConn,$sql,)

what you mean by that?
does it output error or not?
_________________________
!

download KiXnet