<br><br><cfset a = #select.columnlist#><br><br><cfloop index="item" list="#a#" delimiters=","><br><cfoutput><table border="1" width="161"><br><tr><td width="60">#item#</td><br>td width="85"><input type="text" name=#item# size="10" maxlength="10"></td></tr><br></table><br></cfoutput><br><br>This code will loop the colummns from the table and present it in a form along with the text box on the side whose name i have given to be the same as the name of the columns.<br><br>My doubt is How do i insert the values in the textbox into the table ?<br><br>1)how will i write an insert statement for the same?<br><br>2)How will i validate these textboxes for number or characters?<br><br>3)How will i decide on the size of the textbox..a s it may vary from column to column..<br><br><br>but in the above loop..what would happen is i will get the list of the colummn on the lefthand and the textbox on the right hand with the same length and type which is not correct.<br><br>How do i solve this problem?<br><br>Thanx a lot<br><br>-shanks<br><br><br><br>