I have a database connection to access
and visual% excel
How can I make the code for the query that allows me to send a msgbox
that tells me if the user is already registered?
I know that recordset
is occupied
The code I have:
reuc.Open "SELECT usuario" & "FROM Usuarios" & "WHERE usuario='" & TXT_USER.Text & "' "
I want to know what value this one throws, if so it can be put in a if
:
if reuc = TXT_USER.TEXT THEN
msgbox "Usuario existente"
end if