On Tue, Oct 28, 2008 at 1:36 PM, Rick Sanders <[EMAIL PROTECTED]> wrote:
> I agree, but I still have to enter all the form field names in the <cfparam>
> anyways so I'm not really gaining anything.

Coding templates are your friend.

But regardless, I offered a suggestion to solve this earlier in a
message that perhaps you missed. If you are basically matching form
fields against the db, just do something like this:

<cfquery name="getfields">
SELECT field1, field2, field3
FROM footable
WHERE 0=1
</cfquery>


<cfloop index="currentitem" list="#getfields.columnlist#">
<cfparam name="form[currentitem]" default="">
</cfloop>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314502
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to