Q&A - Question How to Create a Shape in ESRI PGDB Layer with Requied field. Question liuj asked on July 27, 2016, keyword: Developer Kernel I have a ESRI Personal Geodatabase , which there is a layer with few fields. One of these field is Required . I want to create a shape in the layer,but failed. my code : var ttkLayer: TGIS_LayerSqlPgdbAdo; ttkShape: TGIS_Shape; begin //...... ttkShape := ttkLayer.CreateShape(ttkLayer.DefaultShapeType);// raise Exception show a message "The field <name> cannot contain a Null value because the Required property for this field is set to True. " How to handle the problem? Thanks advance. Answers Artur Redzko (TatukGIS) replied July 27, 2016 Yes, this is a bug or rather a missing feature. Upon creating a new shape we insert new record into a table but there is no check or event to allow a user to fill required or default values. Most clients solve this using triggers before insert on database site. If you would like to answer the question please Sign In. * * Stay signed in on this computer Please review our recent Privacy Policy.If you have any questions or requests, please contact us. Forgotten password Rules The Questions and Answers (Q & A) is intended to provide a means of communication between TatukGIS customers. Licensed users (with active maintenance play) of TatukGIS products may contribute to the Q & A content. Read-only access is available to anyone. Keep the content positive and professional. Be courteous to others by posting information when a question or issue asked on the Q & A is answered or resolved by other means (such as with help from TatukGIS technical support). Offer others at least a hint how the posted question was answered or the issue was resolved. The Q & A is not a replacement for TatukGIS technical support. TatukGIS team may or may not regularly follow or contribute content.