How can i add the value of the Primary Key of the record i want to edit to a hidden input in the form to make sure that record is updated and overwrite the old record.My primary key is the id.
Please help!
Hi Bob,
I can't create a hidden field with the name id because is the same with the name of the primary key.
Also i can't understand the link that you gave me...
Thanks,
Kimos
Hi Kimos.
I can't create a hidden field with the name id because is the same with the name of the primary key.
Yes you can, please try. Drag a Hidden field element across in the Designer tab,
Bob
Hi Bob,
This hidden field has to be saved in my database or exclude it when i create the table?
Thanks,
Kimos
Hi Kimos,
It's has the same name as the Primary Key column of the table so hopefully ti is already there.
Bob
Hi Bob,
Yes it has the same name.So as i see from your answer i don't have to include it to the creation of table.
So i have the hidden field renamed it as 'id'. What is the next step?
Thanks,
Kimos
Hi Bob,
It works fine!I couldn't realize that it what so simple!Thank you very much!
Kimos