On Tuesday, April 19, 2011 10:31:27 am Jacek Kałucki wrote: > Użytkownik John Fabiani napisał: > > I see an immediate issue with the bizobj use. You assume that the bizobj > > is only used for the choices and keys. I often need to use the same > > bizobj in different ways and you can't use the same table twice in Dabo. > > Although, > > Actually, you can use the same data source unlimited number of times > with some limitations considering UI layer, > e.g. only the first instance of the particular data source can be accessed > with form getBizobj() method. > These limitations doesn't concern situation where you refer > your bizobjs as object form attributes.
As you suggest there are many problems - including moving the record pointer. I never realized how great an asset VFP's "USE AGAIN" was in my past life. > > > I have working mixin class I use for such tasks with most item controls > like dropdown list, list control, etc. > It's universal and can rely on bizobj, dataset or callable as his data > source. > If control is bound to the bizobj, all changes in Choices are handled > automatically. > I would like to share my code with you but I'm still lack of time to > document it well > and write few samples, what is even more important. > Maybe in next week I will got some free time and will try to put it on > wiki page. > > Regards > Jacek Kałucki Yes this would be a cool asset I'm sure. Johnf _______________________________________________ Post Messages to: [email protected] 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/[email protected]
