CTRL + F9 Function

Debutant frustré -  
 syloo -
Hello,
In Word 2003, I'm trying to create a conditional (If) that refers to a bookmark from a dropdown list.
So, if my dropdown list, titled choice, indicates 1, I want a Yes response in the conditional field
If the number is anything else, the response should be No
I read on the forum that I need to put the bookmark in a field with curly braces (Ctrl+F9).
When I'm in "Advanced field properties," I think I should have the following command:
IF { choice }=1 "Yes" "No"
But the Ctrl+F9 command doesn't work in the "Field Code," and if I do it manually, it doesn't work.
Thank you in advance. Your help would be greatly appreciated!!!
Configuration: Windows XP Firefox 3.0.6

5 réponses

m@rina Posted messages 27207 Registration date   Status Modérateur Last intervention   11 542
 
Hello

IF is a field too... It's not just about putting { } around the tag!

{IF { choice }=1 "Yes" "No"}

m@rina

Hey Michel! I didn't know I was a National!! ;))
--
There's no point in asking me questions in PM...
I definitely won't answer... The forum is made for that.
1
Debutant frustré
 
Hello,

It's not working. I read your response on a previous forum.
It seems that I must absolutely use the CTRL + F9 function to insert the braces; otherwise, it doesn't work. However, this function is not accessible to me in the "choice" field. Yet, if I use the right-click "edit field" and see the command highlighted, I can do it, but when I protect the form, the field becomes text!!!!!

If I enter the formula as you write it,
{IF {choice}=1 "Yes" "No"}
I get not a logical field, but a text field that displays the formula.

If I enter the formula without the braces at the ends:
IF {choice}=1 "Yes" "No"
it cancels the field.

If I enter the formula without the braces at the ends and without spaces before and after choice:
IF {choice}=1 "Yes" "No"
it tells me the word choice.

I didn't find an answer in the forum FAQs.
Perhaps I could send you my little test file to explain myself better??

Thank you again.
0
m@rina Posted messages 27207 Registration date   Status Modérateur Last intervention   11 542 > Debutant frustré
 
It's not worth trying to come up with a bunch of formulas.
I gave you the only correct one. All { } are obtained with Ctrl+F9.

You need to know that fields do not update by themselves. Also, you must check the "Calculate on exit" option in your drop-down list field.

When you protect the document, it's normal not to see the field code anymore; you see the result of the field, which is what matters.

When you say "But this function is not accessible to me in the "choice" field.", I don't know what that means.
A field is created either via the Insert menu, Field, or manually using the Ctrl+F9 shortcut.
When a field is a bit complicated, it needs to be done manually.

I've explained everything here about what fields are:
http://faqword.fr/...

I think this will clarify for you what Word fields are.

m@rina
--
It's pointless to ask me questions in PM...
I definitely won't answer them... The forum is made for that.
--
It's pointless to ask me questions in PM...
I definitely won't answer them... The forum is made for that.
0