View Full Version : Generating a reference number


Lloydyboy
10-20-2010, 02:29 AM
Hi all

Firstly sorry as I know I am probably repeating someone's previous question, but as I've been out of the access game for quite a while I'm looking/hoping for a specific answer to my question.

Basically I'm creating a standard database for a small company, which has 3 simple tables (Customers, Products, and Orders) at the moment. As part of the orders table I want to create a reference number separate to the auto number which consists of taking the 'customer code' from my customers table and the current date and time.

I think that's the easiest way I can describe my issue, if you require further information just ask.

Hope you can help

Thanks

Lloyd

namliam
10-20-2010, 04:12 AM
Check:
http://www.access-programmers.co.uk/forums/showthread.php?t=198070&highlight=Custom+autonumber

the second post by John which contains a sample...

And welcome to AWF I guess :P