invoice counter without leading zeroes

Gus G. rakishadonis at hotmail.com
Fri Jun 28 12:07:59 EDT 2013


Gour <gour <at> atmarama.net> writes:

> 
> On Sat, 8 Jun 2013 12:40:54 -0700
> Alex Aycinena <alex.aycinena <at> gmail.com> wrote:
> 
> Hiya Alex,
> 
> > Scroll to Section 9.3.4. I don't know if this will solve your exact
> > problem, but you can put in literals and surpress leading zeros. 
> 
> Thank you very much - it helped!!
> 
> Iow, the key was to replace '%ld' with '%li'...now I can even add the
> other required parts and get the complete 'invoice number' as
> desired. 
> 
> Sincerely,
> Gour
> 


So, what would be the magic code on mac osx 10.7 64 bit?

I want it to give the invoice #: K1, K2, etc.

I these in the field and they do not work:
K%li
K%ld
K%I64i
K%i

Thanks.



More information about the gnucash-user mailing list