MS Access ADODB.recordset character limit is 2036!? Can this be increased?

Posted by souper-dragon on Stack Overflow See other posts from Stack Overflow or by souper-dragon
Published on 2010-06-08T22:06:16Z Indexed on 2010/06/08 22:12 UTC
Read the original article Hit count: 246

Filed under:
|
|

In the following AccessVBA code, I am trying to write a record to a memo field called "Recipient_Display":

oRec1.Fields("RECIPIENT_DISPLAY") = Left(sRecipientDisplayNames, Len(sRecipientDisplayNames) - 2)

When the string contains 2036 characters, the write completes. Above this number I get the following error:

Run-time error'-2147217887(80040e21)': Could not update; currently locked by another session on this machine.

What is the significance of this number 2036 and is there a property I can adjust that will allow the above update to take place?

© Stack Overflow or respective owner

Related posts about ms-access-2007

Related posts about adodb