>I've got a form that needs to perform at two specific times of day and not on weekends.(Once in the morning and once in the afternoon.) I have a simulated loop that runs 24 hours a day. So all I need to do is tell him 'Hey! It's 2PM! Do this now!'
>
>Thank You...
>Tom Welch
Hi Tom,
SECONDS() function gives you the time in seconds since midnight, so 2 PM corresponds 50400 sec.
IF SECONDS() = 50400
*run my app
ENDIF
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison