#1   Report Post  
Mykas_Robi
 
Posts: n/a
Default If statement

How do i make the true result of an if statement insert a document. The
document consists of about 5 to 6 pages of text.

Any assistance offered would be greately appreciated.

Thanks and have a nice day.
  #2   Report Post  
Doug Robbins
 
Posts: n/a
Default

Use an INCLUDETEXT field that points to the file as the true result.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
"Mykas_Robi" wrote in message
...
How do i make the true result of an if statement insert a document. The
document consists of about 5 to 6 pages of text.

Any assistance offered would be greately appreciated.

Thanks and have a nice day.



  #3   Report Post  
Mykas_Robi
 
Posts: n/a
Default

Thanks Doug, although when I use the includetext function as follows

{IF {part_time} 1 "{ INCLUDETEXT c:\\terminology.doc}" "less than zero" }

I get { INCLUDETEXT c:\\terminology.doc} I think the syntax may be wrong but
I am not sure.

I inserted the part_time field and then edited it to modify it to appear as
it does above.
Once again any help would be greatly appreciated.

"Doug Robbins" wrote:

Use an INCLUDETEXT field that points to the file as the true result.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
"Mykas_Robi" wrote in message
...
How do i make the true result of an if statement insert a document. The
document consists of about 5 to 6 pages of text.

Any assistance offered would be greately appreciated.

Thanks and have a nice day.




  #4   Report Post  
Mykas_Robi
 
Posts: n/a
Default

Thanks again Doug, I must use the CTRL + F9 to ge the curly braces. I can't
type this in.

Thanks for all your help

"Mykas_Robi" wrote:

Thanks Doug, although when I use the includetext function as follows

{IF {part_time} 1 "{ INCLUDETEXT c:\\terminology.doc}" "less than zero" }

I get { INCLUDETEXT c:\\terminology.doc} I think the syntax may be wrong but
I am not sure.

I inserted the part_time field and then edited it to modify it to appear as
it does above.
Once again any help would be greatly appreciated.

"Doug Robbins" wrote:

Use an INCLUDETEXT field that points to the file as the true result.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
"Mykas_Robi" wrote in message
...
How do i make the true result of an if statement insert a document. The
document consists of about 5 to 6 pages of text.

Any assistance offered would be greately appreciated.

Thanks and have a nice day.




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
Statement parameter in Mailmerge.OpenDataSource Christof Nordiek Mailmerge 6 April 26th 05 09:31 AM
or statement JCSadie Mailmerge 1 April 25th 05 06:54 PM
Possible BUG: Multiple HTTPrequests send from one includetext statement Oliver Mailmerge 2 April 18th 05 09:46 AM
How do I copy a scanned signature into an if/or statement in Word mcgowan Mailmerge 2 February 1st 05 06:37 AM
Insert carriage return in mergefield statement dixie Mailmerge 2 December 22nd 04 03:42 AM


All times are GMT +1. The time now is 09:47 AM.

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"