invoice number auto increment

invoice number auto increment

Hi,
I have 2 customers and I have created some invoices for them in the past.
Currently the invoice number autoincrements by 1 regardless of which customer I am invoicing. So each customer ends up with invoice numbers that increments by 2, not 1.
How Can I make the autoincrement happen by customer?

Thanks