Michael,
>I have an mmMaintenanceForm with controls bound to a DataView in a BusinessObject. The controls are not disabling when there are no rows shown in the DataView. The underlying DataSet/Table does have rows, but the filter on the DataView excludes any rows from showing. I tracked the reason for this down to mmBindingStrategy.BindValueData(ImmBindingList mmControl, DataView dv,mmBusinessObject bizObj). The call in this method to SetEnabled passes the BusinessObject and the table name from the DataView, which in turn gets the row count of the underlying table, not the number of rows in the DataView. Is there any reason to do this for a control that is bound to a DataView? Or, could the call to SetEnabled simply pass the control object and the DataView.Count?
I'll check into this and get back to you.
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com