Running Number (1 Viewer)

foxtet

Registered User.
Local time
Today, 13:27
Joined
May 21, 2011
Messages
129
Hi guys
I want generate running invoice number like INV00001,INV00002..etc

how it be possible to in this format?

foxtet
 

Ranman256

Well-known member
Local time
Today, 05:27
Joined
Apr 9, 2015
Messages
4,337
just use autonumber. Then add the INV00.. in a query as a virtual 'invoice#'.
Why make more work for yourself.
 

Galaxiom

Super Moderator
Staff member
Local time
Today, 19:27
Joined
Jan 20, 2009
Messages
12,852
just use autonumber. Then add the INV00.. in a query as a virtual 'invoice#'.
Why make more work for yourself.

Because autonumber cannot be relied on to make an unbroken sequence.


I do agree that only the number should be stored. The INV etc can be best added for display using the Format property of the textbox.
 

Users who are viewing this thread

Top Bottom