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!

Long numbers in Crystal 2

Status
Not open for further replies.

Alundil

Programmer
Mar 19, 2004
47
US
SQL 2000
CR XI

I have some very long numbers in SQL database (DBOID that are 21 digits long) however, each time I try and add to a report, they are converted into Scientific notation. I would like to display the entire number. Does anyone know how to do this?

Note, the data type in SQL is (Numeric, 21, 0)

Thanks,



-- Andy
 
Create a SQL Expression formula of:

cast(table.field as varchar(21))

Now you can display them as strings.

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top