function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Flex Query Return Null value


   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..