Mass delete of zero split lines?

JimR kd1yv at arrl.net
Thu Jul 8 22:40:50 EDT 2010


Running GNUCash 2.2.9 on Mandriva 2010.0 desktop.

I just discovered something that before I thought was an annoyance, but 
now I think is much more of a pain.  When I split a checkbook register 
transaction to a payee, the next time I create a split to the same 
payee, GNUCash remembers all of those splits.

In particular, when I break down my credit card bill into multiple 
accounts, it remembers those accounts and amounts month-to-month.  For 
the past several years, when a particular month did not have a charge to 
a specific account, I simply deleted the amount, leaving the split line, 
thinking that it caused no harm.

However, when I went to search for a phrase within one of the accounts, 
I got back every month's line item, even though those were all nil 
amounts.  (I probably should have expected this.  Hindsight is always 
20-20.)

Is there some way that I can delete all of those nil transactions?  (I 
have a hunch a side benefit is that it might speed up the loading of my 
files on startup.)

Thanks in advance,

-- 
73 de Jim, KD1YV




More information about the gnucash-user mailing list