#1
|
|||
|
|||
Keep Paragraph Lines Together Issue
I need to keep the following lines together (no pagebreak in the middle):
SELECT [Year]=YEAR(OrderDate), OrderCount=COUNT(*) FROM AdventureWorks.Sales.SalesOrderHeader GROUP BY YEAR(OrderDate) ORDER BY [Year] Year OrderCount 2001 1379 2002 3692 2003 12443 2004 13951 I selected the above text (highlight it), right click, Paragraph, Line & Pagebreaks, Keep lines together (checkmark). Despite that it page breaks in the middle. |
#2
|
||||
|
||||
If the text lines are in separate paragraphs, that is, if they are separated by paragraph marks (¶, inserted as you press Enter), make use of the "Keep with next" option instead, also found in the Paragraph dialog box.
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
#3
|
|||
|
|||
Thanks Stefan. It works.
|
Tags |
keep lines together, paragraph |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Paragraph spacing | Talullah | Word | 2 | 05-01-2012 12:32 PM |
Getting blank lines instead of supressed lines. | Welshie82 | Mail Merge | 2 | 11-14-2011 01:41 AM |
heading/paragraph justification issue | Brando | Word | 1 | 07-11-2011 05:15 AM |
spacing within paragraph | psmoore | Word | 1 | 06-22-2010 02:15 AM |
Paragraph | cloa513 | Word | 1 | 12-29-2009 02:20 AM |