Updating/editing/reading data table within code

I found this by searching the forums for “last row of table”