Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Designated times
Message
From
27/01/2000 16:46:19
 
 
To
27/01/2000 16:36:15
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00323807
Message ID:
00323814
Views:
17
Tom,

This should be easy to do and there are seveal ways to do it.

I would create a table and put in the table the times and days that you would want the form to run and a logical value to let you know that it has run:

rTime ----- rday ----- rComplete
2:00 PM --- Monday --- .f.
10:00 AM ---Tuesday -- .t.

Then in your loop check to see what values in the table are false for that day and if the time is greater than the time for that record then do the form and set the value to true(also set all other days to .f.).

Like I said this is one way to do it. I assume you are using a timer for your "Simulated loop"?

HTH

Jeff

>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
Previous
Reply
Map
View

Click here to load this message in the networking platform