Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formating Numbers in VFP Report 1

Status
Not open for further replies.

MAliShah

Programmer
Nov 22, 2002
27
Dear All
I want to format the numbers in Visual FoxPro Report . Like -99999 as -99,999 and -999 as -999 not -,999. when i use 999,999,999 in format mask. it did not work. Please help.
Muhammad Ali Shah
 
Hi Muhammad,

Use the TRANSFORM() function, passing a formatting string as the second parameter. For example, if the field is called Amount, the expression might be TRANSFORM(Amount,"999,999").

Mike


Mike Lewis
Edinburgh, Scotland
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top