Hi, I have an access front end and SQL Server Backend.
I have created a form for users to enter username and password to get gain entry to the Access Front End. My problem is that the SQL Server Login then requires a UserName and Password.
I want to be able to automatically fill in the SQL Server Username and Password from the VBA code in the Access Login form.
So basically if the user enters the right username and password then the program should automatically enter in the SQL Login and SQL Password.
I have no idea how to enter the SQL Login and Password from the code.
Anyway know the syntax for this???
I have created a form for users to enter username and password to get gain entry to the Access Front End. My problem is that the SQL Server Login then requires a UserName and Password.
I want to be able to automatically fill in the SQL Server Username and Password from the VBA code in the Access Login form.
So basically if the user enters the right username and password then the program should automatically enter in the SQL Login and SQL Password.
I have no idea how to enter the SQL Login and Password from the code.
Anyway know the syntax for this???
Last edited by a moderator: