<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community : All Content - All Communities</title>
    <link>https://forums.adobe.com/</link>
    <description>All Content in Adobe Community</description>
    <language>en</language>
    <pubDate>Wed, 08 Oct 2014 13:23:50 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-10-08T13:23:50Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Why is cfajax.js not *initially* loading in mobile platform/version?</title>
      <link>https://forums.adobe.com/thread/1597138</link>
      <description>&lt;!-- [DocumentBodyStart:8d677f25-43c0-4d75-aa51-0907e2fdba16] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;&lt;span style="color: #222222; font-family: Arial, Helvetica, sans-serif;"&gt;I am on a team developing and supporting a CF10 web application that is used on both desktop and mobile (iPad) platforms.&amp;nbsp; I have a form with 2 CFSELECTs which are bound to CFCs.&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="color: #222222; font-family: Arial, Helvetica, sans-serif;"&gt;There are views for both the desktop and mobile version.&amp;nbsp; They are virtually identical *except* for the mobile form fields are in &amp;lt;div&amp;gt; tags instead of an HTML table.&amp;nbsp; They both use the same CFSELECT code:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="background-color: #fafafa;"&gt;&lt;code&gt;&lt;/code&gt;&lt;div&gt;&lt;code&gt;&lt;code&gt;&lt;span style="color: #000088;"&gt;&amp;lt;cfoutput&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br/&gt; &lt;/span&gt;&lt;span style="color: #000088;"&gt;&amp;lt;cfselect&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #660066;"&gt;name&lt;/span&gt;&lt;span style="color: #666600;"&gt;=&lt;/span&gt;&lt;span style="color: #008800;"&gt;"region"&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #660066;"&gt;selected&lt;/span&gt;&lt;span style="color: #666600;"&gt;=&lt;/span&gt;&lt;span style="color: #008800;"&gt;"#rc.region#"&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #660066;"&gt;bind&lt;/span&gt;&lt;span style="color: #666600;"&gt;=&lt;/span&gt;&lt;span style="color: #008800;"&gt;"cfc:applications.theApp.model.services.myApp.getRegions('#rc.DSN#',{district})"&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #660066;"&gt;bindOnLoad&lt;/span&gt;&lt;span style="color: #666600;"&gt;=&lt;/span&gt;&lt;span style="color: #008800;"&gt;"true"&lt;/span&gt;&lt;span style="color: #000088;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br/&gt; &lt;/span&gt;&lt;span style="color: #000088;"&gt;&amp;lt;/cfselect&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;br/&gt;&lt;/span&gt;&lt;span style="color: #000088;"&gt;&amp;lt;/cfoutput&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/code&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;p style="min-height: 8pt; padding: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="color: #222222; font-family: Arial, Helvetica, sans-serif;"&gt;The desktop version works as expected, the region options change based on the 'district' select box option,but the mobile version will not work on initial page load.&amp;nbsp; &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="color: #222222; font-family: Arial, Helvetica, sans-serif;"&gt;Using Chrome to emulate the mobile version, I noticed in the console that cfajax.js does not load the first time the page is accessed.&amp;nbsp; The CFSELECT form fields shows no options.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="color: #222222; font-family: Arial, Helvetica, sans-serif;"&gt;But, if I F5 refresh the page, cfajax.js does load.&amp;nbsp; The CFSELECTs appear to show no options *until* I click on them, and even then they don't quite behave correctly.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="color: #222222; font-family: Arial, Helvetica, sans-serif;"&gt;Why doesn't cfajax.js load on the initial page access?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px; color: #222222; font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="color: #222222; font-family: Arial, Helvetica, sans-serif;"&gt;Any help or suggestions would be greatly appreciated!&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:8d677f25-43c0-4d75-aa51-0907e2fdba16] --&gt;&lt;img src='/beacon?t=1415919130765' /&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">mobile</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">cfajax</category>
      <pubDate>Wed, 08 Oct 2014 13:23:50 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1597138</guid>
      <dc:date>2014-10-08T13:23:50Z</dc:date>
      <clearspace:dateToText>1 month 24 hours ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Query Of Query of ordered result set error in CFSCRIPT in CF10</title>
      <link>https://forums.adobe.com/thread/1517275</link>
      <description>&lt;!-- [DocumentBodyStart:eb375fa9-ba0d-4b1e-b9f5-fb2719e0cb81] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I have come across a very interesting error when doing a query of a query inside a CFSCRIPT tag...&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I get a result set back from a SQL Server stored procedure.&amp;nbsp; It is a list of metric names (METRIC_ID) and the actual metric measurements.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I need to pull the METRIC_ID from this result set to do a JOIN on another query that has display and other formatting attributes for display in a web page.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The following code executes with no errors when the query is &lt;span style="text-decoration: underline;"&gt;&lt;strong&gt;unordered&lt;/strong&gt;&lt;/span&gt;:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;var displayDataQuery = new Query();&lt;/p&gt;&lt;p&gt;displayDataQuery.setName("joinedQuery");&lt;/p&gt;&lt;p&gt;displayDataQuery.setDBType("query");&lt;/p&gt;&lt;p&gt;displayDataQuery.setAttributes(qry1 = fullMetricsListQuery);&lt;/p&gt;&lt;p&gt;displayDataQuery.setAttributes(qry2 = arguments.cubeData);&lt;/p&gt;&lt;p&gt;displayDataQuery.setSQL("SELECT METRIC_ID FROM qry2");&lt;/p&gt;&lt;p&gt;var tempResultSet = displayDataQuery.execute();&lt;/p&gt;&lt;p&gt;var cubeMetricIDList = tempResultSet.getResult();&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;When I take the same exact query results from the same stored procedure, &lt;strong&gt;but it's ordered by an ORDER BY clause&lt;/strong&gt;, this statement;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;var tempResultSet = displayDataQuery.execute();&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;throws the following error - &lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;"The value '' cannot be converted to a number."&amp;nbsp;&amp;nbsp; That's 2 single quotes, signifying an empty string between "value" and "cannot."&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;Wait, what???&amp;nbsp; I just want a list of metric names, varchars.&amp;nbsp; Why is there a conversion error...?&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="line-height: 1.5em; font-size: 10pt;"&gt;The error &lt;/span&gt;ultimately p&lt;span style="line-height: 1.5em; font-size: 10pt;"&gt;oints back to &lt;/span&gt;&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;strong&gt;&lt;em&gt;ColdFusion10\cfusion\CustomTags\com\adobe\coldfusion\base.cfc, line 445.&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;OK, this is where this takes an interesting turn...&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Starting at line 444 in base.cfc, Line 445 bolded in red:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;cfif sqlType neq "" and arraylen(sqlParams) gt 0&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;&lt;span style="color: #575757; text-decoration: underline;"&gt;&lt;span style="color: #575757; text-decoration: underline;"&gt;&lt;span style="color: #ff0000; text-decoration: underline;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #ff0000;"&gt;&amp;lt;cfloop index="i" from="2" to="#ArrayLen(sqlArray)#"&amp;gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cfif (i-1) lte arraylen(sqlParams)&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cfqueryparam attributeCollection="#sqlParams[i-1]#"/&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/cfif&amp;gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #getPreserveSingleQuotes(sqlArray[i])#&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/cfloop&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;lt;/cfif&amp;gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So if I understand this correctly, when I have an unordered query, this code in base.cfc reads the SQL set in displayDataQuery.setSQL("SELECT METRIC_ID FROM qry2"), but doesn't when the query is ordered by METRIC_ID...?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Ah, wait...&amp;nbsp; the CFDUMP when using an ordered data set says something else...&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table class="cfdump_query"&gt;&lt;thead&gt;&lt;tr&gt;&lt;th class="query" colspan="2" style=";" title="click to collapse"&gt;query&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr class="query" valign="top"&gt;&lt;td class="query" style="font-style: italic;" title="click to expand"&gt;RESULTSET&lt;/td&gt;&lt;td style=";"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor="#eeaaaa"&gt;&lt;td class="query" style="background-color:#eeaaaa;" title="click to collapse"&gt;CACHED&lt;/td&gt;&lt;td style="background-color:#eeaaaa;"&gt;false&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor="#eeaaaa"&gt;&lt;td class="query" style="background-color:#eeaaaa;" title="click to collapse"&gt;EXECUTIONTIME&lt;/td&gt;&lt;td style="background-color:#eeaaaa;"&gt;4&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor="#eeaaaa"&gt;&lt;td class="query" style="background-color:#eeaaaa;" title="click to collapse"&gt;SQL&lt;/td&gt;&lt;td style="background-color:#eeaaaa;"&gt;SELECT * FROM qry1 ORDER BY METRIC_ID, LOCATION&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I'm pretty much stumped why the same data in unordered set works while in an ordered set causes this error.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any and all helpful suggestions or clues will be greatly appreciated!!!&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:eb375fa9-ba0d-4b1e-b9f5-fb2719e0cb81] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">cfscript</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">execute.</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">query of queries</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">query of queriescfscript</category>
      <pubDate>Tue, 08 Jul 2014 17:03:30 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1517275</guid>
      <dc:date>2014-07-08T17:03:30Z</dc:date>
      <clearspace:dateToText>4 months 5 days ago</clearspace:dateToText>
      <clearspace:replyCount>6</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Sporadic coldfusion.runtime.CfJspPage$ArrayBoundException</title>
      <link>https://forums.adobe.com/thread/1354513</link>
      <description>&lt;!-- [DocumentBodyStart:5603f570-f549-4ccf-921d-aa2f95fdccbf] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I have the following loop, going through an array, and trimming the of element i and then overwriting the element with the trimmed value:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;for(a=1; a &amp;lt;= ArrayLen(arguments.locationHeaders); a++){&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arguments.locationHeaders[a] = Trim(arguments.locationHeaders[a]);&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Every so often I get an error stating &lt;strong&gt;The element at position X cannot be found.&amp;nbsp; &lt;/strong&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I'm looping through the very array I'm editing!&amp;nbsp; How can I be OOB...?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If I refresh the browser it works fine.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:5603f570-f549-4ccf-921d-aa2f95fdccbf] --&gt;</description>
      <pubDate>Mon, 09 Dec 2013 20:36:18 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1354513</guid>
      <dc:date>2013-12-09T20:36:18Z</dc:date>
      <clearspace:dateToText>11 months 4 days ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>CF Builder trial reinstallation issue.</title>
      <link>https://forums.adobe.com/thread/1306797</link>
      <description>&lt;!-- [DocumentBodyStart:6deb0261-61c2-4bf8-9a2d-da5627736f7f] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p style="background-color: #e7e7e7; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif;"&gt;Back in June I installed the CF Builder trial on my work machine.&amp;nbsp; 2 days later I had to uninstall it due to our software compliance policies.&amp;nbsp; I *maybe* used it twice, and have been using our standard Eclipse (Juno) with CFEclipse plugin IDE.&amp;nbsp; We are planning on migrating away from DW and will either stick with Eclipse/CFEclipse or move to CF Builder, if we can trial it!&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="background-color: #e7e7e7; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif;"&gt;Fast forward to last week.&amp;nbsp; All the issues have been taken care of, I'm free to install CF Builder and evaluate it for possible purchase by my team.&amp;nbsp; I download latest trial install, go through installation, and am promptly told at first activation of the new install my trial period has expired!&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="background-color: #e7e7e7; font-family: adobe-clean, 'Helvetica Neue', Arial, sans-serif;"&gt;Yes, I did install it over 60 days ago, but I almost immediately uninstalled it once I was notified it was a no-no and did not use it.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:6deb0261-61c2-4bf8-9a2d-da5627736f7f] --&gt;</description>
      <pubDate>Mon, 30 Sep 2013 16:26:44 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1306797</guid>
      <dc:date>2013-09-30T16:26:44Z</dc:date>
      <clearspace:dateToText>1 year 1 month ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Retrieving large result sets from Oracle DB</title>
      <link>https://forums.adobe.com/thread/230048</link>
      <description>&lt;!-- [DocumentBodyStart:a0577af5-9745-433e-9ee3-0472076dd3bf] --&gt;&lt;div class="jive-rendered-content"&gt;I have a webbased app which in a dev environment retrieves
