Some more information might be helpful.  Can we see the code of the form 
itself?  Also, are you just inserting new records into your database, or 
editing existing records?

On 1/28/2011 10:34 AM, Monique Boea wrote:
> Any sample code for a grid-like form?
>
>
>
> On Thu, Jan 27, 2011 at 8:16 PM, Monique Boea<[email protected]>  wrote:
>
>>   Hello All
>>
>> I have a form which is design like an excel spreadsheet with about 60 input
>> rows.
>>
>> The user may enter values for some and not the others.
>>
>> I am stuck on entering the values into the database.
>>
>> I use the following code to loop through the forms vars but don't know
>> where to go after this.
>>
>> <cfloop list="#StructKeyList(form)#" index="key">
>> <cfif #form[key]# NEQ "Submit" AND #form[key]# NEQ "FIELDNAMES">
>>   <cfoutput>#key# = #form[key]#<br></cfoutput>
>> </cfif>
>> </cfloop>
>>
>>
>> Any suggestions?
>>
>> P.S. Thank you guys for all of your help. It is appreciated.
>>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341642
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to