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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to return integers in a formula field, Seq Number 1

Status
Not open for further replies.

bhfmc

IS-IT--Management
Jun 18, 2003
29
0
0
US
This formula field, Seq Number:

If IsNull ({SEQ_NO}) then "n" else
If {SEQ_NO} = 1 then "-" else
ToText ({SEQ_NO})

returns a "2.00" if the value of {SEQ_NO} is "2".
How can I alter this to return the integer format of "2"?

 
try:

If IsNull ({SEQ_NO}) then "n" else
If {SEQ_NO} = 1 then "-" else
ToText ({SEQ_NO},0,"")

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top