I am printing the pdf report, but its showing zero value, if you guys add the option in numeric field not to print zero will be awesome, it took me hard time to remove zero from printing in pdf report.
thanks.
I am printing the pdf report, but its showing zero value, if you guys add the option in numeric field not to print zero will be awesome, it took me hard time to remove zero from printing in pdf report.
thanks.
Hello,
Could you elaborate a bit more? Why is the ‘0’ appearing? Is it because you have a record without any value assigned?
regards,
Bernhard Bernsmann
actually, I have discount field which is generated discount_amount by the percentage, after save the transaction row, discount_amount saves zero into the field, and that 0 discount is printing into the pdf.
hope you got that…
bartho
i didn’t get reply from you…
Hello,
You could achieve that with a bit of code on the onRecord().
For instance:
if ({MyField} == 0}
{MyField} = “”;
Just a quick example so you can get the idea.
regards,
Bernhard Bernsmann
i did but it doesn’t work, so I added directly into the mysql query, it works fine now, but my suggestion, it should add the 1 checkbox into the main settings, do not print zero value.
Hello,
I recommend you to try to “debug” the code. I also have just sent your suggestion to our team.
regards,
Bernhard Bernsmann