Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to specific page to print by using command 'Report F
Message
 
To
02/10/1998 02:56:24
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00141760
Message ID:
00143176
Views:
34
Unless I'm mistaken, you'd have to do it in like....
#INCLUDE FoxPro.h
:
:
IF MESSAGEBOX("Do you want to PREVIEW the report", MB_ICONQUESTION+MB_YESNO,"Printing Dialog Box") = IDYES
*Previewing the report allows the user to learn the page numbers
REPORT FORM x PREVIEW
ENDIF

IF MESSAGEBOX("Do you want to PRINT the report", MB_ICONQUESTION+MB_YESNO,"Printing Dialog Box") = IDYES
*If they know the page numbers they can use the Windows dialog to specify the pages to print
REPORT FORM x NOCONSOLE TO PRINTER PROMPT
ENDIF
:
:
I'm sure someone could show you a better way but this is in the area you seem to want.

Rick
--------------
>Thanks for your all suggestion. But if i would like that command in "Report Form....... Prev" , how can I apply that command. Thank again.
>------------------
>>>>I would like to specific page to print by using "Report form.....nocon. Which command must be used.
>>>>From No.
>>>
>>>Use:
>>>
>>> REPORT FORM x RANGE start_page, end_page NOCONSOLE
>>------------------
>>In many cases you can also use:
>> REPORT FORM x NOCONSOLE TO PRINTER PROMPT
>>then in the windows printer dialog you can typically specify all that and more.
>>
>>Rick
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform