Hi Charlie, Thanks as always for your continued support of the CFAussie forum. I always appreaciate your replies.. they include so much detail!
I attempted to CFDUMP the query straight after the CFQUERY, and the attribute was not defined, which is very odd. Yes, I triple checked the name of the query, as I thought I must have made a mistake typing and ended up copy-and-pasting it :-) However I could defintly see that the query had executed and had returned 0 rows from the debug output displayed below the error text. Odder still, I cant get the error to occur again this morning, despite the query returning 0 rows still. I have put back in the cfoutput to try and see if it happens again. I really hope I can replicate it someday. Thanks again. From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of charlie arehart Sent: Wednesday, 1 February 2012 3:03 AM To: cfaussie@googlegroups.com Subject: RE: [cfaussie] RE: Attribute validation error for tag cfoutput Hmm. You’re saying that a CFLOOP QUERY worked where a CFOUTPUT QUERY would not? That would indeed be curious. If you’d still needed to (or want to) solve the mystery, I would have suggested doing a CFDUMP of the variable, to see what it said it was. Assuming that when you ran it, you still got an error referring to it (next) in a CFOUTPUT QUERY, it would be very strange if the CFOUTPUT QUERY failed where the CFDUMP showed that it was indeed a query. Now, I press that point about making sure that the CFOUTPUT QUERY fails after the dump, because there is the possibility that it might work, which would suggest that there’s some other time when it fails, and it’s THEN that the CFDUMP would be most valuable. I could think of a number of scenarios where a variable might not have what it seems it should have. I won’t take your collective time speculating. But if you do get the error and do get a dump, and it is a query, let us know what you find. Again, that’s all if you want to press on. You may be happy to just leave it as a query loop. /charlie From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of Scott Thornton Sent: Monday, January 30, 2012 11:23 PM To: cfaussie@googlegroups.com Subject: [cfaussie] RE: Attribute validation error for tag cfoutput I changed my code to work within a cfloop ( which it should have been anyway ), and it works okay. -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com<mailto:cfaussie@googlegroups.com>. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com<mailto:cfaussie+unsubscr...@googlegroups.com>. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.