We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Private Sub RunDurations() 'Runs queries to calculate durations If RowCount >= 1 Then DoCmd.OpenQuery "qryPauseDurations", acViewNormal 'Need to count number of rows in this query DoCmd.OpenQuery "qryStepDurations", acViewNormal DoCmd.OpenQuery "qryTaskDurations", acViewNormal DoCmd.OpenQuery "qryUpdatePauseStepDurations", acViewNormal DoCmd.Close acQuery, "qryPauseDurations" DoCmd.Close acQuery, "qryStepDurations" DoCmd.Close acQuery, "qryTaskDurations" DoCmd.Close acQuery, "qryUpdatePauseStepDurations" ElseIf RowCount = 0 Then DoCmd.OpenQuery "qryUpdateStepOnly", acViewNormal End If 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.