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

How do you format numerics in DB2 SQL

Status
Not open for further replies.

colezpapa3

Programmer
Dec 8, 2007
73
US
How can I format a numeric value (as currency) from a DB2 pass-thru query. I am displaying the value in a listbox but it is unformatted.
 
What are you using to display the data in a list box? It is, generally speaking, the front end that formats the data.

If you are using Access or VB (for example), I would look to those software packages to see if you can format the data in the list box.

You could probably write a fairly complex piece of SQL to do the job, but I think that is should be done at the front end.

Marc
 
OK thanks. Its an Access front end. I'll work in that direction.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top