Showing Currency Values

Question:
I am using VB as a front-end to an Access 2.0 database. Some of the fields in my Access db are of type currency. However, VB only displays them as numbers (I am not using data bound controls to populate the fields on my form, I am using code). How can I get VB to display them as currency (i.e with the dollar sign and decimal point)?

Answer:
You can use the Format() functions to convert them to strings. Look at the help for those functions for more information.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: