|
-
August 16th, 1999, 11:03 AM
#1
Recordset.AddNew
lstrCommand = "select * from MyTable"
With rs.Fields
.Append "col1", adInteger
.Append "col2", adInteger
End With
rs.Open lstrCommand, cnn, , , adCmdText
rs.AddNew
---->The operation requested is not supported
by the provider ???
Note: the Recordset is opened sucessfully
Thx
-
August 16th, 1999, 11:34 AM
#2
Re: Recordset.AddNew
Never mind
The problem is I set
rsTable.LockType = adReadLockOnly
It should be
rs.LockType = adLockOptimistic
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
|