> Hi,

>

> Just wondering if it's possible to display numeric values in a grid with leading zero's when the number is too short. For example the grid (and table) contains:

>

> 10

> 200

> 4010

>

> I would prefer to see in my form's grid:

>

> 0010

> 0200

> 4010

>

> This would be much easier to read.

> Unfortinately I cannot use character fields for these values, only numeric values.

>

> Regards, Gerrit

Also see PADL() function in help

cvar1=10
cvar2=PADL(cvar1,4,"0")
MESSAGEBOX(cvar2)