TableAdapter relation

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rick

    #1

    TableAdapter relation

    VB.Net 2005

    I'm new to .net and obviously don't understand something about how
    parent/child relationships are setup for TableAdapters.

    I have two tableAdapters Customer and Orders and a relationship setup
    between the two Customer->Custnum = Orders->Custnum

    When I put a few edit controls on the windows form and scroll through the
    Customer records the Orders record never moves off the first one.

    What am I missing to get the Orders table to reposition itself with the
    Customers table?

    Rick


  • Rick

    #2
    Re: TableAdapter relation

    I found it.

    I was not using the table that was related to the master, but the other
    unrelated one in the Data Sources tab

    "Rick" <Rick@LakeValle ySeed.comwrote in message
    news:%23Sbj4wj7 GHA.4552@TK2MSF TNGP05.phx.gbl. ..
    VB.Net 2005
    >
    I'm new to .net and obviously don't understand something about how
    parent/child relationships are setup for TableAdapters.
    >
    I have two tableAdapters Customer and Orders and a relationship setup
    between the two Customer->Custnum = Orders->Custnum
    >
    When I put a few edit controls on the windows form and scroll through the
    Customer records the Orders record never moves off the first one.
    >
    What am I missing to get the Orders table to reposition itself with the
    Customers table?
    >
    Rick
    >

    Comment

    Working...