General information
Category:
Reports & Report designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only