//Create the data set for 1st or last half of table public mmDataSet GetCoverageList(string listHalf) { string listHalfTable; if (listHalf == "A") listHalfTable = "CvgCheckListA"; else listHalfTable = "CvgCheckListB"; mmDataSet ds = (mmDataSet)this.GetDataSet("CoverageTypeSelectByHalf", listHalfTable, this.CreateParameter("@ListHalf", listHalf)); return ds; } //HookPostGetData method to set the order for the table CvgCheckListB protected override void HookPostGetData() { if (this.CurrentTableName == "CvgCheckListB") { mmDataSet ds = (mmDataSet)this.GetCurrentDataSet(); // Create a custom DataView sorted by date and coverage type // Check if the DataView already exists DataView dv = (ds.GetDataView("dvCvgCheckListBByType", this.CurrentTableName)); if (dv == null) { dv = new DataView(ds.Tables["CvgCheckListB"]); dv.Sort = "CoverageType asc"; ds.AddDataView(dv, "dvCvgCheckListBByType"); } this.StoreDataRow(dv); } }In the mmBusinessForm, I have:
InitializeComponent(); . . . dsCvgCheckListB = this.oCoverageType.GetCoverageList("B"); dvCvgCheckListB = dsCvgCheckListB.GetDataView("dvCvgCheckListBByType", "CvgCheckListB");As far as I can tell, I have typed everything in exactly as entered in the DevGuide. What am I missing?