With this code...
Code: Select all
ask "Enter the description of the service."
if the result = "Cancel " then
exit to top
end if
The code suggests what I want to happen, but it doesn't.
Any ideas, please ?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Code: Select all
ask "Enter the description of the service."
if the result = "Cancel " then
exit to top
end if
Code: Select all
on mouseUp
put empty into fld "ff"
ask "Enter the description of the service."
if it is not empty then
put it into fld "ff"
end if
end mouseUp
That's because you did NOT tell me there was more than one question.it just moved to the next question..
Code: Select all
on mouseUp
put empty into fld "ff"
ask "Enter the description of the service."
if it is empty then
exit to top
else
put it into fld "ff"
end if
ask "Are you Happy now?"
end mouseUp
Code: Select all
...
ask "Enter the description of the service."
## if the result = "Cancel " then
if the result = "Cancel" then
exit to top
end if
...