How to programmatically create an AutoNumber field and set its "New Values" property to Random (304418)
The information in this article applies to:
- Microsoft Office Access 2003
- Microsoft Access 2002
This article was previously published under Q304418 Moderate: Requires basic macro, coding, and interoperability
skills.
This article applies only to a Microsoft Access database (.mdb).
SUMMARY This article demonstrates how to programmatically create an
AutoNumber field in a Microsoft Access table and set this field's New Values property to Random. REFERENCES For more information about the methods used in this
article, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type one of the following topics in the Office Assistant of
Answer Wizard
- createtabledef method
- createfield method
- append method
and then click Search to view the topic.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdesign kbDatabase kbProgramming kbhowto KB304418 |
---|
|