I have created a simple report with integer, sales invoice header, sales invoice line.
sales invoice header is indented to integer
sales invoice line is indented to sales invoice header.
- Integer
- Sales Invoice Header
- Sales Invoice Line
I have written code to print the same 1 page report to 3 pages(1st page as Original, 2nd page as Duplicate, 3rd page Triplicate) by using integer.
On PreDataItem()
intNoOfLoops += 1;
SETRANGE(Number,1,3);
onAfterGetRecord()
IF Number=1 THEN BEGIN
txtCopy:='Original';
END;
IF Number=2 THEN BEGIN
txtCopy:='Duplicate';
END;
IF Number=3 THEN BEGIN
txtCopy:='Triplicate';
END;
This is working fine in classic but it is not working in RTC report.
Do i need to write any code in RTC.
Can anybody help me in this.
Thanks,
Pradeep
0
Comments
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Is the txtcopy in your dataset? Is it calculated incorrectly?
Is it not visible on your layout, ...
First check your dataset, if it's not there, then add it.
If it's there, then we need more info.
|To-Increase|
:thumbsup:
Check Sales Order and Quote reports with No. of Copies set to 3..
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav