<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Accessing the row selector of a tabular form</title>
	<atom:link href="http://www.inside-oracle-apex.com/accessing-row-selector-of-tabular-form/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.inside-oracle-apex.com/accessing-row-selector-of-tabular-form/</link>
	<description>Inside Oracle APEX - a blog that helps to get more out of Oracle Application Express (APEX) for your daily development work!</description>
	<lastBuildDate>Mon, 19 Dec 2011 12:04:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Diana</title>
		<link>http://www.inside-oracle-apex.com/accessing-row-selector-of-tabular-form/comment-page-1/#comment-18127</link>
		<dc:creator>Diana</dc:creator>
		<pubDate>Tue, 17 Nov 2009 10:22:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.inside-oracle-apex.com/en/?p=32#comment-18127</guid>
		<description>Hi,

I run into not being able to process report regions with a condition.
I&#039;ve changed the init function a little from:
vProcess :=
              CASE rREG.CONDITION_TYPE
                WHEN &#039;ITEM_IS_NULL&#039;     THEN ApexLib_Util.getStringSessionValue(rREG.CONDITION_EXPRESSION1) IS NULL
                WHEN &#039;ITEM_IS_NOT_NULL&#039; THEN ApexLib_Util.getStringSessionValue(rREG.CONDITION_EXPRESSION1) IS NOT NULL
                ELSE                         FALSE
              END;
To 
             
             CASE
                WHEN rREG.CONDITION_TYPE = &#039;ITEM_IS_NULL&#039;     
                THEN ApexLib_Util.getStringSessionValue(rREG.CONDITION_EXPRESSION1) IS NULL
                
                WHEN rREG.CONDITION_TYPE = &#039;ITEM_IS_NOT_NULL&#039; 
                THEN ApexLib_Util.getStringSessionValue(rREG.CONDITION_EXPRESSION1) IS NOT NULL

    
                WHEN upper(rREG.CONDITION_TYPE) = &#039;VALUE OF ITEM IN EXPRESSION 1 = EXPRESSION 2&#039;
                THEN   nvl( ApexLib_Util.getStringSessionValue(rREG.CONDITION_EXPRESSION1), rREG.CONDITION_EXPRESSION1 ) 
                     = nvl( ApexLib_Util.getStringSessionValue(rREG.CONDITION_EXPRESSION2), rREG.CONDITION_EXPRESSION2 ) 
                
                WHEN upper(rREG.CONDITION_TYPE) = &#039;VALUE OF ITEM IN EXPRESSION 1 != EXPRESSION 2&#039;
                THEN    nvl( ApexLib_Util.getStringSessionValue(rREG.CONDITION_EXPRESSION1), rREG.CONDITION_EXPRESSION1 ) 
                     != nvl( ApexLib_Util.getStringSessionValue(rREG.CONDITION_EXPRESSION2), rREG.CONDITION_EXPRESSION2 ) 
                
                ELSE FALSE 
              END; 

to be able to process regions with a &#039;value of item in expression 1 = expression 2&#039; or &#039;value of item in expression 1 != expression 2&#039; condition.

Maybe usefull to someone :)

Greetz,
Diana</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I run into not being able to process report regions with a condition.<br />
I&#8217;ve changed the init function a little from:<br />
vProcess :=<br />
              CASE rREG.CONDITION_TYPE<br />
                WHEN &#8216;ITEM_IS_NULL&#8217;     THEN ApexLib_Util.getStringSessionValue(rREG.CONDITION_EXPRESSION1) IS NULL<br />
                WHEN &#8216;ITEM_IS_NOT_NULL&#8217; THEN ApexLib_Util.getStringSessionValue(rREG.CONDITION_EXPRESSION1) IS NOT NULL<br />
                ELSE                         FALSE<br />
              END;<br />
To </p>
<p>             CASE<br />
                WHEN rREG.CONDITION_TYPE = &#8216;ITEM_IS_NULL&#8217;<br />
                THEN ApexLib_Util.getStringSessionValue(rREG.CONDITION_EXPRESSION1) IS NULL</p>
<p>                WHEN rREG.CONDITION_TYPE = &#8216;ITEM_IS_NOT_NULL&#8217;<br />
                THEN ApexLib_Util.getStringSessionValue(rREG.CONDITION_EXPRESSION1) IS NOT NULL</p>
<p>                WHEN upper(rREG.CONDITION_TYPE) = &#8216;VALUE OF ITEM IN EXPRESSION 1 = EXPRESSION 2&#8242;<br />
                THEN   nvl( ApexLib_Util.getStringSessionValue(rREG.CONDITION_EXPRESSION1), rREG.CONDITION_EXPRESSION1 )<br />
                     = nvl( ApexLib_Util.getStringSessionValue(rREG.CONDITION_EXPRESSION2), rREG.CONDITION_EXPRESSION2 ) </p>
<p>                WHEN upper(rREG.CONDITION_TYPE) = &#8216;VALUE OF ITEM IN EXPRESSION 1 != EXPRESSION 2&#8242;<br />
                THEN    nvl( ApexLib_Util.getStringSessionValue(rREG.CONDITION_EXPRESSION1), rREG.CONDITION_EXPRESSION1 )<br />
                     != nvl( ApexLib_Util.getStringSessionValue(rREG.CONDITION_EXPRESSION2), rREG.CONDITION_EXPRESSION2 ) </p>
<p>                ELSE FALSE<br />
              END; </p>
