Hello,
I am trying (unsuccessfully ) to display a Master-Detail-Detail records. The
problem comes in the second detail grid. The first detail grid is
displaying correctly but it is not controlling the second grid. Here is
some code that I am using to initialize the binding:
txtName.DataBin dings.Add("Text ", dsFundOwner, "FundOwner.Name ")
txtNote.DataBin dings.Add("Text ", dsFundOwner, "FundOwner.Note ")
txtInformationS ource.DataBindi ngs.Add("Text", dsFundOwner,
"FundOwner.Info rmationSource")
txtLocation.Dat aBindings.Add(" Text", dsFundOwner, "FundOwner.Loca tionState")
txtCountry.Data Bindings.Add("T ext", dsFundOwner, "FundOwner.Coun try")
txtFounder.Data Bindings.Add("T ext", dsFundOwner, "FundOwner.Foun der")
txtTotalManaged .DataBindings.A dd("Text", dsFundOwner,
"FundOwner.Tota lManaged")
txtTotalManaged Notes.DataBindi ngs.Add("Text", dsFundOwner,
"FundOwner.Tota lManagedNotes")
txtRaiseNewFund .DataBindings.A dd("Text", dsFundOwner,
"FundOwner.Expe ctedToRaiseNewF und")
txtNewFundDate. DataBindings.Ad d("Text", dsFundOwner,
"FundOwner.Expe ctedToRaiseNewF undDate")
dgSubsidiaries. DataSource = dsFundOwner
dgSubsidiaries. DataMember = "FundOwner.Fund Owner_Subsidiar y"
' This grid is not displaying correctly when the dgSubsidiaries record
pointer is changed
dgFunds.DataSou rce = dsFundOwner
dgFunds.DataMem ber = "Subsidiary.Sub sidiary_Fund"
Any Suggestions?
Thanks,
Dan