D
DSmith
Is it possible to make whatever is inputted the default value of a field
until a different value is inputted?
Thanks in advance!
until a different value is inputted?
Thanks in advance!
Is it possible to make whatever is inputted the default value of a field
until a different value is inputted?
Thanks in advance!
John Vinson said:Yes; use the textbox's AfterUpdate event:
Private Sub textboxname_AfterUpdate()
Me!textboxname.DefaultValue = Chr(34) & Me!textboxname & Chr(34)
End Sub
The Chr(34) is the " quote character; the default value is a string
property regardless of the field's datatype.
John W. Vinson[MVP]