The main answer I was going for is the answer to "Can I put just 'return' anywhere many times in my SP and will it still keep the output variable value.
George answered it perfectly.
[monkey][snake] <.
I was going to help, then I decided that the code is a complete copy/paste job and knew the OP wouldn't learn a thing from the help.
[monkey][snake] <.
Is there a way to immediately stop execution of a stored procedure that has an output parameter anytime certain criteria is met?
My situation is this (cheap SP skeleton) :
if errorcheck begin
set @outputString = 'error'
--if I hit this error, I don't need to execute anymore of the SP
end...
Ok, I got it working.
It was an issue of CSS being declared on a div ID instead of a class.
In your CSS make these classes (highlighted)
[!]div.ItemNameNumber {
border-bottom: solid 1px #CCCCCC;
padding-bottom: 2px;
margin-bottom: 5px;
font-weight: bold;
font-size: 12px;
}[/!]...
<a href="javascript:SaveRemove(\'school_remove.php?id=' . $sch['school_id'] . '&user=' . $user . '&name=' . $sch['s_id'] . '\',\'height=380,width=300,scrollbars=no\')"\;>R</a>
Maybe if you put the href call above on the onclick of the anchor, you won't need to disable Zone Alarm.
<a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.