On Mar 9, 2011, at 8:48 AM, Werner F. Bruhin wrote:
> I note that all the "hours" columns are prefixed with
> "hours.columnname", is this needed as soon as one has an addJoin in there?
No, no necessary; the default alias is the DataSource, but when there
are two aliases in play, I prefer the explicit naming.
> Would be nice if addChild could take care of this and provide all the
> columns of the child.
That would be unwieldy, to say the least. It would force an additional
requery for each child bizobj whenever the parent record changed. With a join,
the lookup data is gotten in the initial query, and no subsequent queries need
to be run.
> When I tried to run the hours code sample I run into a few issues.
>
> See Ticket #1412
Yes, those are changes that were more recent. The point of the
tutorial, though, is to create those files yourself; the downloadable code is
simply to compare against if you get stuck, or otherwise are curious as to what
the finished code should look like.
-- Ed Leafe
_______________________________________________
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]