masoud_sedighy
Registered User.
- Local time
- Yesterday, 19:54
- Joined
- Dec 10, 2011
- Messages
- 132
I would like to know, How to point to sql database from MS access form after upsizing MS access file to sql server and linking tables from MS access to sql server.
I mean If I made a sign in form in MS access for entering username and password and then click ok button, how to point to sql server database?
When I use MS access tables, I made a table in MS access file and put userId, Username and password field for managing that with something like below code:
<code>
Set db=DB engine (0) (0)
Set rst=db.openRecordset(“select tblUsers.Usename from tblusers where username=’”Me.txtUsername……)
</code>
For sql server how I have to do that?
How to login to sql server with txtUsername and txtPassword from MS access form and find users and roles in sql server.
I mean If I made a sign in form in MS access for entering username and password and then click ok button, how to point to sql server database?
When I use MS access tables, I made a table in MS access file and put userId, Username and password field for managing that with something like below code:
<code>
Set db=DB engine (0) (0)
Set rst=db.openRecordset(“select tblUsers.Usename from tblusers where username=’”Me.txtUsername……)
</code>
For sql server how I have to do that?
How to login to sql server with txtUsername and txtPassword from MS access form and find users and roles in sql server.