Tech Tip: Removing a primary key field and adding it back at the structure level
PRODUCT: 4D | VERSION: 16 | PLATFORM: Mac & Win
Published On: December 27, 2017
When using the "Remove primary key" option from the Structure Editor:
It is important to note that the Table Property "Include in Log File" will be disabled (because the log file requires valid Primary Keys):
When using the "Create primary key" option from the Structure Editor:
![](https://kb.4d.com:443/kbase/assets/images/77919-4.jpg)
It is important to note that the Table Property "Include in Log File" will not be automatically enabled (the developer must check the box manually).
![](https://kb.4d.com:443/kbase/assets/images/77919-5.jpg)
See Also: