This is a multi-part message in MIME format.
------=_NextPart_000_025D_01BFA5A4.18A37B90
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
Custom StationeryI have been really struggling with trying to get the =
following code to work:
<CFOUTPUT QUERY=3D"GetCategoryType">
<CFINPUT TYPE=3D"CheckBox" NAME=3D"Category#CategoryTypeID#">
#CategoryType#<BR>
</CFOUTPUT>
Although this code above works for this particular form, the input field =
name "Category#CategoryTypeID#" is unusable on the following action form =
where the value is actually used to insert data into the table. I have =
the following on the subsequent insert action form:
<CFPARAM NAME=3D"#Evaluate("Category#CategoryTypeID#")#" DEFAULT=3D"No">
<INPUT TYPE=3D"hidden" NAME=3D"CategoryTypeID" =
VALUE=3D"Category#CategoryTypeID#">
However.. when doing that I get the following error:
Error resolving parameter CATEGORYTYPEID=20
ColdFusion was unable to determine the value of the parameter. This =
problem is very likely due to the fact that either:=20
1.. You have misspelled the parameter name, or=20
2.. You have not specified a QUERY attribute for a CFOUTPUT, CFMAIL, =
or CFTABLE tag.
If anyone here can help me resolve this I would greatly appreciate it.. =
Thanks!
Marco
------=_NextPart_000_025D_01BFA5A4.18A37B90
Content-Type: text/html;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Custom Stationery</TITLE>
<META content=3D"text/html; charset=3Dwindows-1252" =
http-equiv=3DContent-Type><BASE=20
href=3D"file://C:\Program Files\Common Files\Microsoft =
Shared\Stationery\"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 =
Transitional//EN">
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY background=3D"" bgColor=3D#fffbf0=20
style=3D"BACKGROUND-COLOR: #fffbf0; COLOR: #000000; FONT-FAMILY: =
Verdana; FONT-SIZE: 10pt">
<DIV>I have been really struggling with trying to get the following code =
to=20
work:</DIV>
<DIV> </DIV>
<DIV><CFOUTPUT=20
QUERY=3D"GetCategoryType"><BR> <CFINPUT=20
TYPE=3D"CheckBox"=20
NAME=3D"Category#CategoryTypeID#"><BR> #Categor=
yType#<BR></DIV>
<DIV></CFOUTPUT></DIV>
<DIV> </DIV>
<DIV>Although this code above works for this particular form, the input =
field=20
name "Category#CategoryTypeID#" is unusable on the following action form =
where=20
the value is actually used to insert data into the table. I have the =
following=20
on the subsequent insert action form:</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><CFPARAM NAME=3D"#Evaluate("Category#CategoryTypeID#")#"=20
DEFAULT=3D"No"></DIV>
<DIV><INPUT TYPE=3D"hidden" NAME=3D"CategoryTypeID"=20
VALUE=3D"Category#CategoryTypeID#"></DIV>
<DIV> </DIV>
<DIV>However.. when doing that I get the following error:</DIV>
<DIV> </DIV>
<P>Error resolving parameter <B>CATEGORYTYPEID</B>=20
<P>
<P>ColdFusion was unable to determine the value of the parameter. This =
problem=20
is very likely due to the fact that either:=20
<OL>
<LI>You have misspelled the parameter name, or=20
<LI>You have not specified a QUERY attribute for a CFOUTPUT, CFMAIL, =
or=20
CFTABLE tag.</LI></OL>
<DIV> </DIV>
<DIV> </DIV>
<DIV>If anyone here can help me resolve this I would greatly appreciate =
it..=20
Thanks!</DIV>
<DIV> </DIV>
<DIV>Marco</DIV>
<DIV> </DIV>
<DIV> </DIV></BODY></HTML>
------=_NextPart_000_025D_01BFA5A4.18A37B90--
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.