Editing text in a REF Field

B

boredofcities

Hi, I am not sure if what I'm trying to achieve is possible or if there is
another way of going about this.

I have a number of tables in my form. In one of the tables the text that is
entered into a text form field is duplicated into another table via a REF
field {REF Obs1}. I was wondering if it is then possible to edit the text
that is copied into this field. I know you cannot edit the text in the field
once the document is protected, which is what I want to be able to do. Is
there another way to do this? This then needs to be repeated into other
tables.

I'm using Word 2000. Any help regarding this would be appreciated.

Thanks Matt.
 
D

Doug Robbins - Word MVP

Replace the REF field with another FormField and one Exit from the existing
FormField Obs1 run a macro containing the following code

With ActiveDocument
.FormFields("NewFormFieldBookmarkName").Result =
..FormFields("Obs1").Result
End With

You will then be able to edit what appears in the new formfield and then by
creating cross references it, and having its Calculate on Exit box checked,
the edited entry can be displayed in those cross reference fields.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 
B

boredofcities

Hi Doug,

That has worked just the way I wanted it to. Seems so simple when you know
how.

Cheers for your help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top