>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