remove that if condition to first find out the errorNumber
--
then add an if statement like this
if errorNumber = 2101 (assuming the errorNumber is 2101)
then...
Let's say a Button click may produce more than one error, may be 5 errors.
I do not want to use 'if, elseif, ..., else block' to deal with every individual error number.
Instead, I want to use the Button component for all the errors caused by the same button, issuing the same message.
If 'get component' = 'ButtonRead"; for example
doesn't seem to work. I tried also 'functionname', it is not working either
If 'functionname' = 'procedureRead"; for example
Please help again. Thanks.
--
I do not want to use 'if, elseif, ..., else block' to deal with every individual error number.
Instead, I want to use the Button component for all the errors caused by the same button, issuing the same message.
If 'get component' = 'ButtonRead"; for example
doesn't seem to work. I tried also 'functionname', it is not working either
If 'functionname' = 'procedureRead"; for example
Please help again. Thanks.
--
It now works.
My solution is
If 'functionname' = 'ReadFrom'
My solution is
If 'functionname' = 'ReadFrom'
--
댓글 없음:
댓글 쓰기