Paul McNett wrote: > Changed CursorRecord to inherit from dict instead of object, giving the > ability > to reference field values using a mapping interface, without losing the > object interface that existed before. > > self.Record.field > and > self.Record[field] > > do the same thing. I wanted this for string formatting like: > > csz = "%(city)s, %(state)s %(zip)" % self.Record > Paul,
You beat me to it. I tried to use the Record object as a hash table the other day and was astounded that the formatting wasn't there. Thanks for adding it. Regards, Nate _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[email protected]
