Select to view content in your preferred language

Query Widget - Problem with SQL String

854
3
Jump to solution
04-04-2014 05:10 AM
RichardLittlefield
Frequent Contributor
I'm using the query widget to perform a query. However I can't seem to get my query string to do what I want. I want it to say "[field name] IS NOT NULL", how do I say that in ArcGIS Viewer for Flex?

Also the wild card character in ArcGIS Viewer for Flex is the %, correct?

Thank you.
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
GeorgeHaskett
Deactivated User
Are the values in your attribute table <NULL> or are they simply blank, there is a difference.

I just tested an example in one of my maps and this is how I wrote the query, with CLOSEDATE as the [FIELDNAME].

NOT CLOSEDATE is NULL

This worked for me.  Let me know if this format works for you.

Haskett

View solution in original post

0 Kudos
3 Replies
GeorgeHaskett
Deactivated User
Are the values in your attribute table <NULL> or are they simply blank, there is a difference.

I just tested an example in one of my maps and this is how I wrote the query, with CLOSEDATE as the [FIELDNAME].

NOT CLOSEDATE is NULL

This worked for me.  Let me know if this format works for you.

Haskett
0 Kudos
GeorgeHaskett
Deactivated User
Also, as for the wildcard question, here is a query I just tested and it works for my setup.

ADDRESSLINE1 LIKE '503%'

Haskett
0 Kudos
RichardLittlefield
Frequent Contributor
Are the values in your attribute table <NULL> or are they simply blank, there is a difference.

I just tested an example in one of my maps and this is how I wrote the query, with CLOSEDATE as the [FIELDNAME].

NOT CLOSEDATE is NULL

This worked for me.  Let me know if this format works for you.

Haskett


Thank you very much! It works for me.
0 Kudos