New Query layer

Discussion created by daniel_jimenez86 on Feb 14, 2014
Latest reply on Feb 14, 2014 by vangelo-esristaff
I have a postgres 9.3 connected to Arcgis 10.1. I have defined the primary key on my  database  shapefile table, but every time i query the layer into gis i need to set in the advanced  new query options the primary key field in order to open the attribute table. How can i make Arcgis to remember which is the primary key of the shapefile so i don't have to keep selecting manually the PK?