Table Queried Returns One Field

751
3
Jump to solution
10-09-2012 05:53 AM
CarolynMcCormick1
New Contributor
I have map published to ArcGIS Server. It has multiple layers related to the same table but on different fields. In the Services Directory, all of the fields and all of the relates show as expected. However, when I query the layer, only the Display Field shows - no other field is shown.

Is there a way to configure the table so that the other fields become accessible?
0 Kudos
1 Solution

Accepted Solutions
CarolynMcCormick1
New Contributor
Thanks for your replies, but the problem has been solved.

The table was from an Access database and did not have an Object ID (type: esriFieldTypeOID). With that fixed, the queries are working fine.

View solution in original post

0 Kudos
3 Replies
JohnStephens
Occasional Contributor
Can you show us your code?
0 Kudos
TanuHoque
Esri Regular Contributor
make sure "outField" is set to "*" or a list of comma separated field names
0 Kudos
CarolynMcCormick1
New Contributor
Thanks for your replies, but the problem has been solved.

The table was from an Access database and did not have an Object ID (type: esriFieldTypeOID). With that fixed, the queries are working fine.
0 Kudos