Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!
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.