Log in error

S

SF

Hi,

I have one form for user to login consist of two fields, txtUserName and
txtPassword. I have one button that have the following code.

dim oConn as new ADODB.Connection
dim cnStg as string

cnStg = "Persist Security Info=False;Data Source=LC2000;Integrated
Security=SSPI;Initial Catalog=SFKC;Data Provider=SQLOLEDB.1"
Set oConn = CurrentProject.OpenConnection(cnStg, Me.txtUserName,
Me.txtPassword)

I got error message

SF
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top