I am inserting data into two tables, however I can not figure out (after hours of Googling) how to insert data into the second table after retrieving the new ID created after the first update?
I’m using <CFINSERT>.
I am inserting data into two tables, however I can not figure out (after
Share
use
<CFQUERY result="result_name">and the new ID will be available atresult_name.generatedkey..<cfinsert>and<cfupdate>, while easy and fast for simple jobs, they are pretty limited.