Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Hi,
what's the command to exit in the middle of a Apex method? Please advice.
thanks,
Paul
Typically "return" will do that for you, is that what you need?
Jeremy
I think there is no exit() like method in apex ,you need use a page ref method in that based on yours condition call the
'apex/logout.jsp page that will work.let us know .
Thanks. That's all I need. How come I did not think of that.
Typically "return" will do that for you, is that what you need?
Jeremy
I think there is no exit() like method in apex ,you need use a page ref method in that based on yours condition call the
'apex/logout.jsp page that will work.let us know .
Thanks. That's all I need. How come I did not think of that.