Controlling footers in code (Word 97)

P

Peter L Reader

I have a template consisting mostly of 3 tables; normally, they all fit on
one page, and there's a footer with a couple of signature blocks on it. I
load these tables with data from an Access database, using OLE. I don't
want to split a table over a page, so what I want to do is insert a page
break just before the third table when there is more data than will fit on
one page. If this happens, I don't want to print the footer on page 1. If
it doesn't, and it all fits on one page, I do want to print the footer. I
can figure out how to insert the break, but I can't seem to find anything on
how to turn a footer on and off.
Can anyone point me in the right direction?
 
D

Doug Robbins

You may be able to use an { IF { page } = { numpages } "true result" "false
result" } field.

--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
 

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