Results 1 to 2 of 2

Thread: batchupdate

  1. #1
    Guest

    Post

    I am just trying out the batchupdate method on a recordset and I am getting an error: "Insufficent base table information for updating or refreshing", when I issue the .updatebach method.

    This is my code:

    strSql = "SELECT TABLE.* From TABLE WHERE TABLE_REPORT)=True));"
    With rstBatchUpdate
    .ActiveConnection = mstrConnection
    .LockType = adLockBatchOptimistic
    .CursorLocation = adUseClient
    .CursorType = adOpenKeyset
    .Open strSql, Options:=adCmdText
    .MoveFirst
    Do Until .EOF
    .Fields("EFSPROD_REPORT") = false
    .MoveNext
    Loop
    .UpdateBatch
    .Close
    End With

    What am I missing here, any clues?

  2. #2
    Guest

    Post

    I can dig why there are no responses to this topic - it works. Well, that is to say, it works on the server at work, not on my zip drive at home. Usually its the other way around.

    curious.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width