Hello.

I have a countdown timer working where you manually enter "ABC". I use a "If End If" statement. Works perfectly like this.

What I am trying to figure out now is how to connect it to SQL Databse where a Table already exists. For Example, I want to scan S/N "ABC12345", and I want my countdown to look in the database for the associated color, and start countdown.

Here is summary:
1. Enter S/N in textbox "ABC12345" entered
2. "#ADD8E6" is the color associated with this S/N
3. Therefore, a countdown starts for 1 hour.