On 9/3/11 4:02 PM, Carl Karsten wrote: > in the report desinger I have: > > <Show>(self.episode_emails is not None) and self.episode_emails</Show> > > It seems to be working for None, but not empty string. > > <expr>"[ ] %s %s" % (self.episode_emails, len(self.episode_emails))</expr> > > makes "[ ] 0" > > len(self.episode_emails) should be False, so it shouldn't show. > > rfxml with sample data showing all 3 cases (empyt, non empty, None) > > https://github.com/CarlFK/veyepar/blob/master/dj/main/templates/RecordingSheet_v2a.rfxml#L435
Carl, I downloaded that rfxml an loaded it into my report designer, hit preview, and it behaves as it should. The "Presenter email" is not shown for the first record (because <show>not self.episode_emails</show>) but is shown for the other 2 records. The "[ ]" % (episode_emails, len(self.episode_emails)) *is* showing for the first record but not for the final two. What dabo revision are you on? Paul _______________________________________________ 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]
