{IF {Date \@ "dddd"} = Friday "insert a page break here" "{IF {Date \@
"dddd"} = Saturday "insert a page break here"}" ""}
should do the trick. Insert the page break where indicated within the field.
If the test is for a the result of a merge field change the Date fields to
the Merge field.

Signature
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
Graham Mayor - Word MVP
Web site www.gmayor.com
Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
> Using a multipage document and entering a date field such as the many
> examples shown on the WOPR site. How would one write the IF statement
[quoted text clipped - 36 lines]
>> Checked by AVG anti-virus system (http://www.grisoft.com).
>> Version: 6.0.627 / Virus Database: 402 - Release Date: 16/03/2004
rlampky - 05 Apr 2004 14:30 GMT
Very appreciative thank you.
> {IF {Date \@ "dddd"} = Friday "insert a page break here" "{IF {Date \@
> "dddd"} = Saturday "insert a page break here"}" ""}
[quoted text clipped - 16 lines]
> >>>
> >>> Go to:
http://www.wopr.com/cgi-bin/w3t/showflat.pl?Cat=&Board=wrd&Number=249902
> >>> (url all one line)
> >>> Where you can download a Word document for doing date calculations
[quoted text clipped - 21 lines]
> >> Checked by AVG anti-virus system (http://www.grisoft.com).
> >> Version: 6.0.627 / Virus Database: 402 - Release Date: 16/03/2004
macropod - 11 Apr 2004 20:16 GMT
Hi Graham,
One could also automate the page-break insertion with:
{QUOTE{IF{DATE \@ dddd}= Friday {QUOTE 12}}{IF{DATE \@ dddd}= Saturday
{QUOTE 12}}}
Cheers
> {IF {Date \@ "dddd"} = Friday "insert a page break here" "{IF {Date \@
> "dddd"} = Saturday "insert a page break here"}" ""}
[quoted text clipped - 16 lines]
> >>>
> >>> Go to:
http://www.wopr.com/cgi-bin/w3t/showflat.pl?Cat=&Board=wrd&Number=249902
> >>> (url all one line)
> >>> Where you can download a Word document for doing date calculations
[quoted text clipped - 21 lines]
> >> Checked by AVG anti-virus system (http://www.grisoft.com).
> >> Version: 6.0.627 / Virus Database: 402 - Release Date: 16/03/2004