Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Manish Swami
  Where is Manish Swami?
 SRI GANGANAGAR
 India
 Manish Swami
 To: mk sharma
  Where is mk sharma?
 mumbai
 India
 mk sharma
 Tags
Subject: RE: Original/Duplicate with Report Preview
Thread ID: 373512 Message ID: 373547 # Views: 55 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Reports and Printers
Date: Saturday, March 23, 2013 5:28:13 AM         
   


> How to Print "Original" on first copy and "Duplicate" on second copy ?
>
>
> ** PreviewCommandButton
> 
> oapp.cReportTpye=""
> Report form MyReport to print prompt preview
> 
> ****  Now if user print from Preview then How to display " Original "  on first Copy 
> ****  and "Duplicate" on second copy  ?
> 
> 
> ****  With Print Command Button I am using below method to print "Original" on first copy 
> ****  and "Duplicate" on second copy. 
> 
> **** But How to print "Original"  or " Duplicate " when user print from Preview ?
> 
> ** PrintCommandButton
> oapp.cReportTpye=""
> 
> for i = 1 to 2
> do case
> case i = 1
> oapp.cReportTpye="Original"
> Report form MyReport to print prompt
> case i = 2
> oapp.cReportTpye="Duplicate"
> Report form MyReport to print prompt
> endcase
> endfor
> 

>
>
>
> Warm Regards,
> mk.
Hi,

I m using

ANS = 1
@ 11, 12 SAY 'COPIES : ' GET ANS
READ
CPY = 0
DO WHILE CPY IF CPY=0
_TYPE='ORIGINAL'
REPORT FORM ......
ELSE
_TYPE='DUPLICATE'
REPORT FORM ......
ENDIF
CPY = CPY+1
ENDDO




Regards

MANISH SWAMI
www.gaurisoftwares.com
My Blog : - www.gaurisoftwares.blogspot.com
code.google.com/p/gaurisoftwares

ENTIRE THREAD

Original/Duplicate with Report Preview Posted by mk sharma @ 3/22/2013 8:16:54 PM
RE: Original/Duplicate with Report Preview Posted by Rahul Moudgill @ 3/23/2013 2:56:11 AM
RE: Original/Duplicate with Report Preview Posted by mk sharma @ 3/23/2013 5:49:49 AM
RE: Original/Duplicate with Report Preview Posted by Rahul Moudgill @ 3/24/2013 8:16:32 AM
RE: Original/Duplicate with Report Preview Posted by Jignesh Parekh @ 3/23/2013 5:10:03 AM
RE: Original/Duplicate with Report Preview Posted by mk sharma @ 3/23/2013 6:16:20 AM
RE: Original/Duplicate with Report Preview Posted by Jignesh Parekh @ 3/23/2013 2:11:25 PM
RE: Original/Duplicate with Report Preview Posted by mk sharma @ 3/23/2013 4:19:55 PM
RE: Original/Duplicate with Report Preview Posted by Jignesh Parekh @ 3/25/2013 5:03:42 AM
RE: Original/Duplicate with Report Preview Posted by mk sharma @ 3/25/2013 5:52:53 AM
RE: Original/Duplicate with Report Preview Posted by Manish Swami @ 3/23/2013 5:28:13 AM