howdy:

I have a Windows application where I get 2 diff results from SQLCA.SQLCODE on a SELECT statement:

select count(*) into :ii_user_cnt
from std_users
where login_id = :arg_login_id;

If I run the app (EXE) that contains the above SQL statement on a client running Windows98 connecting to SQL Server
7.0 via ODBC it works fine. SQLCA.SQLCODE = 0

However when I run from Windows NT 4.0 server the same application, SQL returns a -1 SQLCA.SQLCODE.

I'm running the same .EXE file from the same location - just accessing from diff machines.
one is my client PC - the other is the NT box running SQL Server.

any thoughts? also - should I call MS tech support or front end vendor tech support? (sybase)

TIA
deanna