You need to sign in to do that
Don't have an account?
error in returing list values
hi,
i'm very new to this developer force community. i've started worrking with some sample APEX and java programs.
while using a method that returns "list<string>" type, i got an error message like this
Anonymous execution was successful.
20090829101103.755:Class.anandh.firstapex.dupEntries: line 14, column 1: SelectLoop:LIST:String
20090829101103.755:AnonymousBlock.anandh: line 9, column 14: returning LIST:String from method public LIST:String dupEntries(LIST:String) in 1 ms
20090829101103.755:AnonymousBlock.anandh: line 9, column 1: ().
plz tell me how to rectify or what may the possible for this error to occur.
Hi Anandh,
Are you able to post more detail - what exactly did you execute, and what did you expect to see? On the face of it, it looks like your method succesfully returned a List<string> from a method called dupEntries.
Cheers,
Ian Randall