How to select the record ID of the inserted row

I am looking for a way to get the ID of the record that performed the insert process.
The timing to get it should be right after the insert process is executed.

I would like to get information on anything you know.
Thanks.

If you mean the RecId field, simply read the value of this field after calling insert(). For example:

myTable.insert();
info(int642str(myTable.RecId));