pungentSapling
NeedHotSauce?
- Local time
- Yesterday, 20:59
- Joined
- Apr 4, 2002
- Messages
- 116
I have a timecard database and I am running a series of queries that determine if entries have been missed for any individual(s).
The first query determines who should have entries
the second query determines what entries have been made
the third is a mismatch query that determines who has been missed.
DoCmd.OpenQuery "qryMissedEntries1"
DoCmd.OpenQuery "qryMissedEntries2"
DoCmd.OpenQuery "qryMissedEntriesC"
If DCount([Employee Number], "qryMissedEntriesC") > 0 Then
MsgBox "You Missed Some"
End If
The above message box will eventually contain the names of the missed employees.
The problem is that I do not want these queries to show up on the screen.
Is there a way to just run them and not display them?
Or should I just have them close after I generate my message box?
thanks p
The first query determines who should have entries
the second query determines what entries have been made
the third is a mismatch query that determines who has been missed.
DoCmd.OpenQuery "qryMissedEntries1"
DoCmd.OpenQuery "qryMissedEntries2"
DoCmd.OpenQuery "qryMissedEntriesC"
If DCount([Employee Number], "qryMissedEntriesC") > 0 Then
MsgBox "You Missed Some"
End If
The above message box will eventually contain the names of the missed employees.
The problem is that I do not want these queries to show up on the screen.
Is there a way to just run them and not display them?
Or should I just have them close after I generate my message box?
thanks p