English 中文(简体)
SPSS Set Page breaks in Syntax
原标题:
  • 时间:2010-07-08 02:56:02
  •  标签:
  • spss

Is it possible to set page breaks using syntax for the Output viewer? I am looking for ways to programmatically control the content in the output window; everything seems to be done by pointing and clicking.

问题回答

There is an extensive scripting interface for working with the Viewer using either Python or Basic. The api item.SetPageBreak(True) will do this.

But the easiest way to do this is to use the SPSSINC MODIFY OUTPUT extension command, which allows you to specify the object types where you want to insert a break and does this for you. You can get it from SPSS Developer Central (www.spss.com/devcentral).

A title e.g. TITLE "my title". or subtitle will produce a pagebrake (At least if you export to PDF). Just leave the (sub)title empty (TITLE "".) you don t want any title printed.

Scripting doc is installed with the Python plugin, or you can use the help in the Basic scripting editor.





相关问题
SPSS Python Error

Getting the following error when trying to run SPSS from an external Python IDE. import spss yields the following error Traceback (most recent call last): File "C:Documents and SettingsUSER...

SPSS Set Page breaks in Syntax

Is it possible to set page breaks using syntax for the Output viewer? I am looking for ways to programmatically control the content in the output window; everything seems to be done by pointing and ...

Exact binomial test in SAS or SPSS?

I have 400,000 rows, each with an id, number of trials, and number of successes. I have (one) value for p, a hypothesized probability of success. I d like to calculate an exact, binomial, one-sided ...

linking info of pairs of respondents (couples) in SPSS

I am preparing for analyses of the determinants of partner choice in SPSS, but basically I can t get off the ground because I don t know how to create new variables based on the information of each ...

Specifying relative paths in SPSS 18

In SPSS 11 it was possible to specify relative paths. Example: FILE HANDLE myfile= ....datacurrent.txt /LRECL=533. DATA LIST FILE=myfile / ... This worked because apparently, SPSS 11 set the ...

SPSS and PHP/MySQL Integration

I apologize up front for the broadness of this question, but I m wondering if anyone has any suggestions/pointers. A friend s company uses SPSS for statistical data, surveys, etc. They d like to be ...

热门标签