Sabtu, 28 Maret 2015

Re: [MS_AccessPros] Autonumbering

 

Karen-


Not in one field.  But you can add a text field and include it and the AutoNumber field in the Primary Key.  For displaying on reports, you would use =[TextKey] & Format([AutoNumKey], "000")

John Viescas, Author
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications 
SQL Queries for Mere Mortals 
(Paris, France)




On Mar 28, 2015, at 3:39 PM, k2j1203@yahoo.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:

Hello everyone.  I don't know if this is possible but I thought I would ask anyway.  Is there a way to have text before an autonumber?  For example, FHN001, FHN002, and so on.


Thanks.


Karen


__._,_.___

Posted by: John Viescas <johnv@msn.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (7)

.

__,_._,___

Tidak ada komentar:

Posting Komentar