Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print x copies from a report
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00817540
Message ID:
00817552
Views:
11
>>Hi all,
>>
>>With one click, i need to print 4 copies from my invoice report, and, in first copie i need to put 'Original', in second 'Duplicado' etc, what's the best way to do that.
>
>Hi João,
>
>- Create Report Variable nCopyNo with 'Value to Store:' nCopyNo and 'Initial Value:' 1.
>- Put following expression in the Summary band On Exit _VFP.SetVar("nCopyNo", INT(nCopyNo + 1))
>- Add field with expression or UDF() that converts nCopyNo into words 'Original', 'Duplicado' e.t.c.

Hi Sergey,

Well, my answer was a little bit longer, so took more time to write :) I also have a concern, would it work with the Report Variable (would not it reset itself each time the report is ran)? Too lazy to try :)
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform