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