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!

Problems with DBGrid!!!!!!

Status
Not open for further replies.

capullo

Technical User
Oct 28, 2000
3
ES
Hello, well I am Spanish and next year we are forced to use the "euro" like our national currency. I am doing a program for a shop in Builder C++. I have created a table (in paradox) for the products of the shop. This table has the field Price. The type of this field is Numeric like 8'45 or 0'00. The problem is that when I try to display this field in a DBGrid it appears like 8 and 0, and I need to display it with the two decimal numbers, like 8'45 or 0'00. When I open the table with "Database Desktop" the information appers correctly!!!.
When I change the "regional configuration" from Windows, it does not have any effect to this field in then DBGrid.
Do you know what is happening or just what I can do to display this field as I want.

Please if you can help me you will save me!!!. I have been with this for some days and the program is completly stopped because of that........Thank you very much for your help!.
Fernando.




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top