Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
quote:
Originally posted by: Anthony Spears
You can't put write query cells (<cfset temp = QuerySetCell) inside of <cfif> tags? Whenever I try it the code won't run. It just skips that portion completely.
Thanks in advance,
Anthony
Copy link to clipboard
Copied
Copy link to clipboard
Copied
quote:
Originally posted by: Anthony Spears
The coditions of the cfif are being met. Other code within the tag is being executed. I actually populated an array inside in of same cfif tag.
Yes, I did the queryaddrow. The code works just fine outside of the cfif tag.
There is no fancy code. Just querysetcells inside of a cfif tag. The query is created outside of the cfif tag. This is not the first time I have encountered it. I wasn't looking for a solution. More of looking to see if anyone else has experienced this. Perhaps this is a bug/limitation in cold fusion.