David Higgs
Programmer
I have the following Code in a GRID REFRESH
Code:
this.Column8.ControlSource = 'PADL(ALLTRIM(STR(cLogbook.STX)),3,"0")'
The Code Converts an Integer Value from a Table and displays it as a 3 Character String, padded out with Leading Zero's (001,002 etc). What I would like to do is only PAD out a Value that is greater than Zero. If the value is Zero, I would prefer the Display to be Blank.
Any help would be most appreciated.
Regards,
David.
Recreational user of VFP.