Tips for Choosing Field Types in Access 2010

When you design a database in Access 2010, you decide what type each field will be. Here are tips for when to use which type of field.



















































Field TypeWhat It Holds
TextText up to 255 characters long (including spaces and
punctuation). Use a Text field, not a Number field, for codes
— such as phone numbers, ZIP codes, and other postcodes
— even if they look like numbers.
MemoLike a Text field, but more of them — up to 65,536
characters. A memo field can contain rich (formatted) text, and you
can set it to Append Only, so that it can accumulate text notes,
without allowing the user to delete what’s already
there.
NumberOnly numbers. You may use + or – before the number, and a
decimal point. If you plan to do math with a field, use a Number or
Currency field.
CurrencyNumbers with a currency sign in front of them ($, ¥, and so
on).
AutoNumberNumbers unique to each record and assigned by Access as you add
records, starting at 1. Use an AutoNumber field as the primary key
field for most tables.
Date/TimeDates, times, or both.
OLE ObjectObject Linking and Embedding. Don’t use it when creating
a new database; use the new Attachment type instead because it
stores data more efficiently.
HyperlinkThis text string is formatted as a hyperlink. (If you click the
link, it takes you to the page.) This is especially useful if
there’s related information on the Web.
Yes/NoYes or no (a particular condition is, or isn’t, in
effect) — or other two-word sets, such as class="code">True/False, On/Off, or Male/Female. Use a
Yes/No field if you want to display the field as a check box on
forms.
AttachmentYou can store one or more entire files — pictures, sound,
Word documents, even video — in one Attachment
field.
CalculatedYou enter a formula that Access uses to calculate the value of
this field based on other fields in the table. Use a Calculated
field when a calculated value will be used in many queries, forms,
and reports.








dummies

Source:http://www.dummies.com/how-to/content/tips-for-choosing-field-types-in-access-2010.html

No comments:

Post a Comment