Being new here and having coded a long time ago I have to search a lot
I am looking for an example (of code) that on completion of a record being added fills in a new value for a field including a number field that holds a unique number. I use an external db.
I also want to calculate this unique ID from a table that holds the last issued ID per table (e.g. a table with sequences).