Ok, lets start over. You never explained what it was you were trying to do. I'm sorry I didn't ask you to explain more up front. I thought that you were trying to write back to the DB.
In order to add the records you have to position the record pointer. This is standard for any DB programming on any platform. So #1 you have to learn about the Source set model and it's functionality.