Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1015
Accessing data from a second level child row
posted

I have a WinDataSource which has 2 levels of child bands.

1st band - order header information

2nd band - items being ordered

3rd band - warehouse locations for each item

I can access the data in the 2nd band by

Dim ItemRow As UltraDataRowsCollection = dsOrder.Rows(rowSelected.Index).GetChildRows("bndItems")

but I can't seem to figure out how to get the data in the 3rd band. Both of the following don't work

Dim LocRow As UltraDataRowsCollection = dsOrder.Rows(rowSelected.Index).GetChildRows("bndLocations")

Dim LocRow As UltraDataRowsCollection = ItemRow.GetChildRows("bndLocations")

What's the proper code for getting data from the lower level bands.

Thanks

Parents Reply Children