Results 1 to 2 of 2

Thread: How to update the recordset supported by view

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2000
    Location
    brooklyn
    Posts
    48

    Post

    I populate a recordset with a view which consists of a union
    everything goes well except when I update the recordset.

    I got a error message "unable to update a riew with a union.". AnyBody has any solve the Problem?

    Thanks a lot for any Tips

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    If you have a Union query undelying the recordset, then you can't update the recordset. Also, the same goes to a recordset that has joined tables in SQL statement.
    Just think about it. Using Union, you combine more then one Select statement (possibly more then 1 table), now, how the database would know which table you want to update? The solution would be either write an update SQL statement that will update the table or create a recordset that is updatatable.

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