
Getting around form fileld length limit
I have Word 97 macro that propagates data in
forms from one week to the next. So I open last
weeks document, get the data from a text form
field, add to it and place it into this weeks
document. All went well until the new string was
longer than 256 characters. Form fields are
allowed to have more than 256 chars (I typed them
all in myself :-) but I cannot assign the RESULT
property a longer string.
e.g.
r$ = ActiveDocument.FormFields("op").Result
print len(r$) 'this is >256 in my broken scenario
ActiveDocument.FormFields("op").Result = r$
' string too long error
Any ideas/workarounds/fixes? I tried setting a
range variable like in the example, but that
assignment failed.
Sent via Deja.com http://www.*-*-*.com/
Before you buy.