DoCmd.OpenReport hangs in access
Private Sub cmdPrnRep_Click()
On Error GoTo ln55
'On Error Resume Next
If Not IsNull(SaleRef) Then
DoCmd.OpenReport "Docket", acViewNormal, , "Saleref = " & SaleRef
cmdSnP.Default = True
Me.cmdSnP.SetFocus
End Sub
It worked for 20 yrs trouble free
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.