Results 1 to 3 of 3

Thread: [RESOLVED] Query to complex- How to use multiple table adaptors with a single binding navigator

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2007
    Posts
    88

    Resolved [RESOLVED] Query to complex- How to use multiple table adaptors with a single binding navigator

    I am using VB2005 with ACCESS2003 Database and run into the problem of too many fields in a database table. I can bind to the database and fill my datatable, but I can not update the database without getting the “Query too Complex” error. I currently have ~115 fields in a single table and all of these fields are unique and associated with each record.

    I can break the data into two tables, but I have run into the problem of having two table adaptors, two binding sources, etc. That is fine, but how can I navigate through the datatables with a single binding source navigator? The two datatables need to be in sync because combined they complete a record dataset.

    I believe I have read all the relevant posts, but I have not yet found a solution. I have loaded the SQL server on my PC, but this is really foriegn to me and I prefer to stick with ACCESS DB if possible.

    Any guidance is really appreciated in advance.

  2. #2
    PowerPoster stanav's Avatar
    Join Date
    Jul 2006
    Location
    Providence, RI - USA
    Posts
    9,290

    Re: Query to complex- How to use multiple table adaptors with a single binding navigator

    Write your own insert, update and delete queries and assign them to the dataadapter. I once worked with an Access DB wich had a table with about 240 columns and that was what I had to do.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Aug 2007
    Posts
    88

    Re: Query to complex- How to use multiple table adaptors with a single binding navigator

    That sounds like good advice... more work, but good advice. Thanks.

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