<cfparam name="form.categoryid" type="string" default="">
<cfloop index="x" list="#form.categoryid#">
 <cfset altcatname = form["altcategoryname_#x#"]>
 <cfquery name="InsertForms" datasource="PhysicianForms">
   insert into tFormCategory
     (formid,categoryid,altcategoryname)
   values ('#session.formid#','#x#', <cfqueryparam name="#altcatname#"
null="#yesnoformat(not altcatmodified)#">)
   </cfquery>
</cfloop>

This reurns errors below:

 Attribute validation error for tag CFQUERYPARAM.
The tag does not allow the attribute(s) NAME. The valid attribute(s)
are CFSQLTYPE,LIST,MAXLENGTH,NULL,SCALE,SEPARATOR,VALUE.
 
The Error Occurred in
D:\Inetpub\wwwroot\PhysiciansOrdersForm\TestDynamicInsertInsert.cfm:
line 12

10 :    insert into tFormCategory
11 :      (formid,categoryid,altcategoryname)
12 :    values ('#session.formid#','#x#', <cfqueryparam
name="#altcatname#" null="#yesnoformat(not altcatmodified)#">)
13 :    </cfquery>
14 : </cfloop>

Am I missing something?

tia


On Apr 11, 2005 1:34 PM, S. Isaac Dealey <[EMAIL PROTECTED]> wrote:
> > I see your point!   I will try that as you suggest.
> 
> Good luck! :) Hope my examples were helpful. :)
> 
> 
> s. isaac dealey   954.522.6080
> new epoch : isn't it time for a change?
> 
> add features without fixtures with
> the onTap open source framework
> 
> http://macromedia.breezecentral.com/p49777853/
> http://www.sys-con.com/author/?id=4806
> http://www.fusiontap.com
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202357
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to