Want to set bookmark value if not set

G

Guest

I have a document that may either be included in a master, or printed by
itself. In this document, I have a field I want to either print the bookmark
value from the master, or use an ASK or FILL-IN function to get a new value.

I have tried using the following field:
{ IF ProjectManager <> "" "{ REF ProjectManager }" "{ FILLIN ""Who is the
Project Manager?"" \d "My Name" }" }
where ProjectManager is the bookmark name. This does not work (I am
guessing) because the parser can't figure out how to pair up sets of quotes.

Any ideas how to make this work?
 
G

Guest

I solved my own problem. First, there was one spot where I used 2-"s
together (trying to help the parser) but that had nothing to do with it. The
key was to replace the respective pairs of {} by inserting them using
ctrl-F9, instead of typing them in.
 

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