<p>to be able to process regions with a &#8216;value of item in expression 1 = expression 2&#8242; or &#8216;value of item in expression 1 != expression 2&#8242; condition.</p>
<p>Maybe usefull to someone <img src='http://www.inside-oracle-apex.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Greetz,<br />
Diana</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justis</title>
		<link>http://www.inside-oracle-apex.com/accessing-row-selector-of-tabular-form/comment-page-1/#comment-15711</link>
		<dc:creator>Justis</dc:creator>
		<pubDate>Fri, 23 Oct 2009 07:00:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.inside-oracle-apex.com/en/?p=32#comment-15711</guid>
		<description>Is there a way to do what Junald mentions?  I&#039;d like to be able to have the [row selector] checkbox checked based on the value of another column in the report.  This would be for display when the page first loads, not after submit.</description>
		<content:encoded><![CDATA[<p>Is there a way to do what Junald mentions?  I&#8217;d like to be able to have the [row selector] checkbox checked based on the value of another column in the report.  This would be for display when the page first loads, not after submit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Junaid</title>
		<link>http://www.inside-oracle-apex.com/accessing-row-selector-of-tabular-form/comment-page-1/#comment-5463</link>
		<dc:creator>Junaid</dc:creator>
		<pubDate>Tue, 05 May 2009 05:42:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.inside-oracle-apex.com/en/?p=32#comment-5463</guid>
		<description>Hi Patrick.

Can I mark &#039;CHECKED&#039; Row Selector Checkboxes according to a field value ?
e.g. if i have a Boolean field &#039;AdminAccess&#039;, Currently i am displaying its value in another Check box. I want RowSelector Check box to display Checked/Unchecked as to display &#039;AdminAccess&#039; value

Thanks
junaid</description>
		<content:encoded><![CDATA[<p>Hi Patrick.</p>
<p>Can I mark &#8216;CHECKED&#8217; Row Selector Checkboxes according to a field value ?<br />
e.g. if i have a Boolean field &#8216;AdminAccess&#8217;, Currently i am displaying its value in another Check box. I want RowSelector Check box to display Checked/Unchecked as to display &#8216;AdminAccess&#8217; value</p>
<p>Thanks<br />
junaid</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Wolf</title>
		<link>http://www.inside-oracle-apex.com/accessing-row-selector-of-tabular-form/comment-page-1/#comment-783</link>
		<dc:creator>Patrick Wolf</dc:creator>
		<pubDate>Thu, 11 Jan 2007 08:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.inside-oracle-apex.com/en/?p=32#comment-783</guid>
		<description>Hi Mike,&lt;br /&gt;&lt;br /&gt;thanks! I have corrected the example.&lt;br /&gt;&lt;br /&gt;The package will work for an updateable report where the primary key is hidden, because the APEX row selector doesn&#039;t store the primary key as checked value, it just stores the record position (1-9999) on the screen. So when you loop through the records from 1 .. ApexLib_TabForm.getRowCount the ApexLib_TabForm.isRowSelectorChecked(ii) function will just check if the row selector is checked for the passed record number (ii). No PK, ... involved in that.&lt;br /&gt;&lt;br /&gt;Hope that helps you&lt;br /&gt;Patrick</description>
		<content:encoded><![CDATA[<p>Hi Mike,</p>
<p>thanks! I have corrected the example.</p>
<p>The package will work for an updateable report where the primary key is hidden, because the APEX row selector doesn&#8217;t store the primary key as checked value, it just stores the record position (1-9999) on the screen. So when you loop through the records from 1 .. ApexLib_TabForm.getRowCount the ApexLib_TabForm.isRowSelectorChecked(ii) function will just check if the row selector is checked for the passed record number (ii). No PK, &#8230; involved in that.</p>
<p>Hope that helps you<br />Patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.inside-oracle-apex.com/accessing-row-selector-of-tabular-form/comment-page-1/#comment-782</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 11 Jan 2007 04:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.inside-oracle-apex.com/en/?p=32#comment-782</guid>
		<description>should your example read:&lt;br /&gt;&lt;br /&gt;pEmpNo    =&gt; ApexLib_TabForm.NV(&#039;EMPNO&#039;,ii);&lt;br /&gt;Wrong Number of Variables in 0.16&lt;br /&gt;&lt;br /&gt;Also does this package work also for row selctor in reports (Updatable SQL) where the primary key is hidden with no refernce to the underlying schema, table, and column?&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Mike</description>
		<content:encoded><![CDATA[<p>should your example read:</p>
<p>pEmpNo    => ApexLib_TabForm.NV(&#8216;EMPNO&#8217;,ii);<br />Wrong Number of Variables in 0.16</p>
<p>Also does this package work also for row selctor in reports (Updatable SQL) where the primary key is hidden with no refernce to the underlying schema, table, and column?</p>
<p>Regards,</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sandeep</title>
		<link>http://www.inside-oracle-apex.com/accessing-row-selector-of-tabular-form/comment-page-1/#comment-781</link>
		<dc:creator>Sandeep</dc:creator>
		<pubDate>Mon, 18 Dec 2006 13:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.inside-oracle-apex.com/en/?p=32#comment-781</guid>
		<description>Hi Patrik&lt;br /&gt;We have a problem with master detail forms using APEX.&lt;br /&gt;In our master form, we have txn_id as primary key &amp; the detail table is having (txn_id,sub_txn_id) as primary key.If i use the wizard &amp; create master detail, it doesn&#039;t work as expected.Both the P.K.s are sequence generated. The trouble seems to be with the restrictions of PK using master detail. Do you have any idea which can be helpful.</description>
		<content:encoded><![CDATA[<p>Hi Patrik<br />We have a problem with master detail forms using APEX.<br />In our master form, we have txn_id as primary key &#038; the detail table is having (txn_id,sub_txn_id) as primary key.If i use the wizard &#038; create master detail, it doesn&#8217;t work as expected.Both the P.K.s are sequence generated. The trouble seems to be with the restrictions of PK using master detail. Do you have any idea which can be helpful.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

