You definitely need to scour the web and look for database recordset tutorials and follow them closely.
Copy some code and disect it. That is a great way to learn without incurring a lot of expense.
There are also some great books on the market that you find at your local B&N or borders. I think WROX actually publishes one called ASP Databases.
From your question it sounds like your SQL statment is off or you are not using any type of recordset reference in your code to check if any records are to be returned, such as
IF NOT RS.EOF Then
Do Until RS.EOF
strVar1 = RS("field1")