I have a table that contains different kinds of biological samples, ie. biofluids, tissue blocks, tissue slides. Each sample has an assigned company ID which is basically a numeric increment sequentially. I'm thinking about splitting it up to 3 tables based on the sample type because of the need to add specific info regarding each type. For example, types of stainnings for the slides. I will have another table which contains patient info that will link to each of the 3 new tables. My question is how do I best keep track of the last company ID used when enterring new records for each table. Please advise.
Thank You.