>It is nowhere in the code. Windows Task Scheduler will start the program at the time you say, for example, at midnight. The result is just as if you double-click on an icon, but Windows Task Scheduler will do this automatically.
>
>Your Visual FoxPro program will simply do the work as soon as it is started.
You can program Windows Task Scheduler to do a certain task (program) every day at a certain hour. You can also tell it to run a program only once. Other options include every week, or every month. The scheduling options are extremely flexible.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)