List Info

Thread: Problems with "TwC: Validate access to return value from display/edit method.




Problems with "TwC: Validate access to return value from display/edit method.
user name
2007-01-30 07:38:19
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]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    htt
p://groups.yahoo.com/group/development-axapta/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/development-axapta/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:development-axapta-digest@yahoogroups.com 
    mailto:development-axapta-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    development-axapta-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.c
om/info/terms/
 

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )