Hi all,
I am trying to print the same report multiple times but it is not working, can anyone help me on how to print the same report multiple times, i am using a boolean field in the request page if the boolean field is true i have to print the report two times, how is this can be done i am trying some ways but my ways are not working can anyone tell me how to do this, thank you for helping me.i am attaching the screen shots what i have done.
Thanks & Regards
Satish
Hi Supriya,
Your code is working thanks for that, after that i got a problem of in the header i have given a heading, but the heading is not coming perfectly as i thought. if the report is for 1 page then the heading is coming correctly, if the report is multiple pages it is not coming perfectly, for the original it has to show as Invoice and for the duplicate copy it has to show Invoice copy, that heading is coming like for 2nd page it is coming as a invoice and for the 1st page it is coming as a invoice copy, it is mainly occuring when i have multiple pages are there, for the heading i am using the set and getData, if anyone can give suggestions it will be better for me, thanks for your suggestions.
Thanks & Regards,
Satish
dataitem(CopyLoop; Integer)
{
DataItemTableView = SORTING(Number) order(ascending);
column(Number; Number)
{
}
dataitem(PageLoop; Integer)
{
DataItemTableView = SORTING(Number)
WHERE(Number = CONST(1));
column(OutputNo; OutputNo)
{
}
}
}
trigger OnPreDataItem()
begin
NoOfCopies := 4
NoOfLoops := NoOfCopies;
IF NoOfLoops <= 0 THEN
NoOfLoops := 1;
CopyText := '';
SETRANGE(Number, 1, NoOfLoops);
OutputNo := 1;
end;
u need to do this code on the report and add ur Report layout on one list and refer Standard report 206 for this
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156