D
Doug
I have a textbox control on a form which is bound to a memo field. I have a
particular function which allows you to highlight some text in the field and
replace it with a pre-defined text phrase. All of this works great except I
have run into a few records which contain about 6500 characters of text.
Once the replacement code is run an error occurs. The error occurs when the
..text property of the control is set to the new string value created by
concatenating the original text with the replpacement phrase. The same
number of characters are retrieved from the control as as are being put
back.
The error which occurs is:
Run-time error '2176':
The setting for this property is too long.
There does not appear to be any information on this in the online help or
microsoft's knowledge base online. I have since discovered this error is due
to the amount of text being inserted to the .text property of the control.
Can anyone tell me where I can find some documentation on the properties and
methods of various form controls? Even the .text property doesnt appear to
be a documented property.
Any thoughts on a workaround for this problem??
Many thanks in advance.
Doug
particular function which allows you to highlight some text in the field and
replace it with a pre-defined text phrase. All of this works great except I
have run into a few records which contain about 6500 characters of text.
Once the replacement code is run an error occurs. The error occurs when the
..text property of the control is set to the new string value created by
concatenating the original text with the replpacement phrase. The same
number of characters are retrieved from the control as as are being put
back.
The error which occurs is:
Run-time error '2176':
The setting for this property is too long.
There does not appear to be any information on this in the online help or
microsoft's knowledge base online. I have since discovered this error is due
to the amount of text being inserted to the .text property of the control.
Can anyone tell me where I can find some documentation on the properties and
methods of various form controls? Even the .text property doesnt appear to
be a documented property.
Any thoughts on a workaround for this problem??
Many thanks in advance.
Doug