It can run for hours depending on the size of the problem. not a huge deal for me since i will be the only one using access to call AMPL. but i was curious since VB has a SHELL command with a time parameter that allows you to state how long to wait on the application before moving. i do not...
Thank you PH. It also worked perfectly and clearly is shorter. One question: How long would it wait for the called application to complete? Forever? Is there a way to set a time limit?
I am using the 'shell' command from within Access to run an external application (AMPL -- an optimization software).
How do I make it so that Access knows when AMPL is done running so that I can automatically import AMPL's solution file?
Any help is appreciated.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.