Results 1 to 2 of 2

Thread: Non-updatable Recordset?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2000
    Location
    Philippines
    Posts
    24

    Unhappy

    Good Day!

    I have a query which uses data from different tables.
    I use JOIN so that the recordset can be updated. If you run the query through MS Access 2000, you can easily edit the fields in the resulting recordset but if you run the query through VB6 ADODB 4.0(using the command object), the resulting recordset can't be updated. Worse, it generates a runtime error 3251 'The operation requested by the application is not supported by the provider'.
    What am I doing wrong?


  2. #2
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696
    unfortunatley, you can't use any recordset object in VB to update tables in a JOIN statement. the way to get round it, is to find the primary key's of the two table's then use seperate recordset's to uppdate the records

    Hope this helps

    Ian
    Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!

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