Re: stopping the execution of batch process
The only way I know of to do this is some variation of the following
- Shift the real Begin Processing button off the visible screen (ie set Left to -1000) and set TabStop to false
- Add your own begin processing button.
- When your button is pressed, do your validation.
- If yiou want to proceed, programatically click the real button.
THe last step can be the tricky one - I have found that sometimes it works and sometimes it doesn't.
Two possible techniques are:-
sivmyapp.controls("The_Button_Name").value = true
and
Call ApplSetFocus("The_Button_Name"")
Call SendKeys(" ",true)
Barry