As always, thanks Sergey
Richard
>>I know I've seen it before somewhere. I want to use the Windows Scheduler to run certain automated functions. What API do I need to look at to return a Exit Code. Such as 0x0 as successful. 0x1 as has errors, etc. This would go into the Last Result column of the scheduler. Any help would be much appreciated.
>>
>>(Or do I just return a code from the main procedure?)
>>
>Hi Richard,
>
>See
Exiting Visual FoxPro returning an error level FAQ #7767
State of Florida, DCF