Help explain code

kenshinx1

Registered User.
Local time
Today, 16:16
Joined
Nov 21, 2006
Messages
24
Can someone explain what the following code does.Thanks in advance


Set dbUser = DBEngine.Workspaces(0).Databases(0)
Set rsUser = dbUser.OpenRecordset("SELECT User.UserName FROM [User]WHERE (((User.UserName)='" + txtUserName + "'))")
 
1. dbUser - Setting a variable to the current database
2. rsUser - Setting a variable to a recordset represented by the Select statement included.
 

Users who are viewing this thread

Back
Top Bottom