ACC2: Memo Field Truncated with SetValue ActionID: Q121458
|
Novice: Requires knowledge of the user interface on single-user computers.
When you use the SetValue macro action to transfer text from a Memo control
on one form to another form that does not have a Memo control, the first
256 characters from the Memo field disappear. The remaining characters are
transferred successfully.
Add a control bound to a Memo field to the destination form.
Microsoft has confirmed this to be a problem in Microsoft Access version 2.0. This problem no longer occurs in Microsoft Access version 7.0.
This problem only occurs if you try to set the value of a Memo field from another Memo control that contains more than 256 characters. If both forms contain a control bound to a Memo field, the SetValue action will work as you expect.
Field Name: ID
Data Type: Counter
Field Name: Memo1
Data Type: Memo
Field Name: ID
Data Type: Counter
Field Name: Memo2
Data Type: Memo
Macro Name Macro Action
--------------------------
TestMemo SetValue
TestMemo Actions
------------------------------------
SetValue
Item: Forms![Form1]![Memo1]
Expression: Forms![Form2]![Memo2]
This is a test to see how many characters are pasted back to the _
first table. This test needs at least 256 characters to demonstrate _
the fact that the first 256 characters will not be pasted to the _
first table. This text is just representative text and can actually _
be any text at all. The total length of this text is 334 characters.
Additional query words: truncate incomplete
Keywords : kbusage McrProb
Version : 2.0
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: April 7, 1999