+ Start a Discussion
Suraj PSuraj P 

how do i retrieve records with a null value for a decimal field type using visualforce remote objects?

I'm trying to retrieve Account records in my Visualforce page using Remote Objects. However, when I attempt to query for records with a null value for BillingLatitude, I get an error. Apparently, any value I type in the critieria is being interpreted as a String since the error message shows quotes around the values. Any ideas?

The following ways don't seem to work:
new SObjectModel.Account().retrieve({where:{BillingLatitude:{eq:null}}});
new SObjectModel.Account().retrieve({where:{BillingLatitude:{eq:''}}});