tommeekers
Programmer
Is there a way to pass a parameter to Access ?
My application is kind of a wizard-like tool to do a data export and some other stuff. When I just run the application, I have to press the start button to trigger the code. But I also want to be able to schedule this task without having to press the start button. Is this possible by passing a parameter along ? Something like C:\MyApplicationFolder\MyApplication.mdb /autorun ?
So if there is no autorun parameter, the user will see the form and he will be able to press start if he wants to run the code. But when the autorun parameter is used, it has to skip the start button and go directly to the code.
Is this possible or is this a bit of a long shot ?
My application is kind of a wizard-like tool to do a data export and some other stuff. When I just run the application, I have to press the start button to trigger the code. But I also want to be able to schedule this task without having to press the start button. Is this possible by passing a parameter along ? Something like C:\MyApplicationFolder\MyApplication.mdb /autorun ?
So if there is no autorun parameter, the user will see the form and he will be able to press start if he wants to run the code. But when the autorun parameter is used, it has to skip the start button and go directly to the code.
Is this possible or is this a bit of a long shot ?