Hey all,
Ive been lurking for awhile and have learned a lot from just reading the posts here.
Now I have a question that I cant find the answer to. I hope Im posting in the right forum. If not, I apologize.
I have several text boxes on a form that are binded to fields in an access database. I cant get the fields that are formatted as currency in Access to display as currency in the text box.
Ive tried using FormatCurrency() around the binding for the text box but I get an error.
Since all the data binding is done in the property setting for the text box, the load event passing the database to the binding is the only code I really have to show:
Im sure the answer is right under my nose.
Any help would be appreciated.
Thanks!!
Heather
Ive been lurking for awhile and have learned a lot from just reading the posts here.
Now I have a question that I cant find the answer to. I hope Im posting in the right forum. If not, I apologize.
I have several text boxes on a form that are binded to fields in an access database. I cant get the fields that are formatted as currency in Access to display as currency in the text box.
Ive tried using FormatCurrency() around the binding for the text box but I get an error.
Since all the data binding is done in the property setting for the text box, the load event passing the database to the binding is the only code I really have to show:
Code:
Private Sub frmMain_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
daStocks.Fill(DsStocks1)
currManager = Me.BindingContext(DsStocks1, "Stocks")
End Sub
Im sure the answer is right under my nose.
Any help would be appreciated.
Thanks!!
Heather