Re: Error code help needed
If your goal is to add a record then you are going about it wrong. Select is used to query the database and return a record that is there.
To add a record you should use the Insert statement and check the return code to see if it added a record or you can use select to see if the record is there first and then if it is not there you could use either an Insert or you could use an RS.Addnew
The last code you posted is very hard to follow even after I added the code tags but I do not see any where a record is being added, I did see one place where it would try to update a record.
Always use [code][/code] tags when posting code.