General information
Category:
Reports & Report designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only