Hi,
Where is the SkidID comes from? is it the Field on your form? why it is always same? Is your form is unbound?
Where do you use the Dim stDocName As String, I think this is unnecessary declaration in your code?
put break point on this line:
If SkidID = txtSkidID.Value Then
and check if it...