ThisIsntMyRealName
Board Regular
- Joined
- May 23, 2009
- Messages
- 69
Hi guys, I have a form displayed to the user in ACCESS 2007. When a user clicks on a button, it runs an agent that performs some actions. During the running of the agent, I'd like to set a textbox back on the form itself. The only problem is that the textbox only updates 3 times during the course of the agent, even though its supposed to be updating about 300 times or so, or as many loops as the code takes. Any hints on getting it to update more frequently? here is the code:
'LET USER KNOW OF STATUS OF AGENT
Forms!frmAdage_IMMP_Import!TxtProgramStatus.Value = "Processing Excel Rows..." & iCounter
DoCmd.Requery
'THIS UPDATE FOR THE STATUS BAR WORKS JUST FINE
strTempStatus = SysCmd(acSysCmdSetStatus, "Processing Excel Rows..." & iCounter)
'LET USER KNOW OF STATUS OF AGENT
Forms!frmAdage_IMMP_Import!TxtProgramStatus.Value = "Processing Excel Rows..." & iCounter
DoCmd.Requery
'THIS UPDATE FOR THE STATUS BAR WORKS JUST FINE
strTempStatus = SysCmd(acSysCmdSetStatus, "Processing Excel Rows..." & iCounter)