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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reset Default Value of Control to Blank 1

Status
Not open for further replies.

mcongdon

Programmer
Mar 14, 2008
98
US
I didn't want to piggy back this on the other question I just posted because I haven't been able to find an answer in past questions.

I set the default value of my controls with this method:
Code:
Me.SecurityDescription.DefaultValue = "=" & Chr(34) & Me!SecurityDescription.Value & Chr(34)

I want to reset this to be blank again. I would like to use the same method as above, and just set the default values to be blank, but I can't figure out how. I tried setting the DefaultValue to """" or "'" and neither one worked.

I know it's incredibly basic, I just can't figure it out for the life of me.
 
how about
Me.SecurityDescription.DefaultValue = "=" & Chr(34) & Chr(34)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top