41K records on the initial db query for display to the user. I
cache the query as the user wants to be able to page through the
result set, displaying 20 records at a time in the GUI.
&lt;br/&gt;
&lt;br/&gt;The initial db query to retrieve 41K records takes around 25
seconds to move from the db box to the CF server box. We are
expecting 10 times the amount of records in production! 
&lt;br/&gt;
&lt;br/&gt;The current method used is a CFC function containing the SQL
query.
&lt;br/&gt;
&lt;br/&gt;Does anyone have any ways to speed this up, or am I at the
mercy of the network?
&lt;br/&gt;
&lt;br/&gt;Any help will be greatly appreciated!
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:a0577af5-9745-433e-9ee3-0472076dd3bf] --&gt;</description>
      <pubDate>Thu, 11 Dec 2008 21:11:11 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/230048</guid>
      <dc:date>2008-12-11T21:11:11Z</dc:date>
      <clearspace:dateToText>5 years 11 months ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Using a CFQUERYPARAM list IN stmt not working</title>
      <link>https://forums.adobe.com/thread/246883</link>
      <description>&lt;!-- [DocumentBodyStart:d19d0399-8c2a-4f62-b259-5fb18412621c] --&gt;&lt;div class="jive-rendered-content"&gt;I have a query I am running against an Oracle 9i db that has
