PROGRESS Print Reports

sphipp

Member
The trouble with this is that MFG/PRO uses its own print routines and they are difficult to slot things in to.

If you want this to affect curent reports you have to rewrite them all, and this is not a particularly fun thing to do.

If you want this for new reports, what I would suggest is to get the source code for an existing report, take out the actual report code to leave the skeleton structure then save this off as an include file or template. Then you can make changes to this to add number of copies etc and use the saved template/include file as the basis of any new report programs.

However, be warned: MFG/PRO do not make this particularly easy. They bury include files that define shared variables deep within nested include files, so you can't wrap procedures around a lot of their code. But, once you have done this and have a workable skeleton/template you can write new reports using the template that look like MFG/PRO reports but act slightly differently.
 
hi,
you can print as many copies as you want.Take the data(no of copies) in a variable for eg : xxnumcpy the syntax is---->

OUTPUT TO PRINTER NUM-COPIES xxnumcpy .
 
Top