Issues with "0" in report

mkdrep

Registered User.
Local time
Today, 17:45
Joined
Feb 6, 2014
Messages
181
Please see (Zeroes.jpg) of a report I am printing. Each line represents when a product shipped and the quantity of the product on each order. Unfortunately, since each order doesn't include a quantity for each of the (10) products, I get a lot of "0" values in report. However, on relatively few occasions, I will get two of three products on one line, as shown in (Zeroes-2.jpg)

Is there anyway to set up the report so only it only prints the fields on an individual row when the product quantity > "0"?

Thank you.
 

Attachments

  • Zeroes.jpg
    Zeroes.jpg
    45.1 KB · Views: 252
  • Zeroes-2.jpg
    Zeroes-2.jpg
    42.3 KB · Views: 248
exclude them with criteria. Without knowing your underlying recordsource, cant suggest what that criteria would look like
 
Which rows in your sample images need to be excluded? I couldn't determine which ones you want to eliminate.
 
Use conditional formatting to set the font color to be the same as the back color when the values are zero
 
better Ask around your colleages?
for whom the report is for?
obviously those people who are before you want
to know those details.
 
Which rows in your sample images need to be excluded?
I'm assuming it is the first row of zeros-2

Re conditional formatting - I would use the format property
 
Use conditional formatting to set the font color to be the same as the back color when the values are zero
I don't know how to accomplish your suggestion. I assume I would highlite each field one at a time, but I'm not sure how to use conditional formating to accomplish what I want. Any other info you could give me would be greatly appreciated.
 
I think we are not sure what you mean. It is not completely clear. I can see there are several different guesses. If you want the 0s to be invisible then do as mentioned by setting the font forecolor to the backcolor.
Cond3.jpg


This would do something like
report.jpg
 
I think we are not sure what you mean. It is not completely clear. I can see there are several different guesses. If you want the 0s to be invisible then do as mentioned by setting the font forecolor to the backcolor.
View attachment 92868

This would do something like
View attachment 92869
Sorry for the confusion I caused everyone. That being said, what you are showing above is what I'm trying to accomplish. Thank you!
 
A third/fourth way is to use a calculated value in a query or a calculated control.
In a query you would format each field like:
Code:
SELECT IIf([sl15]>0,[sl15],"") AS SL15Format, ... FROM tblProduct;
in a calculated control for the SL15 text box:
Code:
= IIf([sl15]>0,[sl15],"")
 
Sorry for the confusion I caused everyone. That being said, what you are showing above is what I'm trying to accomplish. Thank you!
The attached is what I finally settled on, which gives a much clearer view than the original report. Thank you again for your help.
 

Attachments

  • Resulting-rpt.jpg
    Resulting-rpt.jpg
    64.5 KB · Views: 243
The attached is what I finally settled on, which gives a much clearer view than the original report. Thank you again for your help.
Hi. Glad to hear you got it sorted out. Good luck with your project.
 
Do you really have ten product columns in your table?
 

Users who are viewing this thread

Back
Top Bottom