Syntax for inserting page breaks

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Syntax for inserting page breaks

Deepa Bhat
Hi everyone,

What is the syntax (if any) to insert a page break?
I usually run my syntax and then insert page breaks in my output so I
can have control on what gets printed per page.
Is there a way to write syntax in my syntax file to insert a page break?

Thanks as usual,
Deepa
Reply | Threaded
Open this post in threaded view
|

Re: Syntax for inserting page breaks

Hashmi, Syed S
Deepa,

 

I'm not sure if there is a specific syntax for page breaks but I usually
add in a TITLE command in the syntax whenever I need a page break.
Personally, I like this because it also adds a little header title on
all the pages with a specific output.

 

The following syntax example results in an output where the there will
be a page break between the two frequencies and another one between the
second frequency and the crosstab:

 

  TITLE "Freq 1".                   /* first title

  FREQUENCIES

      VARIABLES = var1 TO var3.

  TITLE "Freq 2".                   /* second title and page break

  FREQUENCIES

      VARIABLES = var4 TO var8.

  TITLE "testing title3".           /* third title and page break

  CROSSTABS

      /TABLES var1 by var2.

 

 

 

HTH

 

- Shahrukh Hashmi

 

 

 

> -----Original Message-----

> From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf
Of

> Deepa Bhat

> Sent: Wednesday, September 19, 2007 10:51 AM

> To: [hidden email]

> Subject: Syntax for inserting page breaks

>

> Hi everyone,

>

> What is the syntax (if any) to insert a page break?

> I usually run my syntax and then insert page breaks in my output so I

> can have control on what gets printed per page.

> Is there a way to write syntax in my syntax file to insert a page
break?

>

> Thanks as usual,

> Deepa