avoid losing data
Posted: Thu May 20, 2010 12:53 am
Hello, i have a code like this in one card:
on Temporizador
add 1 to tsec3
if tsec3 < 60 then
if tsec3 <= 9 then
put "0" & tsec3 into field "3sec"
else
put ":" && tsec3 into field "3sec"
end if
else
if tsec3 =60 then
put "00" into field "3sec"
end if
put "0" into tsec3
add 1 to tmin3
if tmin3 <=9 then
put "0" & tmin3 into field "3min"
else
put tmin3 into field "3min"
end if
end if
if gparat3 is 0 then
send "Timer1" to me in 1 second
end if
end Temporizador
if i moved to another card i got an error message and the timer stop to counting, do you know how to avoid it? well a solution was putting a the same field name in the othe card (but a thinks is not the way to do it)
thanks so much
Greg
on Temporizador
add 1 to tsec3
if tsec3 < 60 then
if tsec3 <= 9 then
put "0" & tsec3 into field "3sec"
else
put ":" && tsec3 into field "3sec"
end if
else
if tsec3 =60 then
put "00" into field "3sec"
end if
put "0" into tsec3
add 1 to tmin3
if tmin3 <=9 then
put "0" & tmin3 into field "3min"
else
put tmin3 into field "3min"
end if
end if
if gparat3 is 0 then
send "Timer1" to me in 1 second
end if
end Temporizador
if i moved to another card i got an error message and the timer stop to counting, do you know how to avoid it? well a solution was putting a the same field name in the othe card (but a thinks is not the way to do it)
thanks so much
Greg