SYS(1037) - Page Setup Dialog Box

Displays the Visual FoxPro default or report Page Setup dialog box, or sets printer settings for the default printer in Visual FoxPro or for the report printer environment.

SYS(1037 [, nValue])



Specifies a value that determines the functionality of SYS(1037).

The following table lists the possible values of nValue.

nValue Description

0 or omitted

Opens the default Page Setup dialog box.


Opens the report Page Setup dialog box.


Sets a report's printer environment settings to the default printer settings.


Sets the default printer settings to a report's printer environment settings.


When nValue is set to a value of 1, 2, or 3, the report table or cursor must be opened exclusively.

Expand imageReturn Value

Expand imageRemarks

Expand imageSee Also

© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic