Nick has attended:
Access Advanced course
Data type Memo
Hello
Does anyone use the data type Memo for a field, and in what situations would you use Memo instead of Text?
Thanks
Nick
RE: Data type Memo
Hi Nick
Microsoft Access provides two field data types to store data with text or combinations of text and numbers: Text and Memo.
Use a Text data type to store data such as names, addresses, and any numbers that do not require calculations, such as phone numbers, part numbers, or postal codes. A Text field can store up to 255 characters, but the default field size is 50 characters. The FieldSize property controls the maximum number of characters that can be entered in a Text field.
Use the Memo data type if you need to store more than 255 characters. A Memo field can store up to 65,536 characters. If you want to store formatted text or long documents, you should create an OLE Object field instead of a Memo field.
Both Text and Memo data types store only the characters entered in a field; space characters for unused positions in the field aren't stored.
You can sort or group on a Text field or a Memo field, but Access only uses the first 255 characters when you sort or group on a Memo field.
regards
Richard
RE: Data type Memo
Hi Richard,
Thanks for that useful information!
I assume the reason why we don't just use Memo for everything is that it requires more memory than text - even if you have an identical fieldsize? Otherwise I don't see the advantage of using the Text data type.
regards,
Nick
RE: Data type Memo
Nick,
That is the main reason, yes.
Rich

