Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to specific page to print by using command 'Report F
Message
 
À
02/10/1998 02:56:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00141760
Message ID:
00143176
Vues:
35
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform