Report Editing

Mike C. subscribe307 at verizon.net
Sun Jan 3 10:15:14 EST 2010


Your solution is exactly what I need but I don't have the capability to 
generate the script.  I am running version 2.2.9 on Windows XP.  Would 
it be possible for you to provide the script that would run with this 
version?
Thanks,
Mike

Colin Scott wrote:
> It seems to be a bug introduced in 2.2.9, because before that release it
> seemed to work, sort of.  Actually, the problem I have here is that if I
> create a series of reports starting from one base, only the first of them
> ever appears in the list of reports!
>
> Lets assume we have the pre-defined report "Transaction Report".  From
> this I create a report "A".  If I then look in the saved-reports
> definition file (in 2.2.9 this is "saved-reports-2.0") then the defintion
> of A shows the base as "Transaction Report".  If I now create a variation
> of "A" called "B", then for me (I run Windows, and don't know if this is
> also true for Linux)  only "A" is visible in the menu - "B" never appears!
> If I examine the saved-reports file then the base of "B" is shown as "A".
>
> My solution to both of these problems is a script that examines the
> saved-reports file, works out the true or original base of each report,
> and deletes all intermediate iterations.  (Thus, continuing the example
> above, if I have "A", "P" and "X", all created from "Transaction Reports",
> and "B" and "Y" based on "A" and "X" respectively, then in the output
> from the script the code blocks relating to "A" and and "X" are deleted,
> the base of "B" and "Y" are now "Transaction Reports", and "P" remains
> unchanged.
>
> Colin
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 8.5.431 / Virus Database: 270.14.124/2597 - Release Date: 01/02/10 08:22:00
>
>   


More information about the gnucash-user mailing list