This Forum is ARCHIVE only
For LightSwitch questions,
please use the official forums at:

http://social.msdn.microsoft.com/forums/en-US/lightswitch/threads


Retrieve data from a not linked Table
Last Post 19 Aug 2013 10:43 PM by mdrattitude. 1 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
ClemUser is Offline
New Member
New Member
Send Private Message
Posts:5
Avatar

--
19 Aug 2013 07:31 PM
    Hello,

    Here is a sum up of the situation :

    I have 3 tables : A linked to B which is linked to C (A -> B -> C).

    I created a screen from the entity A. On this screen i display data from the related entity B. So far no problem.
    I also display a datagrid with data from the entity C related to B (data are displayed correctly).

    My problem here is that i want to manage to cases using values of C.

    I tried to get these data using :
    • this.A.B.SelectedItem.C: no result
    • C : no result
    • B.SelectedItem.C : no result

    I can't find out how to get these data. I'm sure there is a way as on the screen i can see the correct values. but how can i get it programatically ?

    Thanks a lot for your help.
    Clément

    ClemUser is Offline
    New Member
    New Member
    Send Private Message
    Posts:5
    Avatar

    --
    19 Aug 2013 10:43 PM
    I just found out the issue.

    I was trying to retrieve the data using a linq query in a ControlAvailable function ...
    You are not authorized to post a reply.


    Microsoft Visual Studio is a registered trademark of Microsoft Corporation / LightSwitch is a registered trademark of Microsoft Corporation