Re: Assigning value to text box in a form

Tech-Archive recommends: Speed Up your PC by fixing your registry



How about Me.txtTotalAmount = "123"

Bob

"brunogrd via AccessMonster.com" <u34397@uwe> wrote in message
news:77248167e4a0c@xxxxxx
Hello there,

I'm trying to assign a value to a text box.
I thought that would have been pretty easy but I keep getting an error
2448
"You can't assign a value to this object"

This is the simple code that I've been using to do so

Me.txtTotalAmount.Value = "123"

Any idea on what I could modify the codes to make it work?

Thanks,

Bruno.

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-formscoding/200708/1



.