Hello!
I try to work with Impromptu via Automation (using either VB or VBA).
The problem is that when I call the OpenReport-Method it fails with error number 0 (internal error 61704).
I found out that this error occurs because Impromptu is still busy opening the report or retrieving the data.
I tried to not auto-retrieve the data and to get the data by calling "RetrieveAll" after opening the report but then an error occurs when calling the RetrieveAll-Method (Error number 24608 - application busy).
The strange thing is, that everything works fine when I step through my code but it fails when executing it normally!
Thanks in advance for any hints!
I try to work with Impromptu via Automation (using either VB or VBA).
The problem is that when I call the OpenReport-Method it fails with error number 0 (internal error 61704).
I found out that this error occurs because Impromptu is still busy opening the report or retrieving the data.
I tried to not auto-retrieve the data and to get the data by calling "RetrieveAll" after opening the report but then an error occurs when calling the RetrieveAll-Method (Error number 24608 - application busy).
The strange thing is, that everything works fine when I step through my code but it fails when executing it normally!
Thanks in advance for any hints!