Field IF

M

Misazap

Hi! I am new here and i need help with field IF. I am trying to use I
field in word 7 and it is not working to me :-(. I tried this:

IF {numpages}>=2 "{page}/{numpages}" ""

I want to print page number only if the whole document is more than tw
pages. But this is not working.

when i use IF {numpages}>=2 "ok" "not" it will write ok on every pag
and still ok if is only one page in documen
 
L

Lisa Wilke-Thissen

Hi,
I am trying to use IF field in word 7 and
it is not working to me :-(.

Although I no longer have Word 7 installed (I think that was 15 years ago),
I'll try to help.

If your document has only ONE page, the field will show nothing.
If your document is greater than ONE page, the field will show Page/Numpages
on each page.
That's not what you want.

You want to show a result, if CURRENT Page is equal or greater than 2.
{ IF { Page} >= 2 "{ Page}/{ NumPages }" "" }
 
M

Misazap

Thank you for reply, but even this not working. The problem is, that th
field cannot result item with braces and cannot print item with braces
And this is what i need help. I'm trying to ask support, because no on
in my work can help me and we very need it
 
M

Misazap

i tried edit my prev post, but it cannot save it ..

I am back with answer to my question. The mistake was, that the tex
with braces ({page}) was typed from keyboard. And this need to b
inserted from field.

The right process is:
ctrl+F9
type IF and space
menu field {numpages}
space > space 1 space "
menu field {page}
/
menu field {numpages}
space ""

Result is:
{if {numpages} > 1 "{page}/{numpages}" ""}
The braces in this sentence are visible with dotted border.
I made a screenshot, in attachment.

Thank you and bye

+-------------------------------------------------------------------
|Filename: If.png
|Download: http://www.wordbanter.com/attachment.php?attachmentid=188
+-------------------------------------------------------------------
 
S

Stefan Blom

Indeed, as you have found, to create nested fields (fields containing other
fields) you must insert the field delimiters, { }, directly into the
document using a keyboard shortcut. Similarly, you can't create nested
fields from within the Field dialog box.
 
S

Stefan Blom

By the way, I'm wondering if you are actually using Word 2007, rather than
"Word 7" which would be a very old version, as Lisa noted.

The "complete" version number is different from the year a version was
released. For example, Word 2013 corresponds to release 15. On my system,
the exact version number is 15.0.4605.1001.

In Word 2013, you will find the version number at File tab | Account | About
Word, but this has changed many times over the past versions. (Older
versions of Word made use of Help | About, which was very easy to remember.)
 

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