Paul McNary wrote:
> Now comes the questions for the database I'm working on, I have a Parent
> and a Child, several children, the Biz Object has been busy!
>
> OK for lookup tables, do I create Biz Objects for them or just use Temp
> Cursors in code to do lookup values for fields? This is to bring values
> either into the current app's Biz object or just display on the screen
> for the user.
Make 'em bizobjs. Even if they are only going to be simple lookups, it
is easier to deal with the bizobj api than the dCursor API. Plus, you
may end up having another need for the bizobjs in the future.
> If I use Biz objects how do I reference them and keep them out of the
> way of the Primary and children?
They won't be in the way if you add them to the form using
form.addBizobj(bizReference). And then you could get the reference
anytime by calling self.Form.getBizobj("<datasource>").
Or, you can just save the reference somewhere however you like.
Paul
_______________________________________________
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]