Hi,

On 25/08/2013 18:59, Werner F. Bruhin wrote:
Hi,

I have a report where I have the following groups:

- Drinktype
- Country
- Region

With group totals on Country and Report for e.g. a quantity column.

I like to reset the variable for e.g. "quantityCountry" when the drinktyp or country changes.

I tried (in variable.resetat) :
self.Record.__dict__['fk_country_id'] or self.Record.__dict__['fk_drinktype_id']

as just:
self.Record.__dict__['fk_country_id']

Anyone has a tip on how I could do this?
Looks like this works:
(self.Record.__dict__['fk_country_id'] + self.Record.__dict__['dtype_id'])

Werner
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to