I have a user that has requested that I update the Status Bar with a Time (i.e. Now()) as specific increments to show that the query is still running. Can this be done; if so, how? via a Timer Event perhaps?
The SQL Insert I have take almost 1 hour to run due to volume of data. SQL has been optimized per Indexes, etc.
I presently use the following approach for Status Bar ...
lcSQL = "Delete From ..."
SysCmd acSysCmdSetStatus, "Task 1 of 6 - Delete Data - " & Now() '
ThisDB.Execute lcSQL, dbFailOnError
lcSQL = "INSERT INTO ..." 'Long Running Query!!!
SysCmd acSysCmdSetStatus, "Task 2 of 6 - Populating Data - " & Now()
ThisDB.Execute lcSQL, dbFailOnError
lcSQL = "DELETE FROM ...;"
SysCmd acSysCmdSetStatus, "Task 3 of 6 - Delete Data from table x - " & Now()
ThisDB.Execute lcSQL, dbFailOnError
SysCmd acSysCmdClearStatus
Steve Medvid
"IT Consultant & Web Master"
Chester County, PA Residents
Please Show Your Support...
The SQL Insert I have take almost 1 hour to run due to volume of data. SQL has been optimized per Indexes, etc.
I presently use the following approach for Status Bar ...
lcSQL = "Delete From ..."
SysCmd acSysCmdSetStatus, "Task 1 of 6 - Delete Data - " & Now() '
ThisDB.Execute lcSQL, dbFailOnError
lcSQL = "INSERT INTO ..." 'Long Running Query!!!
SysCmd acSysCmdSetStatus, "Task 2 of 6 - Populating Data - " & Now()
ThisDB.Execute lcSQL, dbFailOnError
lcSQL = "DELETE FROM ...;"
SysCmd acSysCmdSetStatus, "Task 3 of 6 - Delete Data from table x - " & Now()
ThisDB.Execute lcSQL, dbFailOnError
SysCmd acSysCmdClearStatus
Steve Medvid
"IT Consultant & Web Master"
Chester County, PA Residents
Please Show Your Support...