DoCmd.DoMenuItem acFormBar, acRecordsMenu, 5, , acMenuVer70
If DCount("1", "Routings", "nz(Approve) <> 'True' AND ECNNo=" & Me!ECNNo) = 0 Then
DoCmd.SetWarnings False
DoCmd.RunSQL "Update ECNData Set RoutingCompleteFlag =True Where ECNNo = " & Me!ECNNo & "AND CancelRtg = False AND Name <> 'Ted'"
DoCmd.SetWarnings True
End If
|