1) The reason I wasn't making any progress above was becasue I nneded to reinitialize the application so the CFC woulkd be reinstantiated as well. Once I realized that, my fixes started to work. ( As an aside, I guess the code snippet shown is drawn from the file rather than the CFC in memeory that is actually executing the code)
I modified several other queryAddColumn functions and moved about 500 lines further down the code. 2) Noiw I am at this error with the querySetCell function. The problem is I dont really understand the error message I am getting: *Invalid data for column of type null* Here is the snippet: TypeExpressionFunctionquerysetcell <http://openbd.org/manual/?/function/querysetcell>Function(s)getEntries (C:/Program Files/Apache Software Foundation/Tomcat 7.0/webapps/site1/org/camden/blog/blog.cfc, Line=1271, Column=99) Tag ContextCFSET <http://openbd.org/manual/?/tag/CFSET> (C:/Program Files/Apache Software Foundation/Tomcat 7.0/webapps/site1/org/camden/blog/blog.cfc, Line=1533, Column=5) | +-- CFLOOP <http://openbd.org/manual/?/tag/CFLOOP> (C:/Program Files/Apache Software Foundation/Tomcat 7.0/webapps/site1/org/camden/blog/blog.cfc, Line=1517, Column=4) | ** SNIP ** | +-- CFMODULE <http://openbd.org/manual/?/tag/CFMODULE> (C:/Program Files/Apache Software Foundation/Tomcat 7.0/webapps/oldncra/groundwire/index.cfm, Line=61, Column=1)Source 1530: <cfset catData[categoryID] = categoryName> 1531: </cfloop> 1532: <cfdump var="#catData#">1533: <cfset querySetCell(getEm,"categories",catData,currentRow)> 1534: </cfloop> ^ Snippet from underlying CFML source This ia all set up by a queryAddColumn function thusly: <cfset queryAddColumn(getEm,"categories","varChar",arrayNew(1))> What is meant by "column of type null. The added column should be a varChar. The value of catData (a struct) is: catdata = 50738A2F-E777-4F82-A04FDD30B861A600 4. Mp3s files Thanks, Magnus -- -- online documentation: http://openbd.org/manual/ http://groups.google.com/group/openbd?hl=en --- You received this message because you are subscribed to the Google Groups "Open BlueDragon" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
