Multiple Copies

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
Robert_Seidman
Posts: 62
Joined: Tue Oct 10, 2017 12:44 pm

Multiple Copies

Post by Robert_Seidman » Thu Sep 08, 2005 9:58 am

Dear Kathleen:____A problem for which I would greatly appreciate your help.____I would like to print 2 copies of an invoice. On the first copy I would like to say "Original", on the 2nd copy I would like to say"Duplicate".____To do this, I have created a variable called "Copies".____The expression is simply the function "copy()"____I then created another calculated expression "copymesage":____IIF(copies=1,^Original^,Duplicate)____This works great and has the desired effect. The problem is when I go to print the entire batch.____I want to print the first invoice that says "Original" and then the copy of the first invoice that says "Duplicate". I then want to print both copies of the 2nd invoice, etc, etc.____My problem is that, whether or not I have collate checked in the printer properties, as long as I have the "copymessage" field on my report, the reports prints all of the invoices with the "Original" message, and then prints all of the invoices with "Duplicate" message.____As soon as I remove the "copymessage" field from the report, it reverts to printing 2 copies of the first invoice, then 2 copies of the 2nd invoice etc. as it should.____Any suggestions for overcoming this problem____I thank you in advance__RHS____

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: Multiple Copies

Post by kfleming » Fri Sep 09, 2005 6:55 am

Make the field copies a group field in the report. Collation can behave incorrectly unless a COPY() field is used in the report.____Kathleen__R&R Support

Robert_Seidman
Posts: 62
Joined: Tue Oct 10, 2017 12:44 pm

==> RE: Multiple Copies

Post by Robert_Seidman » Fri Sep 09, 2005 10:12 am

Dear Kathleen:____Are you saying that I should put the calculated field "copies" into the group header instead of putting it in the page header?____I have done that (I have also tried putting in the page footer), and it does not seem to make any difference.____Thanks again.____RHS__

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

===> RE: Multiple Copies

Post by kfleming » Fri Sep 09, 2005 2:59 pm

Make the calculated field copies a group field in the report and see if it helps.____Kathleen__R&R Support

Robert_Seidman
Posts: 62
Joined: Tue Oct 10, 2017 12:44 pm

====> RE: Multiple Copies

Post by Robert_Seidman » Fri Sep 09, 2005 4:33 pm

Thanks again for your response, but I have put the field in the group header with no change. I get the same result. I have also tried putting the field in the page footer, and again get the same result.____I am baffled.____RHS

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=====> RE: Multiple Copies

Post by kfleming » Sun Sep 11, 2005 8:00 am

Did you go to Database Group Order and then as your last group field select the field copies? That might help.____Kathleen__R&R Support

Robert_Seidman
Posts: 62
Joined: Tue Oct 10, 2017 12:44 pm

======> RE: Multiple Copies

Post by Robert_Seidman » Fri Sep 16, 2005 8:39 am

That did not seem to make any difference, but I thank you anyway for your time and attention to this matter.____RHS

Post Reply