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!

Currency $$ format on form - this should be simple

Status
Not open for further replies.

surfside1

Programmer
Feb 12, 2006
209
US
I have an Access table being used in a VB project. The format is set for currency, percents, number of decimal places, etc. When I create a form in VB and have a text box bound to the table field that is formatted correctly, what property do you use to get the appropriate format or do you have to code something? I know how to do it in Access, but can't find it in VB.

Also if you have a textbox and want to change the type to maskedtextbox, is there a way?
Thanks!
 
Code:
Me.TextBox1.Text = Format("200", "Currency")

________________________________________________________
Zameer Abdulla
Help to find Missing people
 
I knew it had to be simple, I have a hard time with their help files. Many Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top