Hi everyone

"TwC: Validate access to return value from display/edit method." is a best 
practice message that occur compiling at level 4 with Axapta 4.This is how my 
method look at the moment.

    EXDescription exDescription;    //extended datatype of type string
    ;
    exDescription = someMethod();    //some method returning a string

    if(exDescription)
        return exDescription;
    else
            return '';
    
and I've tried this aswell :

    return (exDescription ? exDescription : '');

I would really appreciate it if anyone can help me. Logically I cannot see what 
is the problem and it is unfortunately compulsary to compile at this level. 
Thanks alot!!


 
____________________________________________________________________________________
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com

[Non-text portions of this message have been removed]

Reply via email to