Changed the self.requery() in  afterInitAll to form.requery() - I now get no 
data on the form and when I try to navigate I get the status bar message 'No 
records in dataset'.
----- Original Message ----- 
From: "Ed Leafe" <[EMAIL PROTECTED]>
To: "Dabo Users list" <[email protected]>
Sent: Saturday, November 22, 2008 7:54 AM
Subject: Re: [dabo-users] Bizobj Validation


> On Nov 21, 2008, at 2:44 PM, Roger Lovelock wrote:
>
>> ClassDesigner has generated  createBizobjs within the dForm object.
>> I added
>> the line self.requery() at the end, basically following the Step-by-
>> Step
>> guide. I may have gone wrong here in letting ClassDesigner create my
>> Bizobj,
>> since the Step-by-Step Guide has it explicitly created in biz.
>
>
> If that code is in the bizobj, that's your problem. bizobj.requery()
> gets the data, but doesn't update the form. You need to call
> form.requery(), as this will call the bizobj.requery(), and then
> properly update the controls on the form. The ideal place for this
> call, as John has already mentioned, is the form's afterInitAll()
> method.
>
>
> -- Ed Leafe
>
>
>
>
>
[excessive quoting removed by server]

_______________________________________________
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]

Reply via email to