Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.pagelayout
Robbie0731 Robbie0731 is offline
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   Report Post  
Posted to microsoft.public.word.pagelayout
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
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.


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
Locking down a template but allow minor formatting Goku 316 Microsoft Word Help 4 April 4th 08 02:42 PM
Locking sections of text in Word V Microsoft Word Help 1 October 3rd 07 06:23 PM
Locking style on a template dmotley New Users 2 August 28th 05 05:31 PM
Template - locking address details Thermos Microsoft Word Help 2 August 15th 05 04:17 PM
Problems locking images and text boxes to a page Dave W. Page Layout 1 June 21st 05 03:55 PM


All times are GMT +1. The time now is 12:53 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"