Dugantrain
I Love Pants
- Local time
- Today, 08:52
- Joined
- Mar 28, 2002
- Messages
- 221
Hi, all, I'm attempting to accomplish a task which I assumed would be really simple, but is giving me problems. I have a function which performs several ADO actions (Update, Insert, Delete). The function takes a while to fully execute, so I decided that I'd like to have a little label on my form which changes its caption whenever a new ADO call is made. Example:
and so on. However, when executing the function, the ADO actions are all performed and THEN the labels do their thing. Is there a way to force the correct sequence or are VBA and ADO just not that in sync?
Code:
Forms!My_Form.Form!My_Label.Caption="Performing 1st action..."
Connection.Execute ADO_Action_1
Forms!My_Form.Form!My_Label.Caption="Performing 2nd action..."
Connection.Execute ADO_Action_2