N
NeonSky via AccessMonster.com
Hello Everyone, I am scratching my head over this one and am hoping you may
be able to assist. I have a form where when I page from one form to the next
I would like a text boxes value to appropriately updated. What is odd is that
when I go from one record to the next the record does not update, it keeps
the previously updated value from the previous record. The only time the text
boxes value appropriately updates is when a text character is entered into
other fields....hoping you may be able to help. Thank you! Below you will
find my code. Thanks again.
Private Sub Form_Dirty(Cancel As Integer)
Dim strComment As String
strComment = DLookup("[Comments]", "tblErrorComments", "ErrorID = forms!
frmDisputes!ErrorID") & " "
Me.Comments.Value = strComment
End Sub
be able to assist. I have a form where when I page from one form to the next
I would like a text boxes value to appropriately updated. What is odd is that
when I go from one record to the next the record does not update, it keeps
the previously updated value from the previous record. The only time the text
boxes value appropriately updates is when a text character is entered into
other fields....hoping you may be able to help. Thank you! Below you will
find my code. Thanks again.
Private Sub Form_Dirty(Cancel As Integer)
Dim strComment As String
strComment = DLookup("[Comments]", "tblErrorComments", "ErrorID = forms!
frmDisputes!ErrorID") & " "
Me.Comments.Value = strComment
End Sub