this is what I am trying to accomplish:<BR>the first select box value to be put into the second textbox.<BR>here is my code:<BR><BR>&#060;html&#062;<BR>&#060;head&#062;< BR>&#060;title&#062;&#060;/title&#062;<BR>&#060;/head&#062;<BR>&#060;body&#062;<BR>&#060;form method="post" action=""&#062;<BR> &#060;div align="center"&#062;<BR><BR>&#060;%<BR>sel=""<BR>t ables=""<BR>scripts=""<BR>datum=""<BR><BR>set conn = Server.CreateObject("ADODB.Connection")<BR> connectstring = "DSN=*****;uid=****;pwd=****"<BR>conn.Open connectstring<BR><BR>sql = "select screenname,billname,billadd1,billadd2,billcity,bil lstate,billzip,billcountry,useremail "<BR>sql = sql & "from tUsers order by screenname"<BR>set rs = conn.execute(sql)<BR>if not rs.eof then<BR> cn = 1<BR> do while not rs.eof<BR> &#039 extract each field into local vars<BR> sn = rs("screenname")<BR> bn = rs("billname")<BR> ad1 = rs("billadd1")<BR> ad2 = rs("billadd2")<BR> ct = rs("billcity")<BR> bs = rs("billstate")<BR> bz = rs("billzip")<BR> bc = rs("billcountry")<BR> em = rs("useremail")<BR> &#039 build the name, address and phone string<BR> datum = "&#060;b&#062;&#060;a href=""mailto:" & em & """&#062;"<BR> datum = datum & bn & "&#060;/b&#062;, " & sn<BR> datum = datum & "&#060;/a&#062;<BR>" & ad1 & "<BR>"<BR> datum = datum & "&#060;a/&#062;<BR>" & ad2 & "<BR>"<BR> datum = datum & "&#060;a/&#062;<BR>" & ct & ", " & bs & ", " & bz<BR> datum = datum & "&#060;a/&#062;<BR>" & bc<BR> <BR> &#039 build the select list<BR> sel = sel & "&#060;option value=""div" & cn & """&#062;" & sn<BR> &#039sel = sel & " " & bn & chr(10)<BR> sv = sel<BR> &#039 build the param box<BR> <BR><BR> &#039 set display = none for all but the first record<BR> if cn &#062; 1 then<BR> dis = " style=""display:none"""<BR> end if<BR> &#039 build the &#060;div&#062; code<BR> tables = tables & "&#060;div id=div" & cn & dis & "&#062;"<BR> tables = tables & datum & "&#060;/div&#062;" & chr(10)<BR> &#039 build the script code that will make all divs invisible<BR> scripts = scripts & " document.all(""div" & cn & """)"<BR> scripts = scripts & ".style.display=""none""" & chr(10)<BR> &#039 increase the counter<BR> cn = cn + 1<BR> rs.movenext<BR> loop<BR> rs.close<BR> set rs = nothing<BR> conn.close<BR> set conn = nothing<BR>%&#062;<BR>&#060;script language="vbscript"&#062;<BR>sub show(el)<BR> &#039 make all elements invisible<BR>&#060;%=scripts%&#062;<BR> &#039 make the current selection visible<BR> document.all(el).style.display=""<BR>end sub<BR>&#060;/script&#062;<BR>&#060;%<BR> response.write("&#060;/head&#062;&#060;body bgcolor=#ffffff&#062;&#060;center&#062;")<BR> response.write("&#060;table border=1&#062;")<BR> response.write(chr(10) & "&#060;tr valign=top&#062;&#060;td width=205&#062;")<BR> response.write(chr(10) & "Choose:&#060;p&#062;&#060;select ")<BR> response.write("onChange=""show(sel1.value)""")<BR > response.write(" class=i1 id=sel1&#062;" & chr(10) & sel)<BR> response.write("&#060;/select&#062;&#060;/td&#062;&#060;td width=285&#062;" & chr(10))<BR> response.write(tables & "&#060;/td&#062;&#060;/tr&#062;&#060;/table&#062;")<BR> response.write("&#060;/center&#062;")<BR>else<BR> response.write("&#060;/head&#062;&#060;body&#062;No records.")<BR>end if<BR>%&#062;<BR>&#060;input type="submit" name="Submit" value="Edit this Exhibitor"&#062; <BR>&#060;input type="text" name="screenname" value= &#060;%response.write(what goes here?)%&#062;&#062;<BR> &#060;/div&#062;<BR>&#060;/form&#062;<BR>&#060;/body&#062;<BR>&#060;/html&#062;<BR><BR>thanks in advance!<BR>Hugs<BR>Raquel Anne<BR>