How about using something like this "Less_than_12_years".
On Fri, 21 Jan 2005 15:07:31 -0600, Donna French <[EMAIL PROTECTED]> wrote: > How can I avoid this so that it just evaluates as a string? Or is > there a more efficient way to handle this SELECT? > > TIA, > Donna > > On Fri, 21 Jan 2005 12:46:35 -0800, Ian Skinner > <[EMAIL PROTECTED]> wrote: > > Umm, not sure but it looks like CF is trying to evaluate your string as an > > expression. > > > > You can write expressions such as this [foobar LT 99] in long hand as > > [foobar less then 99]. Almost nobody does, but it is supported by CF. So > > my first guess would be that your "Less Then 12 years" string is being > > treated as an expression. > > > > -------------- > > Ian Skinner > > Web Programmer > > BloodSource > > www.BloodSource.org > > Sacramento, CA > > > > "C code. C code run. Run code run. Please!" > > - Cynthia Dunning > > > > ...-----Original Message----- > > ...From: Donna French [mailto:[EMAIL PROTECTED] > > ...Sent: Friday, January 21, 2005 12:41 PM > > ...To: CF-Talk > > ...Subject: CFSELECT Prob > > ... > > ...What is wrong with this??? > > ... > > ...Trying to get an update to work: > > ... > > ... <td>Education:</td> > > ... <td><select name="Client_Education" > > ...Value="#qClient.Client_Education#" tabindex="230"> > > ... <option value="Less than 12 years"<cfif Client_Education is > > ..."Less than 12 years">SELECTED</cfif>>Less than 12 years</option> > > ... <option value="High School or GED"<cfif Client_Education is > > ..."High School or GED">SELECTED</cfif>>High School or GED</option> > > ... <option value="Some College"<cfif Client_Education is "Some > > ...College">SELECTED</cfif>>Some College</option> > > ... <option value="College Graduate"<cfif Client_Education is > > ..."College Graduate">SELECTED</cfif>>College Graduate</option> > > ... <option value="Vocational Training"<cfif Client_Education is > > ..."Vocational Training">SELECTED</cfif>>Vocational Training</option> > > ... <option value="Unknown"<cfif Client_Education is > > ..."Unknown">SELECTED</cfif>>Unknown</option> > > ... </select></td> > > ... > > ...Error: > > ... > > ...An error occurred while evaluating the expression: > > ... > > ... > > ... Client_Education is "Less than 12 years" > > ... > > ... > > ... > > ...Error near line 81, column 67. > > ... > > ...-- > > ...------------------------ > > ...Donna French > > [EMAIL PROTECTED] > > ... > > ...Blog: http://dgfrench.blogspot.com > > ...Site: http://www.dgfrenchdesigns.com > > ... > > ... > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware: 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:191402 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54