data diagrams, dataset, please help

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi all (Using VS 2005, vb.net)

Ok, I might be missing something *HUGE*, so please excuse me, I'm starting
to get a little desperate to understand this now. My confusion is about
multiple tables - master/detail in particular.

Some background: 2 tables, master/detail: CUSTOMERS [1 to many relationship]
to ORDERS.

When I add a new datasource and the resulting dataset, I have both tables
separately appear under my dataset view (so far, I understand this).

I have also created a data diagram that links CUSTOMERS to ORDERS (as in the
above relationship)

This is where I'm confused:
When I expand the CUSTOMERS table, I also have the ORDERS table appear again
directly underneath the last field of CUSTOMERS table (obviously because of
my data diagram relationship).

Q1: If I have a master/detail relationship as I have just described, is it
necessary to create a data diagram? If not, how do I directly reference a
new record being added into ORDERS and have the Foreign Key (FK) be added
automatically? <-- Do i need to do this manually??

Q2: When I'm referencing the dataset, do I reference the ORDERS table that
appears part of the CUSTOMERS table or the *separate* ORDERS table that
appears?

Appreciate any help / link provided.

Cheers


.



Relevant Pages

  • Re: OpenVMS.org: Marvel article and HPs press release for Marveland Alpha Retain Trust Alpha Retain
    ... >> The 28% improvement from the VMS upgrade is just a side issue that you ... In an effort to show that there are happy customers that I could talk ... >that you are correct and that is what the reference refers to. ... >> except bland, experimental, generic benchmarks. ...
    (comp.os.vms)
  • Re: Function name not found
    ... are casual canned-software-only customers? ... I have an app that has just ... certain Reference changes from version to version in MDBs, ... Looking at you Startup function, the first thing I see is a DFirst ...
    (microsoft.public.access.modulesdaovba)
  • Re: OpenVMS.org: Marvel article and HPs press release for Marveland Alpha Retain Trust Alpha Retain
    ... > germane to my side of this discussion: They are happy customers. ... I asked you for references showing what performance improvements ... that you are correct and that is what the reference refers to. ... > VMS upgrade gave them an additional 28%. ...
    (comp.os.vms)
  • LINQ Classes in Separate Files
    ... /// Get the text description of the reference item for the ID ... var qry = from tbl in this.BillingTypeReferences ... public short GetId(string pDescription) ... LINQ class called Customers: ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Citibank Spyware Tracking Your Online Banking now Mandatory
    ... > Citibank has started forcing customers to allow 3rd parties to track ... I have no new cookies, no new OCX, no new java applets, no new nothing on ... banking facilities nor electronic payments as you stated would be the ... given the generic reference to what they "require" and a more ...
    (comp.security.misc)