HI,
I have this userID that is used in a login form. It is returning and &H + integer. Strange as it was working fine . I dont have the slightest idea why.
--------------------------------------------Code:Public userID as integer bCheck = True 'indicates access permitted userID = CInt(Trim(cmd.Parameters("@userID").Value)) ' (userID = &H3 MessageBox.Show(userID.ToString) ' ( userID = 3)
Then if I try
Anyone knows what's the problem pls?Code:bCheck = True 'indicates access permitted (SuserID=3) SuserID = CStr(cmd.Parameters("@userID").Value) (userID=&H3) userID = CInt(SuserID) MessageBox.Show(SuserID)



Reply With Quote
