Vince
May 25, 2007, 4:04pm
1
How to replace Filemaker’s :
Halt script ?
This is not the same as exit script, and the return method don’t work, because the script continues after the return method.
Is is an unresolved topic on the forum.
so how to stop the execution of a method
IT2Be
May 25, 2007, 4:10pm
2
I can not help you with this due to my very brief FM experience but you will find this link of use I guess: http://www.servoy.com/generic.jsp?mt=39 … omy_id=579
There are also some excellent FM things to find in that section if I am correct.
Hope this helps
Hi Vince,
This method is recursive?
Can you post this method?
Vince
May 25, 2007, 4:17pm
4
Basically this is
Method1 :
Try
catch
call Error_method
end try
Error_method :
I would likle the error method to stop execution of method 1
--------------
Method1 :
Try
catch
call Error_method
return;
end try
----------
Just add a return after you call the method. This will terminate method 1.
Hope this helps.
Vince
May 25, 2007, 5:15pm
6
Thanks it helps. Now we can say we have a “halt script” equivalent
Vince,
At any time you can also just say: return;
Will stop the current method.