Littlemalky
Board Regular
- Joined
- Jan 14, 2011
- Messages
- 223
Hi, I have multiple sets of append queries that I'm executing via VB triggered by an OnClick Event button. Because there are so many, I'm wondering if there is a way for a text box to pop up while these are running to highlight which set of queries are running throughout the process to inform the user where the process is at.
Currently my code is as such:
So if I wanted it to say "Rep queries now running..." and "CFS queries now running...". How would I implement that?
Currently my code is as such:
VBA Code:
With CurrentDb
'REPS
.Execute "QRY_REP_1", dbFailOnError
.Execute "QRY_REP_2", dbFailOnError
.Execute "QRY_REP_3", dbFailOnError
.Execute "QRY_REP_4", dbFailOnError
.Execute "QRY_REP_5", dbFailOnError
'CFS
.Execute "QRY_CFS_1", dbFailOnError
.Execute "QRY_CFS_2", dbFailOnError
.Execute "QRY_CFS_3", dbFailOnError
.Execute "QRY_CFS_4", dbFailOnError
End With
Msgbox "Append Complete!"
So if I wanted it to say "Rep queries now running..." and "CFS queries now running...". How would I implement that?