OrWolf
MIS
- Mar 19, 2001
- 291
I'm attempting to run a query and have the status bar just display an informative message during the run. However, my message keeps getting replaced by the 'Run Query . . ' message. As you can see from my code below, I've been trying everything I can think of to solve this. Any ideas?
RetVal = SysCmd(acSysCmdSetStatus, "Searching for duplicate scenarios..."
Echo False
DoCmd.SetWarnings False
RetVal = SysCmd(acSysCmdSetStatus, "Searching for duplicate scenarios..."
DoCmd.OpenQuery "RA_ScenarioFindDups"
RetVal = SysCmd(acSysCmdSetStatus, "Searching for duplicate scenarios..."
DoCmd.SetWarnings True
Echo True
RetVal = SysCmd(acSysCmdSetStatus, "Searching for duplicate scenarios..."
Echo False
DoCmd.SetWarnings False
RetVal = SysCmd(acSysCmdSetStatus, "Searching for duplicate scenarios..."
DoCmd.OpenQuery "RA_ScenarioFindDups"
RetVal = SysCmd(acSysCmdSetStatus, "Searching for duplicate scenarios..."
DoCmd.SetWarnings True
Echo True