Article ID: 311169 - Last Review: July 7, 2004 - Revision: 4.5 Part 3 of "Keeping Your Information Accurate in Access 2003 and Access 2002": Using the field size property to restrict dataThis article was previously published under Q311169 On This PageSUMMARY The information covered in this article is provided by the
Microsoft Press. For more information, visit the following Microsoft Web site: http://mspress.microsoft.com/
(http://mspress.microsoft.com/)
This article is part 3 of a series of eight
articles that explain how to keep your information in Access accurate. To view
the other articles in this series, see the "Additional resources"
section later in this article. This information is an excerpt from chapter 6: "Keeping Your Information Accurate" of the book Microsoft Access Version 2002 Step by Step. For more information about this book, see the "References" section. MORE INFORMATION You can set the Field Size property for the Text, Number, and AutoNumber data types. This property restricts the number of characters you
can enter in a text field and the size of numbers that can be entered in a Number or AutoNumber field. For text fields, the Field Size property can be set to any number from 0 to 255. AutoNumber
fields can be set to Long Integer or Replication ID. They are set to Long Integer by default. Number fields can be set to any of the following
values:
Setting Description
------------------------------------------------------------------------
Byte Stores numbers from 0 to 255 (no fractions).
Integer Stores numbers from -32,768 to 32,767 (no fractions).
Long Integer (The default.) Stores numbers from -2,147,483,648 to
2,147,483,647 (no fractions).
Single Stores numbers from -3.402823E38 to -1.401298E-45 for
negative values and from 1.401298E-45 to 3.402823E38
for positive values.
Double Stores numbers from -1.79769313486231E308 to
-4.94065645841247E-324 for negative values and from
1.79769313486231E308 to 4.94065645841247E-324 for
positive values.
Decimal Stores numbers from -10^28 -1 through 10^28 -1 (.mdb).
Replication ID Globally unique identifier (GUID). A 16-byte field used
in an Access database to establish a unique identifier
for replication. GUIDs are used to identify replicas,
replica sets, tables, records, and other objects. In an
Access database, GUIDs are referred to as Replication
IDs.In this exercise, you will change the Field Size property for several fields to see what impact this has on data already in the table and on new data you enter. Follow these steps:
ADDITIONAL RESOURCESFor additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:311167
(http://support.microsoft.com/kb/311167/
)
Part 1 of "Keeping Your Information Accurate": Introduction for Access 2003 and Access 2002
311168
(http://support.microsoft.com/kb/311168/
)
Part 2 of "Keeping Your Information Accurate": Using the data type to restrict data in Access 2003 and Access 2002
311169
(http://support.microsoft.com/kb/311169/
)
Part 3 of "Keeping Your Information Accurate": Using the field size property to restrict data in Access 2003 and Access 2002
311171
(http://support.microsoft.com/kb/311171/
)
Part 4 of "Keeping Your Information Accurate": Using an input mask to restrict data in Access 2003 and Access 2002
311172
(http://support.microsoft.com/kb/311172/
)
Part 5 of "Keeping Your Information Accurate": Using validation rules to restrict data in Access 2003 and Access 2002
311173
(http://support.microsoft.com/kb/311173/
)
Part 6 of "Keeping Your Information Accurate": Using a lookup list to restrict data in Access 2003 and Access 2002
311174
(http://support.microsoft.com/kb/311174/
)
Part 7 of "Keeping Your Information Accurate": Updating information in a table in Access 2003 and Access 2002
311175
(http://support.microsoft.com/kb/311175/
)
Part 8 of "Keeping Your Information Accurate": Deleting information from a table in Access 2003 and Access 2002
REFERENCES The information in this article is an excerpt from the Microsoft Access Version 2002 Step by Step book, published by Microsoft Press.
To learn more about
the Microsoft Access Version 2002 Step by Step book, and to see a sample chapter from this book, visit the following Microsoft Web site: http://www.microsoft.com/mspress/books/sampchap/5054.aspx
(http://www.microsoft.com/mspress/books/sampchap/5054.aspx)
For more information
about this publication and about other Microsoft Press titles, visit the following Microsoft Web site:
http://mspress.microsoft.com
(http://mspress.microsoft.com)
| Article Translations
|
Back to the top



