Below is my code, when it runs I get a "The Openform action was canceled
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Case Log Add"
stLinkCriteria = "ContactID='" & Me.ContactID & "'"
DoCmd.OpenForm stDocName, , , stLinkCriteria, acFormEdit
Why is it canceling and not opening the form filtered correctly? I can not figure it out.