Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

access vba courses - ms access data types

Forum home » Delegate support and help forum » Microsoft Access Training and help » access vba courses - Ms access data types

access vba courses - Ms access data types

ResolvedVersion Standard

Syreeta has attended:
Access Introduction course
Access Intermediate course

Ms access data types

what are data types

RE: basic

Hi Syreeta,

You can use the DataType property to specify the type of data stored in a table field. Each field can store data consisting of only a single data type.

The DataType property uses the following settings:

Text (Default): Text or combinations of text and numbers, as well as numbers that don't require calculations, such as phone numbers. Up to 255 characters or the length set by the FieldSize property, whichever is less. Microsoft Access does not reserve space for unused portions of a text field.

Memo: Lengthy text or combinations of text and numbers. Up to 65,535 characters. (If the Memo field is manipulated through DAO and only text and numbers [not binary data] will be stored in it, then the size of the Memo field is limited by the size of the database.)

Number: Numeric data used in mathematical calculations. For more information on how to set the specific Number type, see the FieldSize property topic. 1, 2, 4, or 8 bytes (16 bytes if the FieldSize property is set to Replication ID).

Date/Time: Date and time values for the years 100 through 9999. 8 bytes.

Currency: Currency values and numeric data used in mathematical calculations involving data with one to four decimal places. Accurate to 15 digits on the left side of the decimal separator and to 4 digits on the right side. 8 bytes.

AutoNumber: A unique sequential (incremented by 1) number or random number assigned by Microsoft Access whenever a new record is added to a table. AutoNumber fields can't be updated. For more information, see the NewValues property topic. 4 bytes (16 bytes if the FieldSize property is set to Replication ID).

Yes/No: Yes and No values and fields that contain only one of two values (Yes/No, True/False, or On/Off). 1 bit.

OLE Object: An object (such as a Microsoft Excel spreadsheet, a Microsoft Word document, graphics, sounds, or other binary data) linked to or embedded in a Microsoft Access table. Up to 1 gigabyte (limited by available disk space)

Hyperlink: Text or combinations of text and numbers stored as text and used as a hyperlink address. A hyperlink address can have up to three parts:
text to display

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.08 secs.