to check a list of codes. 
&lt;br/&gt;
&lt;br/&gt;The query listed at the bottom of this post 
&lt;b&gt;returns expected results&lt;/b&gt; using
&lt;br/&gt;AND fec.ERROR_CODE IN (#
&lt;b&gt;PreserveSingleQuotes&lt;/b&gt;(errCodeList)#) 
&lt;br/&gt;
&lt;br/&gt;If I try to use
&lt;br/&gt;
&lt;b&gt;AND fec.ERROR_CODE IN (&amp;lt;CFQUERYPARAM list="yes"
value="#errCodeList#"&amp;gt; )&lt;/b&gt; 
&lt;br/&gt;the query returns 0 rows.
&lt;br/&gt;
&lt;br/&gt;OK, here's the "intersting"part. If I change 
&lt;br/&gt;
&lt;b&gt;IN&lt;/b&gt; (&amp;lt;CFQUERYPARAM list="yes" value="#errCodeList#"&amp;gt; ) 
&lt;br/&gt;to 
&lt;br/&gt;
&lt;b&gt;NOT IN&lt;/b&gt; (&amp;lt;CFQUERYPARAM list="yes"
value="#errCodeList#"&amp;gt; )
&lt;br/&gt;passing the same exact list the query returns rows!!! I get
the opposite results I want, but the query still returns rows. I'm
passing the same exact list to the query whether I use
PreserveSingleQuotes, CFQUERYPARAM and using both IN and NOT IN
constraints.
&lt;br/&gt;
&lt;br/&gt;Why does NOT IN work and IN fail for the same list? Yes, the
data is there, I have (at least) triple-checked.
&lt;br/&gt;
&lt;br/&gt;The output from CF debug I get when using CFQUERYPARAM:
&lt;br/&gt;SELECT DISTINCT f.field_name, 
&lt;br/&gt; f.label, 
&lt;br/&gt; f.field_id, 
&lt;br/&gt; f.input_type, 
&lt;br/&gt; f.ERROR_CODE ,
&lt;br/&gt; gf.sort_order
&lt;br/&gt; FROM group_field gf, 
&lt;br/&gt; FIELD f, 
&lt;br/&gt; field_error_code fec
&lt;br/&gt; WHERE gf.GROUP_ID = (SELECT GROUP_ID FROM form_group WHERE
form_id = ?)
&lt;br/&gt; AND gf.field_id = f.field_id
&lt;br/&gt; AND f.field_id = fec.FIELD_ID
&lt;br/&gt; AND fec.ERROR_CODE IN (?,?,?,?) 
&lt;br/&gt;ORDER BY gf.sort_order
&lt;br/&gt; 
&lt;br/&gt;Query Parameter Value(s) -
&lt;br/&gt;Parameter #1(cf_sql_varchar) = FORM_NAME
&lt;br/&gt;Parameter #2(cf_sql_varchar) = '130'
&lt;br/&gt;Parameter #3(cf_sql_varchar) = '131'
&lt;br/&gt;Parameter #4(cf_sql_varchar) = '132'
&lt;br/&gt;Parameter #5(cf_sql_varchar) = '133'
&lt;br/&gt;
&lt;br/&gt;It appears a single-quoted, comma-delimted list is being
passed to the db for the query.
&lt;br/&gt;
&lt;br/&gt;Any help anyone can give will be greatly appreciated!&lt;/div&gt;&lt;!-- [DocumentBodyEnd:d19d0399-8c2a-4f62-b259-5fb18412621c] --&gt;</description>
      <pubDate>Wed, 25 Jun 2008 19:45:04 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/246883</guid>
      <dc:date>2008-06-25T19:45:04Z</dc:date>
      <clearspace:dateToText>6 years 4 months ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Does CFSTOREDPROC leave Oracle cursors open?</title>
      <link>https://forums.adobe.com/thread/247523</link>
      <description>&lt;!-- [DocumentBodyStart:47015fff-6331-4fa0-9fba-47ae095c79db] --&gt;&lt;div class="jive-rendered-content"&gt;I have an Oracle stored procedure I call that opens a cursor:
&lt;br/&gt;
&lt;br/&gt;CREATE OR REPLACE procedure trialProc(c_test out
sys_refcursor) 
&lt;br/&gt;is
&lt;br/&gt;begin
&lt;br/&gt;open c_test for
&lt;br/&gt; SELECT *
&lt;br/&gt; FROM emp;
&lt;br/&gt;end;
&lt;br/&gt;/
&lt;br/&gt;
&lt;br/&gt;My calling code in CF:
&lt;br/&gt;&amp;lt;cfstoredproc procedure = "trialProc" dataSource =
"#request.dsn#" debug = "Yes"&amp;gt;
&lt;br/&gt; &amp;lt;cfprocresult name = qOutResultSet&amp;gt;
&lt;br/&gt;&amp;lt;/cfstoredproc&amp;gt; 
&lt;br/&gt;
&lt;br/&gt;From what I've read, when using CFPROCRESULT the cursor gets
loaded into a result set. When this happens, does the cursor get
closed by Oracle or CF Server? I don't want to leave a bunch of
connections to the db open, as there is a finite amount and
eventually they will all be used and then my app will come to a
screeching halt.
&lt;br/&gt;
&lt;br/&gt;Any info anyone can provide will be greatly
appreciated.&lt;/div&gt;&lt;!-- [DocumentBodyEnd:47015fff-6331-4fa0-9fba-47ae095c79db] --&gt;</description>
      <pubDate>Thu, 19 Jun 2008 16:35:33 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/247523</guid>
      <dc:date>2008-06-19T16:35:33Z</dc:date>
      <clearspace:dateToText>6 years 5 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>javascript and dynamically named checkboxes</title>
      <link>https://forums.adobe.com/thread/80935</link>
      <description>&lt;!-- [DocumentBodyStart:83784e87-1344-4756-9abe-36957323fea6] --&gt;&lt;div class="jive-rendered-content"&gt;We have a page that has Select/Deselect All buttons to
check/uncheck all the checkboxes in the form. The checkboxes are
dynamically named:
&lt;br/&gt;
&lt;br/&gt;&amp;lt;cfoutput query="qHoldAdj"&amp;gt;
&lt;br/&gt; &amp;lt;cfinput type="checkbox"
name="select_#qHoldAdj.CURRENTROW#"&amp;gt;
&lt;br/&gt;&amp;lt;/cfoutput&amp;gt;
&lt;br/&gt;
&lt;br/&gt;There are also other field types in this form, so currently
this is the JS we have to select all the checkboxes:
&lt;br/&gt;
&lt;br/&gt; function selectAll()
&lt;br/&gt; {
&lt;br/&gt; var objForm=document.forms.validateAdj;
&lt;br/&gt; var m=objForm.length;
&lt;br/&gt; for (var i=0; i&amp;lt;m; i++){
&lt;br/&gt; var e=objForm.elements
&lt;i&gt;;&lt;/i&gt;
&lt;br/&gt; if (e.type=='checkbox' &amp;amp;&amp;amp; e.name!='approve'){
&lt;br/&gt; e.checked=true;
&lt;br/&gt; } 
&lt;br/&gt; }
&lt;br/&gt; }
&lt;br/&gt;
&lt;br/&gt;With 6 form fields per line, when we spit out over 100 rows a
page, firing off this JS freezes the page for a bit while it runs
through every single form field, decides if its a cb or not, then
checks it if it is. Ugh!
&lt;br/&gt;
&lt;br/&gt;What would be nice if we could reference the checkboxes by
name, eliminate 80% of the work per row. Problem is the names are
dynamic and referencing them in JS is a headache we haven't figured
out how to cure yet. 
&lt;br/&gt;
&lt;br/&gt;Anybody have an idea of how to do this...?&lt;/div&gt;&lt;!-- [DocumentBodyEnd:83784e87-1344-4756-9abe-36957323fea6] --&gt;</description>
      <pubDate>Thu, 14 Jun 2007 20:37:37 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/80935</guid>
      <dc:date>2007-06-14T20:37:37Z</dc:date>
      <clearspace:dateToText>7 years 5 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

