G
Guest
I am using the following code to insert a new record into a table:
DoCmd.RunSQL "INSERT INTO HRC ([CLNO],[RESTRICTIVE
MEASURE],[DESC],[CAUSER],[HRC Expiration],[IsConsentReq])" & _
"VALUES (Forms!FrmHRCAffectedByOthers!CLNO,
Forms!FrmHRCAffectedByOthers!Text33," & _
"Forms!FrmHRCAffectedByOthers!Text35,
Forms!FrmHRCAffectedByOthers!Text31," & _
"Forms!FrmHRCAffectedByOthers!Text37,
Forms!FrmHRCAffectedByOthers!Check38);"
Everything works fine until the text in the DESC field exceeds 127
characters. The DESC field in the table is defined as a MEMO field so there
shouldn't be any limit. If the DESC is less than 128 characters, it works
fine. Any ideas on why it would be imposing this kind of limit on a memo
field?
DoCmd.RunSQL "INSERT INTO HRC ([CLNO],[RESTRICTIVE
MEASURE],[DESC],[CAUSER],[HRC Expiration],[IsConsentReq])" & _
"VALUES (Forms!FrmHRCAffectedByOthers!CLNO,
Forms!FrmHRCAffectedByOthers!Text33," & _
"Forms!FrmHRCAffectedByOthers!Text35,
Forms!FrmHRCAffectedByOthers!Text31," & _
"Forms!FrmHRCAffectedByOthers!Text37,
Forms!FrmHRCAffectedByOthers!Check38);"
Everything works fine until the text in the DESC field exceeds 127
characters. The DESC field in the table is defined as a MEMO field so there
shouldn't be any limit. If the DESC is less than 128 characters, it works
fine. Any ideas on why it would be imposing this kind of limit on a memo
field?