repeating time in field
Posted: Sat Apr 07, 2012 6:03 pm
Is there a way to create a loop or repeat function that continuously updates the current time in a field? I have been trying to make this work with something like below:
on preOpenCard
repeat forever
put the time into fld "time"
if fld "time" is "12:00 PM" then
answer "Blah blah blah"
else
end if
end repeat
end preOpenCard
--But this just either loops the blank screen until a condition is met, or it will not put the time in the "time" field....I would like to have the loop check the time until a certain time is met then send a msg to the user, then keep looping until that time is met once again...and so on.....
thanks for the help
on preOpenCard
repeat forever
put the time into fld "time"
if fld "time" is "12:00 PM" then
answer "Blah blah blah"
else
end if
end repeat
end preOpenCard
--But this just either loops the blank screen until a condition is met, or it will not put the time in the "time" field....I would like to have the loop check the time until a certain time is met then send a msg to the user, then keep looping until that time is met once again...and so on.....
thanks for the help