ACC: Concatenation of Memo Fields Creates Text FieldID: Q92892
|
Moderate: Requires basic macro, coding, and interoperability skills.
When you use a make-table query to concatenate two Memo fields, the query
concatenates the Memo fields into a Text field in the resulting table. If
you have more than 255 characters combined in the two Memo fields, the
data is truncated in the new Text field.
Text fields have a limit of 255 characters; Memo fields can contain up to 32,000 characters in Microsoft Access 1.x, and up to 64,000 characters in Microsoft Access 2.0 or later.
To work around this behavior, use an append query on an existing table
with a Memo field and concatenate the two Memo fields into the existing
Memo field. For example:
Table: OldTable
------------------
Field Name: Memo1
Data Type: Memo
Field Name: Memo2
Data Type: Memo
Table: ExistingTable
-------------------------
Field Name: ExistingField
Data Type: Memo
Query: TestMemo
------------------------------
Type: Select Query
Field: Concat: [Memo1]&[Memo2]
Table: OldTable
Keywords : kbusage QryMktbl
Version : 1.0 1.1 2.0 7.0 97
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: March 12, 1999