J
John Viall
I am trying to drop text into a formfield using the following command:
ActiveDocument.FormFields("txtObComments").Result = tempComments
I get the error "string too long". I have set the property of the form
field to be unlimited, however still no luck. After setting a Watch, the
actual length was 710 characters in length. Any ideas?
As a backup plan, I am looking at creating multiple "txtObComments" on the
fly, and dropping in the comments at 500 characters a pop, in the hopes that
works. How do I change the name of a formfield in code? I know how to add
it, but don't know if the name will be the same each instance.
Thanks,
John
ActiveDocument.FormFields("txtObComments").Result = tempComments
I get the error "string too long". I have set the property of the form
field to be unlimited, however still no luck. After setting a Watch, the
actual length was 710 characters in length. Any ideas?
As a backup plan, I am looking at creating multiple "txtObComments" on the
fly, and dropping in the comments at 500 characters a pop, in the hopes that
works. How do I change the name of a formfield in code? I know how to add
it, but don't know if the name will be the same each instance.
Thanks,
John