Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing same record more than 1x
Message
From
11/07/1997 21:25:27
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00039641
Message ID:
00039646
Views:
40
In the last object of the detail band, put a function in Print When. The function will always return true:

function DummyFunction
*-- lnTimes is a public variable
lnTimes=lnTimes+1
if lnTimes > lnNTimes
lnTimes=1
else
skip -1
endif
return .t.

Be careful with this technique, because it will also change any calculated fields you have.

Vlad

>I've designed custom price tags for a small clothing manufacturer in Report Designer. What I need is a way to print, let's say any given item, more than once (in fact, user defined amount of times). Each item is represented in an inventory table as separate record. Each style, size, color have an unique code assigned to it (primary key).
>How can I print X number of same information stored in a record in a Report w/o creating a, let's say cursor that holds x number of same record as records? Any ideas???
>
>Also, how can I change the "shade" of text I print on laser printer in a Report? The printer doesn't support color printing but I've printed different shade of black to represent grey in desktop publishing programs. Any suggestions?
Previous
Reply
Map
View

Click here to load this message in the networking platform