The code connectes the database, takes the values from the table and stores it in a recordset (rsValues). The values are added in to the option form filed one by one using the do...loop and the list has been populated. To use this code Modify the database connection details, and sql.