Want to set bookmark value if not set

  • Thread starter Thread starter Guest
  • Start date Start date
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?
 
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.
 
Back
Top