Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82039

Editor, primary keys, and updates

$
0
0
I have a single table that is being added to or edited, but there is a column that represents a part number only by its primary key (unique identifier.) I can put a select drop-down on the key value and populate an array using NAME and VALUE using the actual part number as NAME (so it is relevant to the user,) or I can perform a join and bring the part number in from the part_master table ...

But I can't figure out how to allow the edit that will update the table with the key value, while allowing the user to work with the part number value that is relevant to them.

This is a newbie question, so I'll need some kind of example to help me understand how this works.

Viewing all articles
Browse latest Browse all 82039

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>