M
Mike
I'm using a text box for notes (it's not associated with any tables). When
user entered some text there I'd like that this text would appear on the next
time when user would open this form.
I'm trying to use the following:
Private Sub PrintHeaderText_AfterUpdate()
Dim new_text As String
new_text = Me.PrintHeaderText
Me.PrintHeaderText.DefaultValue = "'" & new_text & "'"
End Sub
.... and the following code:
Private Sub CloseButton_Click()
DoCmd.Close acForm, Me.Form.Name, acSaveYes
End Sub
But when I open the form again the text in the text box is not updated
Could anybody advise anything?
Thanks
user entered some text there I'd like that this text would appear on the next
time when user would open this form.
I'm trying to use the following:
Private Sub PrintHeaderText_AfterUpdate()
Dim new_text As String
new_text = Me.PrintHeaderText
Me.PrintHeaderText.DefaultValue = "'" & new_text & "'"
End Sub
.... and the following code:
Private Sub CloseButton_Click()
DoCmd.Close acForm, Me.Form.Name, acSaveYes
End Sub
But when I open the form again the text in the text box is not updated
Could anybody advise anything?
Thanks