<div dir="ltr">thanks, I'll look into this further<div><br></div><div>There are no transactions showing for this acct.  It is called 'undeletable' and in fact is not deletable.</div><div><br></div><div>gary </div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jun 18, 2018 at 5:08 PM Jack <<a href="mailto:ostroffjh@users.sourceforge.net">ostroffjh@users.sourceforge.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2018.06.18 10:54, Gary Kirkpatrick wrote:<br>
> Hi<br>
> <br>
> There is now an account in my list called z-undeletable. We did not  <br>
> put it there.  There are no transactions in the ledger.  Any idea  <br>
> what this is and how to get rid of it?<br>
> <br>
> This file was originally created on my ubuntu 16 laptop and then  <br>
> transferred to a Windows 10 computer.  I doubt that has anything to  <br>
> do with it but reporting it just in case.<br>
> <br>
> thanks for any assistance<br>
Hi Gary,<br>
<br>
My first question is whether the program won't allow you to delete it,  <br>
or if that is just in the name?<br>
<br>
An account cannot be deleted if there is anything else in the file  <br>
referring to it.  Aside from transactions, it could be referred to in a  <br>
Schedule, for example.  Also, are you sure there are no transactions  <br>
which are just not being shown due to a date filter?  You might try a  <br>
report by transactions, showing All Dates, to check that.<br>
<br>
The next method would be to look at the data file directly.  If it is a  <br>
.kmy file, you can copy it (don't use the original) to file.xml.gz and  <br>
then gunzip it.  Then search (grep or your favorite tool) for a line  <br>
with z-undeletable.  There should be a line starting with <ACCOUNT.  On  <br>
that line, find the field id="Annnnnn" and then search for that  <br>
identifier in the file.  Hopefully any lines which show up should  <br>
indicate what type of entry still exists and needs to be deleted before  <br>
you can delete the account.<br>
<br>
Jack</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div style="text-align:center"><ul><li><span style="font-size:12.8000001907349px"> </span><a href="http://www.garyjkirkpatrick.com/" style="font-size:12.8000001907349px" target="_blank">See my art and blog site</a><span style="font-size:12.8000001907349px"> </span><span style="font-size:12.8000001907349px"> </span><span style="font-size:12.8000001907349px"> </span><a href="https://www.facebook.com/GaryJKirkpatrick?ref=hl" style="font-size:12.8000001907349px" target="_blank">Facebook </a>  <a href="http://www.saatchiart.com/garyartista" target="_blank">Prints</a><br></li></ul></div></div></div></div></div></div></div></div></div></div>