is there a way to make this work? i'm trying to use different href values inside a cfgrid, based on the value returned by the query. for some reason, it always navigates to the second url, "someOtherURL". grid format is html
<cfif myQry.myColumn eq 'something'>
thanks a lot!
Take your if/else logic outside of the cfgrid tag so you can see what you are doing. I solve these sorts of problems like this:
<cfif WhatIHave is WhatIExpect>
output no and WhatIExpect and WhatIHave.
If WhatIExpect looks like WhatIHave, check for whitespace.
thanks Dan, outside the grid works fine. the string returned is short and never contains white spaces. any other ideas?