I used this sintax: SELECT c1 scan text_html=text_html+[<tr>]+CR+; [<td width="20%"><input type="text" name="T"+str(i+1)+[ size="30" value=]+c1.nume+[></td>]+; [<td width="20%"><input type="text" name="T"+str(i+2)+[ size="30" value=]+c1.numea+[></td>]+; [<td width="20%"><input type="text" name="T"+str(i+3)+[ size="30" value=]+c1.localitate+[></td>]+; [<td width="20%"><input type="text" name="T"+str(i+4)+[ size="30" value=]+c1.telefon+[></td>]+; [<td width="20%"><input type="text" name="T"+str(i+5)+[ size="30" value=]+c1.tipmagazin+[></td></tr>]+CR i=i+5 ENDSCANCan anybody help me?