On Thursday, 21 May 2020 07:54:12 UTC+1, Martin Michlmayr wrote:
>
> * david whiting <[email protected] <javascript:>> [2020-05-20 23:33]: 
> > I get no results. 
>
> I don't think you can query meta-data on account declarations. 
>
> John probably thought you were talking about transactions. 
>
> See https://github.com/ledger/ledger/issues/1070 
>

Thanks. I should have included a complete example in my initial query. I 
have another approach that will suit my needs and that is to add the ID to 
the account name, e.g.

account Assets:Members:Fred Smith M1234

(M for member) and then I can just use the normal account query approach. 
With autocompletion in ledger-mode using accounts named in this way is no 
more difficult to use than the name alone, and the wonderful flexibility 
that plain text provides means it will just take a little script to add the 
IDs to the names. 

I'm still learning, but am really enjoying ledger.

Thanks for your help.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/71fdbb0f-d267-4102-a551-15980c52247a%40googlegroups.com.

Reply via email to