Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Yuri Rubinov
  Where is Yuri Rubinov?
 Philadelphia
 Pennsylvania - United States
 Yuri Rubinov
 To: cerub
  Where is cerub?
 Budapets
 Hungary
 cerub
 Tags
Subject: RE: write number of copies on the page
Thread ID: 22151 Message ID: 22363 # Views: 1 # Ratings: 0
Version: Visual FoxPro 7 Category: Reports and Printers
Date: Wednesday, April 16, 2003 2:48:42 PM         
   


As I told, you cannot do it this way. You need:
1. Add the field on the report. Field expression: "Copy "+trans(iif(type("icopy")="N",icopy,1))
2.As usual, remove printer specific information from frx report files (tag, tag2, expr fields)
3. in the program call report this way:
for icopy=1 to 3
repo form... to print noco
endfor


> Hello
>
>
>
> I make this:
>
> sele 0
> use myreport.frx
> go top
> repla myreport.expr with "COPIES=3"
> repla myreport.expr with babla...
> use
>
> report form myreport.frx to print ...
>
> Is going to print out 3 times
>
> How can I write the number of the copied to the page?
>
> THX,
> Cerub
>
>
> > for icopy=1 to 3
> > go top
> > repo form.... to print noco
> > endfor
> >
> > > Hello
> > >
> > > When I printed 1 page to 3 copies,This is 1 click on print command button.
> > > How can I write the number of the copied to the page?
> > >
> > > THX,
> > > Cerub
> > >
> > > > AFAIK, number of copies are controled by printer in case you set it from page setup dialog. So report is called ones, no matter how many copies will be printed. What you could do is to call the report in the loop as many times as number of copies you wish, and display the loop number at the report page.
> > > >
> > > >
> > > > > Hello!
> > > > >
> > > > > I make multiple copies report (printed 3 page)
> > > > >
> > > > > How can I write the number of the copied to the page?
> > > > >
> > > > > write to page1 --> This is 1 st copied
> > > > > write to page2 --> This is 2 nd copied
> > > > > write to page3 --> This is 3 th copied
> > > > >
> > > > > THX,
> > > > > Cerub


COMPLETE THREAD

write number of copies on the page Posted by cerub @ 4/10/2003 2:19:48 PM
RE: write number of copies on the page Posted by Yuri Rubinov @ 4/10/2003 2:57:05 PM
RE: write number of copies on the page Posted by cerub @ 4/11/2003 8:16:54 AM
RE: write number of copies on the page Posted by Yuri Rubinov @ 4/11/2003 5:25:15 PM
RE: write number of copies on the page Posted by cerub @ 4/16/2003 8:08:12 AM
RE: write number of copies on the page Posted by Yuri Rubinov @ 4/16/2003 2:48:42 PM