Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
REPORTS
Message
From
19/11/1999 17:09:46
 
 
To
19/11/1999 17:02:25
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00293324
Message ID:
00293327
Views:
18
>Visual FoxPro 6.0
>
>How can I print a report, with only a couple of pages? I don't want the entire report printed. Can it even be done?
>
>Please send a reply right away.
>
>Thanks!
>
>Kevin

Kevin,

Here is an excerpt from the Help for the REPORT command; the RANGE option will do what you are asking. HTH

Syntax

REPORT FORM FileName1 | ?
[ENVIRONMENT]
[Scope] [FOR lExpression1] [WHILE lExpression2]
[HEADING cHeadingText]
[NOCONSOLE]
[NOOPTIMIZE]
[PLAIN]
[RANGE nStartPage [, nEndPage]]
[PREVIEW [[IN] WINDOW WindowName | IN SCREEN]
[NOWAIT]]
[TO PRINTER [PROMPT] | TO FILE FileName2 [ASCII]]
[NAME ObjectName]
[SUMMARY]

<snip>

RANGE nStartPage [, nEndPage]

Specifies a range of pages to print. nStartPage specifies the first page printed; nEndPage specifies the last page printed. If nEndPage is omitted, the last page printed defaults to 9,999.
Bridget K. Dawes
Previous
Reply
Map
View

Click here to load this message in the networking platform