+ Start a Discussion
MohanaGopalMohanaGopal 

Flex Query Return Null value

Hi..

   I have one issue.. If  apex.query()  in Flex returns null value means how to handle it..

In my case it shows "TypeError: Error #1009: Cannot access a property or method of a null object reference."

which query return null value in Salesforce. That is record length is 0. But in flex I dont know why it couldnt handle null value.. If my flex query return 1 or more records means it works properly..

        Its shows error when my query doesnt return any value, even i could nt get queryresult for it.

How to handle it..