vba - MS Access 2010 Screen hangs when calling procedure via pass through query -


i facing issue related performance in ms access 2010, calling procedure via pass through query, ms access screen hangs. if run procedure took 1 hour complete , come out successfully, if running through vba screen not responding.

    private sub abc_click()      dim db database set db = currentdb()      docmd.openquery "procedure", acviewnormal, acedit    end sub 

i using user dsn enter image description here please suggest me way ms access screeen not hang , comes out when procedure completes successfully.

as procedure doesn't return can use async execute using adodb.

you can find details here: running multiple async queries adodb - callbacks not firing

when run procedure can track process via periodical requests progress table. of course procedure should modified show progress.


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -