Developer forum

Forum » CMS - Standard features » Datalists / Forms update row

Datalists / Forms update row

Jonas Kæseler
Reply
Hi, is it possible to update a rows primary key from the forms module?

When I try, nothing seems to happen...

See example below - I'm trying to change a rows "afdelings_nr", which is the primary key...



- Jonas

Replies

 
Marco Johannesen
Reply
Just wondering...
If you want users to change the primary key, how will they know which are available?

Wouldn't it make more sense to use DW's default "tableID" and just have the department number as a int?

Just seems like this soloution would break the dependency of a primary key...

I might be missing something though ;-)

 

You must be logged in to post in the forum