Re: [dabo-users] SQL Builder versus UserSQL

Author: dw

Posted: 2007-09-01 at 16:30:47

Ed Leafe <ed@...> writes:

>

> On Sep 1, 2007, at 3:04 PM, dw wrote:

>

> Are you absolutely certain that the bizobj in question has had its

> requery() called at least once? After all, until the SQL is actually

> executed, there is no way that it could possibly know about aliases

> you defined in it, and this looks like it is simply running an empty

> query on the DataSource to get its field listings.

There is a self.requery() in the afterInitAll(self) method. I still get the error

even if I add a fotoinfBizobj.requery() at the end of the class

FotoinfBizobj(dabo.biz.dBizobj) definition. Unless the SQL Builder generates

its own self.requery(), the UserSQL and SQL Builder methods in my code are

using the same requery() .

dwarder

©2007 dw