|
-
Jul 12th, 2000, 10:49 PM
#1
Thread Starter
Fanatic Member
Dear All,
I'm trying to use DSN-less Connection, and I use SQLOLEDB.
My Open Connection Syntax :
myConn.Open "Provider=SQLOLEDB; Data Source=server name; Initial Catalog=database name; User ID=username; Password=password"
Well, my statement run well. But, when I try to use it on recordset, and when I want to update my record, an error occured (The Operation requested by the application is not supported by the provider)
My Record Syntax :
myRec.Open "select * from pwdexport where ...", myconn, adOpenDynamic, adLockOptimistic, adCmdText
myDate=Date()
myRec!last_on=myDate
myRec!Used='Y"
myRec.Update
myRec.Close
When my code run at myrec!last_on=myDate, the error occured.
Could anybody help me please ASAP ???
Thx a lot for any kinda help.
Regards,
Wen Lie
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
|