On Friday 24 October 2008 12:18:17 pm Ed Leafe wrote:
> On Oct 24, 2008, at 1:44 PM, johnf wrote:
> > Larry and I have a form that has the need to create bizobj's that
> > use the same
> > data source (in this case 'public.aglots').  I believe this would be
> > a common
> > requirement and Dabo should support.
>
>       I can honestly say that I have developed dozens of complex apps over
> the past decade and a half that use bizobjs, fist with Codebook and
> now with Dabo, and have never even considered something like this. A
> bizobj deals with a single datasource (typically a table in a
> database), and the logic that governs records in that datasource.
>
>       For your aggregate 'bizobj' I would simply provide aggregate methods,
> and bind these to the control.
>
> -- Ed Leafe

We could remove the aggregate bizobj and make a direct sql call.  But what you 
are saying is I can't use a table twice.  You mean that you never have done 
something like

use table1

use table1 again alias newtable

In our case we we want the aggregate because the select statement is very 
complex.  We want the database engine to do the work and Dabo to pass the 
correct key (in this case the pk of the parent).

-- 
John Fabiani


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to