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!

Numbers Formatting in CR 1

Status
Not open for further replies.

TorrediPisa

Programmer
Apr 15, 2004
67
IT
Hello People.

I cannot find a way to solve this apparently very simple question in making a formula:
In practice: if I have a number (say 45) and i want it to transform into: 000045 what kind of CR function shall I use?

Very obliged for yr help.
Regards
TdP
 
Use a formula field, and code
Code:
ToText({your.number}, "00000")
Check out ToText on your HELP, lots of useful functions.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top