|
-
Dec 7th, 1999, 08:50 PM
#1
Thread Starter
Member
Hello!,
I am getting type mismatch error when I call vbsql functions.
Private Sub Command1_Click()
Dim result As Long
'Get a Login record and set login attributes.
Login = SqlLogin()
LoginID = Text2.Text
passwd = Text3.Text
result = SqlSetLUser(Login, LoginID)
result = SqlSetLPwd(Login, passwd)
result = SqlSetLApp(Login, example)
'Get a connection for communicating with SQL Server.
Server = Text1.Text
Sqlconn = SqlOpen(Login, Server)
End Sub
At the SqlSetLUser call the error is returned. The return is 'long' defined in the vbsql.bas
Can anybody help?
------------------
ganraj.
[This message has been edited by ganraj (edited 12-08-1999).]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|