You need to sign in to do that
Don't have an account?
efantini
How to query an empty reference
Dear all
how is possible to query if a reference field is empty (using soql)?
I tried to use:
- where refID = ''
- where refID = null
but it doesn't work.
I saw that in salesforce is possible to create a view that retrieve what I want, simpy chosing my reference field, selecting "equal to" and left the third field empty.
Which is the query used by SalesForce to retrieve my data?
Thanks for your support
Hi enfanti,
Where refId = null should work. I have tested this on string/text fields and double fields. What is the field type of refId?
Hi enfanti,
Hmm, this may be a bug. I'll check further and report findings.