Hi All,
I have an Access db, which has few modules. One of the module, Load Source Tables executes or calls other functions within such as, running the WinSCP and another function to imports those downloaded files from one of the folders, which is in the same directory as the WinSCP exe.
I have a macro called mcrFullRun, which runs other macros such as, macros to clear tables, load source tables, compile and finally export the output as Excel.
The macros run well except for the Load Source macro mcrLoadSourceTable, which calls the module, Load Source Tables. Only the WinSCP function runs and downloads the file but the import function does not execute.
But when I run the specific macro, mcrLoadSourceTable separately, it runs everything including the Import functions.
Why does it fail in the mcrFullRun?
I need to schedule this as a job by running a batch job from Windows Task scheduler, which opens the DB and executes the mcrFullRun but because of the issue, I am running it manually.
Any Pointers?
TIA
I have an Access db, which has few modules. One of the module, Load Source Tables executes or calls other functions within such as, running the WinSCP and another function to imports those downloaded files from one of the folders, which is in the same directory as the WinSCP exe.
I have a macro called mcrFullRun, which runs other macros such as, macros to clear tables, load source tables, compile and finally export the output as Excel.
The macros run well except for the Load Source macro mcrLoadSourceTable, which calls the module, Load Source Tables. Only the WinSCP function runs and downloads the file but the import function does not execute.
But when I run the specific macro, mcrLoadSourceTable separately, it runs everything including the Import functions.
Why does it fail in the mcrFullRun?
I need to schedule this as a job by running a batch job from Windows Task scheduler, which opens the DB and executes the mcrFullRun but because of the issue, I am running it manually.
Any Pointers?
TIA