warning 209: returning values
#4

IsBankHolder does not return any value but other than that, public functions are not meant to be used for that.
One way to achieve that is by adding the rest of the code in the public function Safe_IsBankHolder along with the error message.

Also another tip is to use COUNT instead of selecting everything from a table in order to check if there are rows or not. Then retrieving from 0 row and 0 field to get the rows.
Reply


Messages In This Thread
warning 209: returning values - by biker122 - 14.04.2016, 13:37
Re: warning 209: returning values - by Konstantinos - 14.04.2016, 13:48
Re: warning 209: returning values - by biker122 - 14.04.2016, 13:53
Re: warning 209: returning values - by Konstantinos - 14.04.2016, 14:00
Re: warning 209: returning values - by biker122 - 14.04.2016, 14:18
Re: warning 209: returning values - by Konstantinos - 14.04.2016, 14:25
Re: warning 209: returning values - by biker122 - 14.04.2016, 14:33
Re: warning 209: returning values - by Konstantinos - 14.04.2016, 14:40
Re: warning 209: returning values - by biker122 - 14.04.2016, 15:35

Forum Jump:


Users browsing this thread: 1 Guest(s)