Share via

Long text/MEMO or Text Data Type

Anonymous
2018-04-13T11:25:50+00:00

Why do we have to avoid the LONG TEXT data type in Ms Access 2010 and use the Text datatype instead, wherever practical?

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2018-04-13T17:42:50+00:00

Daniel's quite right about the corruption issue; I've had Memo fields corrupt databases several times.

But another issue is that Long Text fields have some limitations. They cannot have a Format property (without being truncated to 255 characters); and they cannot be indexed, making sorting and searching much less efficient. On a real-life note, a message over 255 characters invites skimming rather than reading carefully.

If you NEED long text, by all means use it. Back up frequently; use a linked separate backend just for the long text if necessary. You just have to know the limitations and live with them!

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2018-04-13T20:59:03+00:00

    Thank you Mr. Vinson for further clarification. I think i am just going to go with short text data type as i see it has less complications as compared to that of Long Text Type.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2018-04-13T12:46:01+00:00

    Thank you very much Mr. Pineault. It does clarify my confusion upto some extent. 👍

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2018-04-13T12:42:26+00:00

    One word, corruption.  The belief is that Long Text are more likely to corrupt then other data types.  That said, not everyone holds this belief.  Then again, why take a chance. 

    If you are designing your database, you are always best to assign the most appropriate data type anyways to minimize space (and thinking about corruption of course).

    Some go to the extent of housing Long Text fields in a separate table for the main data so if corruption occurs it doesn't impact the rest of the main table data.  Some will even house the Long Text in another database altogether for the same reason.

    But it all comes down to corruption.

    Was this answer helpful?

    0 comments No comments