Użytkownik John Fabiani napisał:
> I have always wondered if there where better ways to deal with a dynamic
> changing datasets. Is there a way to setup the bizobj in createBizobj that
> would allow the dynamic dataset to follow a bizobj? For example is there
> someway to use the ParentLinkField and LinkField of a bizobj to allow a one to
> many relationship to follow multi-where parameters?
>
Hi.
By default, Dabo doesn't support compound FK fields.
Maybe I'm wrong, but other options are limited too.
Personally, I use remarkable modified framework code that allows:
1) compound FK keys, like "table1.fld1,table1.fld2"
2) use dBizobj attributes as data fields,
e.g. dTextBox(parent, DataSource=bizOne, DataField="myAttribute")
But I think, that simplest solution for you, it would be
to overwrite dBizobj.setChildLinkFilter() mehod to return
parameter tuple as you need.
You may also use mehod used in dabo.lib.datanav package.
--
Regards
Jacek Kałucki
_______________________________________________
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]