Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to print multiple copies of a label?
Message
From
20/08/2001 07:47:35
Walter Meester
HoogkarspelNetherlands
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00546085
Message ID:
00546105
Views:
27
Hi Jaime,

>I would like to print 10 labels for every record found in my table. Is there a way of doing this similar to using th _PCOPIES variable? I know, i could create a table with 10 times every record found, but i wondered if there was any other *better* way?

As I recall recorrectly you can copy the report to a temp file and hack the expr field of the first record of the report. You can place a COPIES = 10 line in this memo field and report from the temp file. However i've played with it in the past I can't say if this is going to work in all cases.

Personally, I use the following strategy:
1. create a dummy table with a character field and index on it.
2. index your result table on a random character field.
If you want the copies of the whole report to follow eachother:
SELECT Dummy
SET RELATION TO ALLTRIM(dummycharact) INTO YourResultTable
SET SKIP TO YourResultTable
and run your report.

If you wan to have the copies to inmediately follow the original:
SELECT YourResultTable
SET RELATION TO "" INTO Dummy
SET SKIP TO Dummy
and run your report.

HTH,

Walter,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform