strConnectionString = [Driver={SQL Server};Server=OTT-LT1026;Database=kba_sql;Uid=sa;pwd=] strConnectionString = [Driver={SQL Server};Server=OTT-LT1026;Database=kba_sql;Trusted Connection] strSQL = [select * from claims where 1=1 ] && or what ever sql statement you are passing. csrCursorToBeReturned = [csrNames] intHandle = SQLSTRINGCONNECT(strConnectionString) intResults = SQLEXEC(intHandle, strSQL, csrCursorToBeReturned)but the sql serve manager connects just fine