Would anyone know anything about this: I have created a macro whose sole purpose is to call a function, which in turn updates some data in the database. If I run the macro from the interface, the Function performs correctly. If I call the macro from a command line (I’m using the job scheduler), the scheduler reports that the job is running, but it just hangs. It will eventually time out according to the setting for that task. I know that the mdb file has been accessed because the ldb file has been created. I even used the build button to capture the name of the function just to make sure that I spelled it right.
The function takes about 4 minutes to complete normally.
Does anyone have an idea about this?