I am having a problem with preventing a new page from printing in Crystal Reports 10. This was not created from a template since it is specific to our use. We actually print two of the same labels on the same page (letter size). We call them labels for their purpose.
I only need the positive quantity labels to print – seems simple enough!
The idea is print a label when moving one part from one location to another. The Control ID# is from the work table built via the label print program. This Control ID# is main parameter which I must receive in order to get the values from the work and transaction history tables to print the label information.
The Control Rec# is from the Record Number within Crystal Reports.
The Trans Rec ID# is the record number of the transaction history record. It is found in the work table only.
When the user selects to print the label, the Control ID# is passed to Crystal Reports. This is the only link I have to the work table. The program itself creates 2 separate transaction history records. The first record is always the "FROM" location, which will always contain a negative quantity. The second record is the "TO" location and contains a positive quantity. The records are always in negative, then positive quantity order. Also, the Trans Rec ID# is in ascending sequence. The negative record is the ghost record - the one I do NOT want to print, nor have a blank page for.
NOTE: Each time the label is to be printed, there are two more records created in the transaction table.
Here is a list of what I have tried, by itself and/or in conjunction with the others:
- in the Record Selection, I have tried selecting just the positive quantity, which will give me a leading blank page
- suppressed the Report Header
- conditionally suppressed report header - always prints blank page at beginning (see Example #2)
- conditionally suppressed detail (this works fine as in Example #2)
- sorting records in descending order by quantity
- sorting records in descending order by Trans Rec ID#
- grouping by Trans Rec ID#
- grouping by quantity
Whenever I try to suppress the printing of the negative quantity label, it always prints as a blank page. Is there a way to keep it from doing this? Is there something I can do that I am missing?
I only need the positive quantity label to print without any extra blank labels!
The examples can be found in the attachment folder. They are Label 1 and Label 2.
Label 1 shows the printing of the negative quantity labels.
Label 2 shows what happens when I try to suppress the negative quantity labels from printing.
I only need the positive quantity labels to print – seems simple enough!
The idea is print a label when moving one part from one location to another. The Control ID# is from the work table built via the label print program. This Control ID# is main parameter which I must receive in order to get the values from the work and transaction history tables to print the label information.
The Control Rec# is from the Record Number within Crystal Reports.
The Trans Rec ID# is the record number of the transaction history record. It is found in the work table only.
When the user selects to print the label, the Control ID# is passed to Crystal Reports. This is the only link I have to the work table. The program itself creates 2 separate transaction history records. The first record is always the "FROM" location, which will always contain a negative quantity. The second record is the "TO" location and contains a positive quantity. The records are always in negative, then positive quantity order. Also, the Trans Rec ID# is in ascending sequence. The negative record is the ghost record - the one I do NOT want to print, nor have a blank page for.
NOTE: Each time the label is to be printed, there are two more records created in the transaction table.
Here is a list of what I have tried, by itself and/or in conjunction with the others:
- in the Record Selection, I have tried selecting just the positive quantity, which will give me a leading blank page
- suppressed the Report Header
- conditionally suppressed report header - always prints blank page at beginning (see Example #2)
- conditionally suppressed detail (this works fine as in Example #2)
- sorting records in descending order by quantity
- sorting records in descending order by Trans Rec ID#
- grouping by Trans Rec ID#
- grouping by quantity
Whenever I try to suppress the printing of the negative quantity label, it always prints as a blank page. Is there a way to keep it from doing this? Is there something I can do that I am missing?
I only need the positive quantity label to print without any extra blank labels!
The examples can be found in the attachment folder. They are Label 1 and Label 2.
Label 1 shows the printing of the negative quantity labels.
Label 2 shows what happens when I try to suppress the negative quantity labels from printing.