it is meant to count the numbers allowed in the databasefield. (lengde=length)
Just to assure you, i have opened the database rs with this code:
<%
option explicit
Dim rs, Conn, Kurskode, Kursnavn, Klassetrinn, Rom, Periode, Valgfag, sql, sql2, rs3
response.buffer = false
Set Conn =...