'Save As Copy' button error

Please report bugs and any annoyances here. Kindly include all possible details: steps to reproduce, expected result, actual result, screenshots, ... etc.
Post Reply
kavlito
Posts: 7
Joined: 2014-01-17 17:02

'Save As Copy' button error

Post by kavlito » 2014-02-14 19:46

When adding similar records, I click the similar record to edit, change the product code and click the 'Save As Copy" button. I get the following error: "Error: 'Id': field is a primary key field and cannot be empty."

I understand the error, however, I would assume that the functionality of the 'Save As Copy' button would increment and populate the Id field.

Anyone?

User avatar
a.gneady
Site Admin
Posts: 1354
Joined: 2012-09-27 14:46
Contact:

Re: 'Save As Copy' button error

Post by a.gneady » 2014-02-15 15:19

You should set the primary key field to "Auto increment" in AppGini before generating your application.
:idea: AppGini plugins to add more power to your apps:

Post Reply