You need array-notation syntax there... which will allow you to put just
about _anything_ in those fields...
<cfloop index="doc" list="#form.check#">
<cfquery name="addtorec" datasource="docs">
insert into tblemployee_train
(employeeno,fullfileid,deptcode,dateadded)
values( #form["empid#doc#"]#,
'#form["fullfileid#doc#"]#',
'#form["deptcode#doc#"]#',
#now()#)
</cfquery>
</cfloop>
hth
Isaac
www.turnkey.to
954-776-0046
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists