#1   Report Post  
Misazap Misazap is offline
Junior Member
 
Posts: 0
Default Field IF

Hi! I am new here and i need help with field IF. I am trying to use IF 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 two pages. But this is not working.

when i use IF {numpages}=2 "ok" "not" it will write ok on every page and still ok if is only one page in document
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Lisa Wilke-Thissen Lisa Wilke-Thissen is offline
external usenet poster
 
Posts: 123
Default Field IF

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 }" "" }

--
Cheers,
Lisa

  #3   Report Post  
Misazap Misazap is offline
Junior Member
 
Posts: 0
Default

Thank you for reply, but even this not working. The problem is, that the 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 one in my work can help me and we very need it.
  #4   Report Post  
Misazap Misazap is offline
Junior Member
 
Posts: 0
Default

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

I am back with answer to my question. The mistake was, that the text with braces ({page}) was typed from keyboard. And this need to be 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!
Attached Images
 
  #5   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default Field IF

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.

--
Stefan Blom
Microsoft Word MVP




"Misazap" wrote in message
...

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

I am back with answer to my question. The mistake was, that the text
with braces ({page}) was typed from keyboard. And this need to be
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|
+-------------------------------------------------------------------+



--
Misazap




  #6   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default Field IF

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.)

--
Stefan Blom
Microsoft Word MVP




"Misazap" wrote in message
...

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

I am back with answer to my question. The mistake was, that the text
with braces ({page}) was typed from keyboard. And this need to be
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|
+-------------------------------------------------------------------+



--
Misazap


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing date field in file select field (get data source) Leslie Gottlieb Mailmerge 2 August 24th 09 11:18 PM
File Name Field With Text Form Field When Performing a Save As... Bilbert Microsoft Word Help 1 April 11th 07 08:50 PM
Copy portion of text form field , the field is in a table cell otilia Tables 6 January 27th 06 11:52 AM
Help on Mailmerge field (field length) - field getting truncated Blasting Cap Mailmerge 0 September 16th 05 06:57 AM
Mail merge field different in datasource & insert a field menu Silvs Mailmerge 1 April 22nd 05 06:18 AM


All times are GMT +1. The time now is 08:22 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"