locked
HTMLClient Add link to parent in child record RRS feed

  • Question

  • Hey all,

    A quick question. I have two tables that have a one to many relationship: Invoices and Jobs. Jobs can have zero or one Invoices, and Invoices can have many jobs.

    If I go into Job I can select the Invoice to link to, but I want to be able to add jobs to an invoice. I don't really want to go into each job and set the Invoice. I'm not sure how to do it from the child record. Can this be done? Easily? ;-)

    Cheers,

    Adam

    Wednesday, November 9, 2016 5:46 AM

All replies

  • Hi Adam,

    From your description above, you need set one to many relationship between Jobs and Invoices, and add Invoices to Jobs. this might help you: Define Data Relationships in LightSwitch

    Best regards,

    Angie


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, November 14, 2016 12:38 PM