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

Format MS Access data

Status
Not open for further replies.

enak

Programmer
Jul 2, 2002
412
US
I am pulling some data from an Access database. There are two columns that are of the type currency. If I query the table through Access these two fields are formatted correctly as currency.

However, when I execute the same query through a .net winform application the data is formatted as simply integers. How can I get the correct formatting?

Thanks,
enak
 
How are you accessing the recordset? ADO, I presume. Show us your connection string and some of the code.

Ron Repp
 
According to vb.net help, Currency type is no longer supported. Try using decimal type for your data instead. (And use the format command to add the $, etc.)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top