PDA

View Full Version : Solved: type in textbox + retain data in certain sections



s?ren
04-03-2006, 02:10 PM
I have this problem:
I use a maindocument for mailmerge.
After merging the document performs certain formfield calculations based on the data from the merge datasource (a regular .txt document)
My document is password-protected after the merge, so that I can type information into the textboxes.
What I need is this:To fill in information in textboxes on page 2 of this document while at same time retain the calculated and otherwise merged data in the other sections of the doc. Then I need to save the doc. and unlink the data so that it doesnt change when updating my datasource.

Can it be done?
If so, how?

Søren

fumei
04-03-2006, 05:10 PM
If the fields to be retained are in a different Section from the ones you DO want to enter data, then just protect the section with the ones you want to enter data. If the other Section is not protected then the values persist.

Also when you reprotect, use NoReset:= True. This persists values in existing formfields.

As for unlinking, fields have an Unlink method.