in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

One to Many relationship selection using lookupedit

Last post 11/13/2008 1:15 PM by Ray Veenema. 3 replies.
Page 1 of 1 (4 items)
Sort Posts:
Previous Next
  • 11/12/2008 9:41 PM

    One to Many relationship selection using lookupedit

    I have a customer object that has a one to many relationship to 'type off' customer where the 'type off' is based on rows in a 'type off' table.

    i.e.:

    A customer object can have one or more associations/relations with rows in the following 'Type Off' table:

    Internal Client
    Contractor
    Supplier
    Shipper

    I am at a loss on how to get this resolved in XPO.

     

  • 11/13/2008 12:11 AM In reply to

    • Jim Clay
    • Top 200 Contributor
    • Joined on 1/14/2008
    • Sandpoint, ID
    • Posts 57

    Re: One to Many relationship selection using lookupedit

     This looks more like a Many to Many relationship to me if the cusomer object can be assigned to multiple types and a type can be assigned to multiple customers.  There are several Many to Many references in the knowlege base and there is a brief tutorial in the XPO documentation.

    Of cource I just searched and couldn't find anything Angry  I know I have found them before.  If no one gets back by the morning, I will look in my printed documentation at work.  I know I have something printed on this from the DX site.

    Jim

  • 11/13/2008 12:56 PM In reply to

    • Jim Clay
    • Top 200 Contributor
    • Joined on 1/14/2008
    • Sandpoint, ID
    • Posts 57

    Re: One to Many relationship selection using lookupedit

    Here is the link to the article I was thinking about.  For some reason I can't seem to get it to come up in a search.

     http://www.devexpress.com/Support/Center/KB/p/A920.aspx

    Jim

  • 11/13/2008 1:15 PM In reply to

    Re: One to Many relationship selection using lookupedit

     For some reason I was thinking it is a One to many relationship and it is not. Tongue Tied

    I created the many to many relationship and it works like a charm.

    Learning more every day. :)

     

    Thanks

Page 1 of 1 (4 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED