' We want to handle position changing events for the DATA VCR Panel ' Position is managed by the Form's BindingContext so hook the position changed ' event on the BindingContext AddHandler Me.BindingContext(oVisitorType).PositionChanged, AddressOf VisitorType_PositionChanged ' Set up the initial text for the DATA VCR Panel VisitorTypePositionDisplay.Text = String.Format("Record {0} of {1}", (Me.BindingContext(oVisitorType).Position + 1), Me.oVisitorType.GetCurrentDataSet.Tables("VisitorType").Rows.Count)The section that sets the initial text for the DATA VCR Panel throws an exception: