First of all, thank you Paul for this good explanation of derived fields. If this isn't in the Wiki, I'll update it soon.
> def fillDerivedFields(self): > cur = self.getTempCursor() > > # cust_name, cust_account: > cur.UserSQL = "select name, account from customers where > id='%s'" % > self.Record.cust_id > cur.requery() Is this going to be hitting the database every time the number is updated on the form? How big of a database have you done this on? I guess I'll just have to benchmark the difference between doing the calculation locally in Python or remotely in Postgres, sharing with you all, of course! Thanks, Cory Cross _______________________________________________ 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/dabo-users/[EMAIL PROTECTED]
