Txt box value property

Prayder

Registered User.
Local time
Today, 13:37
Joined
Mar 20, 2013
Messages
303
I am studying a book trying to learn vba and in the book it says, "To clear the text box of all contents, simply assign an empty string, also known as empty quotes, to the text box's Value property.

Example:
Code:
me.text1.value = ""

My question is... where would I actually put this line of code since I cant seem to find the value property in the property sheet of the text box?
 
Try this link for vba info.

Some of the concepts/approaches you are reading about might be learned faster if you has a small project/task to resolve. Also, there are many good youtube videos on a number of Access related subjects.

Have you worked with other programming languages? This is an assignment statement. -- assign "" (an empty string) to a control.

In the old days we often referred to this sort of thing as "clearing/flushing the buffer"...
 
I have not worked with other languages. My background is computer hardware and networking topologies but was put in charge of databases because I was the closest thing they had.... so these databases are already in existence and I am trying to catch up...
 
so would this line of code be entered in the OnLoad event of the form?
 

Users who are viewing this thread

Back
Top Bottom