G
Guest
i have typed the following code in the AfterUpdate of a combo box in a form:
Private Sub textboxname_AfterUpdate()
Me!textboxname.DefaultValue = Chr(34) & Me!textboxname & Chr(34)
End Sub
my aim is that the paricular field is automatically filled in when i type
data prevously inserted in the field (like excel does). but the code is not
working and i get an error message. what could i be doing wrong?
Private Sub textboxname_AfterUpdate()
Me!textboxname.DefaultValue = Chr(34) & Me!textboxname & Chr(34)
End Sub
my aim is that the paricular field is automatically filled in when i type
data prevously inserted in the field (like excel does). but the code is not
working and i get an error message. what could i be doing wrong?