returning values to a calling program

B

Bob Ryan

I use the windows scheduler to run various access macros
and this is working well. By working well I mean the macro
attempts to run and it closes as expected.

Occassionally the macro may not accomplish its task even
though it runs. An example might be that the network was
down so the macro could not access a file it was to read
and import.

I want to return a failure code to the windows scheduler
so that I will know of the failure even if the macro runs
and ends as planned. Currently access will always return
nothing or a zeroe so as long as the macro runs and ends
the scheduler thinks it worked.

Can anyone tell me how to return a completion code from
access to the command line (or the calling program)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top