Zero Pad a Number
Is it possible for FastReports to zero pad a number?
Have tried <Format('%.6d',[<mydata."mynum">])> and while this will return 123 as 000123. The tfrxMemoView will no longer hide zero values (HideZeros = True). I want to have both the ability to hide zero values and zero pad numbers not equal to zero.
Have tried <Format('%.6d',[<mydata."mynum">])> and while this will return 123 as 000123. The tfrxMemoView will no longer hide zero values (HideZeros = True). I want to have both the ability to hide zero values and zero pad numbers not equal to zero.
Comments
[IFF(<mydata."mynum"> = 0, '',Format('%.6d',[<mydata."mynum">]))]