Set default value for unbound text box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I set the default value for an unbound text box in VB code? Thanks in
advance. Working in Access 97.
 
You set it like any other property, e.g.

Me.txtUnbound.DefaultValue = """Hello World"""

About the only place where it makes sense to set the default value of an
unbound control is in the form's Load or Open event procedure. So you
might as well just set the Value instead.
 
Back
Top