A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Page Layout
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Word Template - locking text on a page



 
 
Thread Tools Display Modes
  #1  
Old February 26th, 2009, 03:57 PM posted to microsoft.public.word.pagelayout
Robbie0731
external usenet poster
 
Posts: 1
Default Word Template - locking text on a page

I have a word template that has field data that is populated with data from a
SQL database. When one of the fields being populated uses multiple lines,
the entire document is advance down. This causes information from the next
pages to advance down messing up the formatting. Is there a way to lock the
text in parts of the document and only allow other parts to move? The first
page contains the data from the SQL Database and some blank space to allow
the text to move down. The second page and following pages need to remain
how they appear in the document.

Thank
  #2  
Old February 27th, 2009, 04:03 PM posted to microsoft.public.word.pagelayout
Jay Freedman
external usenet poster
 
Posts: 9,488
Default Word Template - locking text on a page

Robbie0731 wrote:
I have a word template that has field data that is populated with
data from a SQL database. When one of the fields being populated
uses multiple lines, the entire document is advance down. This
causes information from the next pages to advance down messing up the
formatting. Is there a way to lock the text in parts of the
document and only allow other parts to move? The first page contains
the data from the SQL Database and some blank space to allow the text
to move down. The second page and following pages need to remain how
they appear in the document.

Thank


If the "blank space" at the bottom of the first page consists of empty
paragraph marks, remove it. Instead, mark the first paragraph of the second
page with the paragraph formatting "Page break before" (on the Line and Page
breaks tab of the Format Paragraph dialog).

After this change, if the information inserted from the database is long
enough to overflow the first page, it will create a new second page, and
what was the second page will become the third. As long as the data stays
within the first page, though, nothing on the second page or later will
move.

If that isn't acceptable, you can put the data field on the first page into
a table, and set the table's row height to an Exact measurement in the Table
Properties Rows dialog. Then if the data is too long, it will just not
display anything below the bottom of the table.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.