I am not converted the recordset in a string, I cycle effectively dynamically trought the different field, it s simple to detect the end of the recordset (EOF) but not the end of line. In fact I have a function wich created textbox, the default value of those one are the different information contain in the recordset.
The function works with a recordset , i cycle trought it and create the différent textbox. I want to add this line , or somethings like that,to it but i don t know why, here is the function :
<% Function mkedittext(rsobj)
Dim objprop
Dim strT
dim val
dim test
if (rsobj.EOF) then
rsobj.Movefirst
end if
cpt=0
val= rsobj.fields(cpt)
while not rsobj.EOF
while not rsobj.EOL
strT=strT & "<input type=text name=texte"&cpt&" value="&val&">"
cpt=cpt+1
val= rsobj.fields(cpt)
WEND
rsobj.moveNext
Wend
mkedittext = strT
End Function
-----------------------------------------------------------
many thanks
damien