i dont know what am i doing wrong but suddenly double click on a field and open another form with a record does not work anymore:
Private Sub ordrep_DblClick(Cancel As Integer)
DoCmd.OpenForm "Orders", , , _
"[orders.ordrep]=" & "'" & Forms![customerorders].ordrep & "'"
DoCmd.Close acForm, "customerorders", acSaveNo
End Sub
... on double click is giving me error "runtime error 2501. the open form action was canceled"
why?