Good afternoon Gurus!
I don't know if this is possible, but I'm running code behind a button in a form that runs multiple queries, about (30). Is there a way to make these run faster? I'm using the following code:
stDocName = "Query_Name "
DoCmd.OpenQuery stDocName, acNormal, acEdit
Me![MyProgress].Value = 5
stDocName = "Query_Name "
DoCmd.OpenQuery stDocName, acNormal, acEdit
Me![MyProgress].Value = 10
stDocName = "Query_Name "
DoCmd.OpenQuery stDocName, acNormal, acEdit
Me![MyProgress].Value = 15
stDocName = "Query_Name "
DoCmd.OpenQuery stDocName, acNormal, acEdit
Me![MyProgress].Value = 20
I don't know if this is possible, but I'm running code behind a button in a form that runs multiple queries, about (30). Is there a way to make these run faster? I'm using the following code:
stDocName = "Query_Name "
DoCmd.OpenQuery stDocName, acNormal, acEdit
Me![MyProgress].Value = 5
stDocName = "Query_Name "
DoCmd.OpenQuery stDocName, acNormal, acEdit
Me![MyProgress].Value = 10
stDocName = "Query_Name "
DoCmd.OpenQuery stDocName, acNormal, acEdit
Me![MyProgress].Value = 15
stDocName = "Query_Name "
DoCmd.OpenQuery stDocName, acNormal, acEdit
Me![MyProgress].Value = 20
Comment