View Complete Thread | FoxWeb Forum Home
Date:    Msg ID:   
From:    Thread:   
You can use the PADL function to pad strings with any character:

PADL(eExpression, 2 , "0")

Sent by dick on 01/24/2002 01:32:41 PM:
This is probably more of a VFP question than FoxWeb.  I am putting some numeric data into a cursor and sending results by email.  Problem is that some of the numbers have leading zero, but obviously the zero does not show up when the cursor is input to the email body.  How can I insert or otherwise have the leading "zero" show in the email.  The main thing is that all numbers are two digit and when the zero is not present the columns do not line up.