Needed Updateable Primary Key Field

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
morrellaberdeen
User
Posts: 187

Needed Updateable Primary Key Field

Post 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?


mobhar
User
Posts: 11905

Post 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.


Post Reply