Hello George
Thank you for getting back to me.
I thnk I have just got it working.
I was missing 'conn' here:
rs.Open sql,conn
Regarding the:
sql = "insert into ballot (ip, selection" & u_input &") "
'ballot' is the table name, inside of which there is a text field for the IP address, and numeric fields for selections 1-4 (4 fields) which are supposed to store the u_input (that is, the vote).
The table fields are called selection1, selection2, etc. There is a choice of 4 selections and the vote, that is u_input, in indicated by a radio button and then the vote is sent.
The form itself is here:
http://stevehigham59.7host.com/vote/vote_db.asp
Thanks again for your post.
Steve