Home |
Search |
Today's Posts |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Statement parameter in Mailmerge.OpenDataSource | Mailmerge | |||
or statement | Mailmerge | |||
Possible BUG: Multiple HTTPrequests send from one includetext statement | Mailmerge | |||
How do I copy a scanned signature into an if/or statement in Word | Mailmerge | |||
Insert carriage return in mergefield statement | Mailmerge |