Page 1 of 1

Needed Updateable Primary Key Field

Posted: Mon Sep 16, 2013 12:24 am
by morrellaberdeen

I usually set my primary keys to autoincrement. This time however, I would want the primary key to be entered in manually. It seems to me that because it is set as a primary key field, it is automatically treated as not updateable. What would be the way around this issue as phpmaker continues to say the field is not updateable?


Re: Needed Updateable Primary Key Field

Posted: Mon Sep 16, 2013 9:06 am
by mobhar

You cannot edit the primary key field, indeed. If you want to obviously edit that field, then remove the primary key check marked from Fields setup. However, in order to implement Add and Edit process, you have to set the other field(s) as the primary key in that table from "Fields" setup.