how to print one record twice in one page
how to print one record twice in one page?
i have some records and i want to print them double in one page like :
page1
example1
example1
page2
example2
example2
....
how can i recall one record twice on masterdata ?
i appreciate your response.
thankyou in adavance,
i have some records and i want to print them double in one page like :
page1
example1
example1
page2
example2
example2
....
how can i recall one record twice on masterdata ?
i appreciate your response.
thankyou in adavance,
Comments
set its number of recods to 2
write code to control movement of the dataset
thanks again
i have created this report but now its not working.
Masterdata can not get the number of rows to the init code
//main code
begin
ds := Report.GetDataset('RAPORTX');
masterdata1.rowcount := ds.recordcount; ???
end.
Where is the error???
thank you
plz any idea to solve this problem??
masterdata1.rowcount := ds.recordcount;
should be
masterdata1.rowcount := ds.recordcount x 2;
you also need a variable to keep track of which iteration of the master record you are on
and set it back to 1 after the copy of the record is printed.
and if your out put does not use a whole page you will need to call engine.newpage.
you must also write code to move the ds to the next record if not eof.