G
Guest
Problem:
I get a message window saying "The Data Has Been Changed - Another user made
changed before you saved yours..." What can I do to stop this window from
comming up?
Criteria:
User picks a specific value from a dropdown that triggers a form to pop up.
User enters data on the form and closes it then moves onto the next field on
the main form and this message pops up.
Code:
Private Sub TR_PROBLEMCODESUFFIX_AfterUpdate()
Dim stDocName As String
Dim stLinkCriteria As String
If Me.Dirty Then Me.Dirty = False
stDocName = "f_Drugs"
If Me.TR_PROBLEMCODESUFFIX = "MS3" Then
stLinkCriteria = "[ICNNO]=" & "'" & Me![ICNNO] & "'"
DoCmd.OpenForm stDocName, , , stLinkCriteria
End If
End Sub
I get a message window saying "The Data Has Been Changed - Another user made
changed before you saved yours..." What can I do to stop this window from
comming up?
Criteria:
User picks a specific value from a dropdown that triggers a form to pop up.
User enters data on the form and closes it then moves onto the next field on
the main form and this message pops up.
Code:
Private Sub TR_PROBLEMCODESUFFIX_AfterUpdate()
Dim stDocName As String
Dim stLinkCriteria As String
If Me.Dirty Then Me.Dirty = False
stDocName = "f_Drugs"
If Me.TR_PROBLEMCODESUFFIX = "MS3" Then
stLinkCriteria = "[ICNNO]=" & "'" & Me![ICNNO] & "'"
DoCmd.OpenForm stDocName, , , stLinkCriteria
End If
End Sub