Paul McNett schrieb:
> Ed Leafe wrote:
>> On Jan 28, 2009, at 11:39 AM, Paul McNett wrote:
>>
>>>> What's the right method to bind controls not directly to a bizobj  
>>>> but to
>>>> a DataSet which may contain only part of the data?
>>> Set the DataSet property.
>>>
>>> self.Testgrid.DataSet = ds

I really shouldn't have overlooked that in the documentation!

>>      That will work with grids, but not controls in general. I was  
>> actually thinking about a filter() method for dBizobj that mirrors the  
>> behavior of filters in dDataSet: you can apply them and remove them in  
>> a LIFO manner. Never had the time to implement it, though.
> 
> That sounds like a good idea. You lose so much functionality by using 
> datasets 
> directly as opposed to using bizobjs.
> 

That sets me thinking. Suppose I've got my grid to show the correctly
filtered data - the next step is choosing one record and editing it in
another panel. If I understand you, then that wouldn't work with a
dataset as it does with the bizobj itself.

So probably changing the UserSQL is the way to go - but dBizobj.filter()
would really be comfortable. Or simply "removeWhere()" - more or less
the same thing, I think.

Thank you
Sibylle


_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/4980c071.4020...@t-online.de

Reply via email to