Użytkownik Vineet Deodhar napisał:
> If multiple 'LinkFields' is not supported , then how do I define
> multiple parents for a child?
>Simply, you can't. It's like paramecium, there is only one parent, no
more.
>But if you need such behaviour, you can override dBizobj.getParams()
method,
>e.g. for first relation use LinkField ("acid") and for the second
addWhere() method:
>
>...
> self.addWhere("catid = ?")
>...
>def getParams(self):
> return (self.biz_cat.getFieldVal("catid"),)
>
>But I never tried this, so there may be additional steps to take.
>--
>Regards
>Jacek Kałucki
=================================
Thanks Jacek.
But this is a major setback for me while using dabo.
I wonder how nobody else never required this functionality.
Normally, in complex database apps, one requires this kind of
table-structure.
Suppose I try to use Jacek's suggestion;
Then, whether it would be possible to have the same functionality for
all Parents?
What I mean is, for example, ----
Set record pointer to a record in parent table "cat" & get "empnm" from
child correctly?
Set record pointer to a record in parent table "ac" & get "empnm" from
child correctly?
--- Vineet
_______________________________________________
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]