For everyone writing reports, you should know that your report file is only loaded once. This means that any global variables you use will only be initialized once. Thus, any global variables which you change must be re-initialized in the report generation function. Also, you can have the same report instantiated with different variables at the same time. This means if you use global variables, they will be shared between the two instantiations, so keep that in mind too. dave -- Gnucash Developer's List To unsubscribe send empty email to: [EMAIL PROTECTED]