自己创建的主键在表的primaryIndex里不显示,虽然可以手写进去,但是实际上是无效的。
后记,往excle里导出数据的时候会显示主键索引不存在的错误。
解决方法如下:
1. The index needs to be unique ('AllowDuplicates' property set to No)
2. The index needs to have 'AlternateKey' property set to Yes
3. The primary index of interest can only have one field in it
4. The field on the table used in the primary key needs to be mandatory
5. The field on the table used in the primary key cannot be editable
详细的参考下面文章。
http://daxdude.blogspot.jp/2012/07/primary-key-index-not-showing-up-in-ax.html