On Mon, May 18, 2009 at 6:16 PM, Ed Leafe <e...@leafe.com> wrote: > On May 18, 2009, at 12:09 PM, johnf wrote: > > >> The params are still passed; you just have to include the param in > >> your SQL. > > > > Could explain a little further. Thanks > > > Since you're writing the entire SQL expression, the query builder > routines that add the parent filtering aren't applicable, so you have > to write: > > self.UserSQL = """select blah > from childtable > where childtable.parentfk = %s """ > > You then set the param value in beforeRequery() to the value of the > parent FK, and Dabo will pass that when it executes the requery. > > I suppose like this:
bizObj.setParams(parentFK) bizObj.requery() Miguel --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ Post Messages to: Dabo-users@leafe.com 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/a19730800905181122k4181c506u69a6438a002db...@mail.gmail.com