Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT
Select Case MsgBox("Sorry unable to process request until Unpublished Invoice(s) have been processed/printed." _ & vbCrLf & "" _ & vbCrLf & "Do you wish to print UnPublished Invoices?" _ , vbOK Or vbCritical Or vbDefaultButton1, "Invoice Needs to be Printed") Case vbOK rs.MoveFirst gInvID = rs.Fields("IDinvoice") Do Until rs.EOF GoSub MyPrint rs.MoveNext Loop Case vbCancel DoCmd.RunCommand acCmdUndo End Select End If End If MyPrint: DoCmd.OpenReport "rptAPCodingSlip", acViewNormal, "IDInvoice = " & Chr(39) & gInvID & Chr(39) & "" DoCmd.OpenReport "rptInvoiceActivity_Slip", acViewNormal, "ContractNo = " & Chr(34) & gContractID & Chr(34) & "" DoCmd.RunSQL "Update tblinvoice Set RecordLock = -1 where IDInvoice = " & gInvID & "" Return End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.