>THANK YOU
>
>IF I'm sleep in my home
>
>HOW DO YOU TIME THE PROGRAM TO WORK AT SPECIFEC TIME i.e MID NIGHT
>
>Where is the time in the code
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.
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)