You should explicitly scope your variables, i.e., Form.chgFLanguage or
queryname.chgFLanguage. That may be contributing to the problem.

We also need to see the bigger picture. What is it you're trying to
accomplish?

> -----Original Message-----
> From: Clark, Aimee [mailto:aclark@;stinsonmoheck.com]
> Sent: Thursday, October 31, 2002 3:23 PM
> To: CF-Talk
> Subject: RE: Need assistance with listbox on a form
> 
> 
> I'm sorry, but that gives me an error right where the 
> #chgFLanguage# line
> is.
> 
> I have tried the len(chgFLangauge) suggestion that Shawn 
> provided, but that
> did not work either.
> 
> I tried this and it at least allowed for me to modify 
> something other than
> the list box, but now if I choose a foreign language, it 
> doesn't pass the
> value I selected to the email that is generated. 
> 
> <cfif IsDefined("chgFLanguage") and chgFLanguage IS NOT "">
> <tr>
> <td><b>Foriegn Language Change:</b></td>
> <td>#chgFLanguage#</td>
> </tr>
> </cfif>
> 
> Boy, am I trouble or what?
> 
> -----Original Message-----
> From: Tony Weeg [mailto:tony@;navtrak.net]
> Sent: Thursday, October 31, 2002 2:21 PM
> To: CF-Talk
> Subject: RE: Need assistance with listbox on a form
> 
> 
> aimee,
> 
> try this....
> 
> <cfif NOT isDefined("chgFlanguage")>
> <tr>
> <td><b>Foriegn Language Change:</b></td>
> <td>#chgFLanguage#</td>
> </tr>
> </cfif>
> 
> .tony
> 
> Tony Weeg
> Senior Web Developer
> Information System Design
> Navtrak, Inc.
> Fleet Management Solutions
> www.navtrak.net
> 410.548.2337 
> 
> 
> -----Original Message-----
> From: Clark, Aimee [mailto:aclark@;stinsonmoheck.com] 
> Sent: Thursday, October 31, 2002 3:04 PM
> To: CF-Talk
> Subject: RE: Need assistance with listbox on a form
> 
> 
> So, for some reason my last email was cut off. Here is the code that I
> am
> trying to process from my previous problem.
> 
> Here is the code that is processing:
> 
> <cfif #chgFLanguage# is not "">
> <tr>
> <td><b>Foriegn Language Change:</b></td>
> <td>#chgFLanguage#</td>
> </tr>
> </cfif>
> 
> How do I correct this?
> 
> Thanks,
> 
> Aimee'
> 
> 
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to