I am using Sharepoint for a data source. One of the fields in the main list is a lookup column. In the lookup table there are additional columns related to the lookup value. I wanted to show a number of field from an item on the main list, which is easy using a form viewer, but I am having trouble finding a way to show the lookup table columns. I added a 2nd FormViewer below the one showing the fields of the main item. I set the DataSource to the lookup table list, but I don't know what to put in the Item field. I tried the id (BrowseGallery1.Selected.BU.Id), but that didn't seem to work. Neither did the Value. Does anybody know how to do this?
How did you set up the lookup field on your main list? Did you choose the additional fields that you want to display? if you did, then you can access those additional fields by using YourLookupField.AdditionalFieldName