OK.. Did some more debugging - thanks Lonk!


IF @error<>0 ?"Error code is: "+@error +" and "+ @serror GET $k ENDIF
;Open the Computer Recordset
$sql_computers="SELECT * FROM TBL_COMPUTERS WHERE WORKSTATION='"+@wksta+"';"
IF @error<>0 ?"Error code is: "+@error +" and "+ @serror GET $k ENDIF

And the error is -

Error code is: -2147352567 and COM exception error "NextRecordset" (ADODB.Recordset - Current provider does not support returning multiple recordsets from a single execution.) [-2147352567/80020009]

Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's