Re: CFSELECT Prob
Okay, thanks - got it working now: My eyes are fried - been working 6 hours straight in the afternoon instead of off/on all day. What do you all use to help cut down on eye strain? ;-) Donna On Fri, 21 Jan 2005 13:26:29 -0800, Ian Skinner <[EMAIL PROTECTED]> wrote: > Ok, I just tested your code and it worked just fine on my system. I would > then take a look at the value of your variables, Client_Education and > qClient.Education. > > PS. What is the value parameter in your select statement doing? Select tags > don't use a value parameter, just the Option child-tags. > > > -- > 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: > ... > ... Education: > ... ...Value="#qClient.Client_Education#" tabindex="230"> > ... ..."Less than 12 years">SELECTED>Less than 12 years > ... ..."High School or GED">SELECTED>High School or GED > ... ...College">SELECTED>Some College > ... ..."College Graduate">SELECTED>College Graduate > ... ..."Vocational Training">SELECTED>Vocational Training > ... ..."Unknown">SELECTED>Unknown > ... > ... > ...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 > ... > ... > > ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191407 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
RE: CFSELECT Prob
Ok, I just tested your code and it worked just fine on my system. I would then take a look at the value of your variables, Client_Education and qClient.Education. PS. What is the value parameter in your select statement doing? Select tags don't use a value parameter, just the Option child-tags. -- 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: ... ... Education: ... ... SELECTED>Less than 12 years ... SELECTED>High School or GED ... SELECTED>Some College ... SELECTED>College Graduate ... SELECTED>Vocational Training ... SELECTED>Unknown ... ... ...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 ... ... ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191404 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
Re: CFSELECT Prob
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: > > ... > > ... Education: > > ... > ...Value="#qClient.Client_Education#" tabindex="230"> > > ... > ..."Less than 12 years">SELECTED>Less than 12 years > > ... > ..."High School or GED">SELECTED>High School or GED > > ... > ...College">SELECTED>Some College > > ... > ..."College Graduate">SELECTED>College Graduate > > ... > ..."Vocational Training">SELECTED>Vocational Training > > ... > ..."Unknown">SELECTED>Unknown > > ... > > ... > > ...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
RE: CFSELECT Prob
What's your processing page look like. What are you doing with the form variables. -- 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 1:08 PM ...To: CF-Talk ...Subject: Re: CFSELECT Prob ... ...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 Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191401 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
Re: CFSELECT Prob
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: > ... > ... Education: > ... ...Value="#qClient.Client_Education#" tabindex="230"> > ... ..."Less than 12 years">SELECTED>Less than 12 years > ... ..."High School or GED">SELECTED>High School or GED > ... ...College">SELECTED>Some College > ... ..."College Graduate">SELECTED>College Graduate > ... ..."Vocational Training">SELECTED>Vocational Training > ... ..."Unknown">SELECTED>Unknown > ... > ... > ...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:191399 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
RE: CFSELECT Prob
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: ... ... Education: ... ... SELECTED>Less than 12 years ... SELECTED>High School or GED ... SELECTED>Some College ... SELECTED>College Graduate ... SELECTED>Vocational Training ... SELECTED>Unknown ... ... ...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:191395 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