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

tonumber (x) 1

Status
Not open for further replies.

JeroenVV

Technical User
Jan 15, 2004
4
BE
Crystal reports 9

I have a byte data type field on my report. I would like to convert this field to a numeric field.

The tonumber (x) string function does not give me an error, but there is no result. Although, when I place the byte field on my report, I see data.

Any suggestions are welcome. Thanks in advance

Kind regards

Jeroen
 
If my memory doesn't fail me, a byte data type is a number from 0 to 255.

Reebo
UK

"Before you judge a man, walk a mile in his shoes. After that, who cares? ...He's a mile away and you've got his shoes." - Billy Connolly
 
If you want the character representation of the Byte Data value perhaps this is how it is done

chr({table.ByteDataField})

Jim Broadbent

The quality of the answer is directly proportional to the quality of the problem statement!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top