RE: SP Problem With VB6
You could have coded your SP as follows CREATE PROCEDURE usp_check_login @username varchar(20), @password varchar(20) AS SET NOCOUNT ON SELECT user_id, user_active as login_active, user_loginattempts as login_attempts, user_type FROM tbl_user WHERE user_username = @username AND user_password = @password RETURN @@ROWCOUNT GO That way you could use your RETURN_VALUE to determine whether or not your user […]
2003-12-23
3 reads