<?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: Checkboxes in Tabular Forms &#8211; The easy way!</title>
	<atom:link href="http://www.inside-oracle-apex.com/checkboxes-in-tabular-forms-the-easy-way/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.inside-oracle-apex.com/checkboxes-in-tabular-forms-the-easy-way/</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, 22 Mar 2010 11:38:29 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Bob</title>
		<link>http://www.inside-oracle-apex.com/checkboxes-in-tabular-forms-the-easy-way/comment-page-1/#comment-26001</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Wed, 17 Feb 2010 15:00:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.inside-oracle-apex.com/?p=683#comment-26001</guid>
		<description>Very nice. Thanks.  Just a suggestion; why not name the checkbox to the highest available array index (f50), then you&#039;ll only get in trouble if you use the maximum number of columns.</description>
		<content:encoded><![CDATA[<p>Very nice. Thanks.  Just a suggestion; why not name the checkbox to the highest available array index (f50), then you&#8217;ll only get in trouble if you use the maximum number of columns.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gaurav</title>
		<link>http://www.inside-oracle-apex.com/checkboxes-in-tabular-forms-the-easy-way/comment-page-1/#comment-25031</link>
		<dc:creator>Gaurav</dc:creator>
		<pubDate>Thu, 04 Feb 2010 22:08:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.inside-oracle-apex.com/?p=683#comment-25031</guid>
		<description>Hi Pat,

I am using the select query to create a tabular form

SELECT apex_item.hidden(49,ticket_no) &#124;&#124; APEX_ITEM.CHECKBOX(1,ticket_no,&#039;UNCHECKED&#039;)&quot;SELECT&quot; ,
t_no, impact,
APEX_ITEM.DATE_POPUP(4,rownum,assigned_time,&#039;DD-Mon-YYYY HH24:MI:SS AM&#039;) assigned_time......................

Now as u see ,i have set of check boxes at the left of the table and if users checks any check box and edits the APEX_ITEM.DATE_POPUP data,the changes are not happening if some other date is selected.

Eg: If the form loads with say 29-Jan-2010 15:40:53 PM and i want to change it to 31-Jan-2010 15:44:53 PM,the changes don&#039;t reflect as i choose some other date and time form the date picker.

My table stores the dates in a timestamp datatype and i want the timestamp in the date picker.

This works if i only use &#039;DD-Mon-YYYY&#039;,but i need the time portion too.

I have tried modifying the date format to different formats,but nothing worked as yet.

Pls advice.</description>
		<content:encoded><![CDATA[<p>Hi Pat,</p>
<p>I am using the select query to create a tabular form</p>
<p>SELECT apex_item.hidden(49,ticket_no) || APEX_ITEM.CHECKBOX(1,ticket_no,&#8217;UNCHECKED&#8217;)&#8221;SELECT&#8221; ,<br />
t_no, impact,<br />
APEX_ITEM.DATE_POPUP(4,rownum,assigned_time,&#8217;DD-Mon-YYYY HH24:MI:SS AM&#8217;) assigned_time&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.</p>
<p>Now as u see ,i have set of check boxes at the left of the table and if users checks any check box and edits the APEX_ITEM.DATE_POPUP data,the changes are not happening if some other date is selected.</p>
<p>Eg: If the form loads with say 29-Jan-2010 15:40:53 PM and i want to change it to 31-Jan-2010 15:44:53 PM,the changes don&#8217;t reflect as i choose some other date and time form the date picker.</p>
<p>My table stores the dates in a timestamp datatype and i want the timestamp in the date picker.</p>
<p>This works if i only use &#8216;DD-Mon-YYYY&#8217;,but i need the time portion too.</p>
<p>I have tried modifying the date format to different formats,but nothing worked as yet.</p>
<p>Pls advice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexandra Robin</title>
		<link>http://www.inside-oracle-apex.com/checkboxes-in-tabular-forms-the-easy-way/comment-page-1/#comment-23769</link>
		<dc:creator>Alexandra Robin</dc:creator>
		<pubDate>Thu, 21 Jan 2010 19:32:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.inside-oracle-apex.com/?p=683#comment-23769</guid>
		<description>I just recreated this and got this error.  Can anyone help this novice?

Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01722: invalid number, insert into...(my table and field names and array - b1, b2, etc...)</description>
		<content:encoded><![CDATA[<p>I just recreated this and got this error.  Can anyone help this novice?</p>
<p>Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01722: invalid number, insert into&#8230;(my table and field names and array &#8211; b1, b2, etc&#8230;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexandra Robin</title>
		<link>http://www.inside-oracle-apex.com/checkboxes-in-tabular-forms-the-easy-way/comment-page-1/#comment-23634</link>
		<dc:creator>Alexandra Robin</dc:creator>
		<pubDate>Tue, 19 Jan 2010 17:08:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.inside-oracle-apex.com/?p=683#comment-23634</guid>
		<description>Thanks!  This was exactly what I needed and was extremely easy to follow.</description>
		<content:encoded><![CDATA[<p>Thanks!  This was exactly what I needed and was extremely easy to follow.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Punam</title>
		<link>http://www.inside-oracle-apex.com/checkboxes-in-tabular-forms-the-easy-way/comment-page-1/#comment-20687</link>
		<dc:creator>Punam</dc:creator>
		<pubDate>Tue, 15 Dec 2009 13:24:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.inside-oracle-apex.com/?p=683#comment-20687</guid>
		<description>Hi,

I have one tabular form. I want to add browse button column in that form. I cannot add that field directly as tabular form is not supporting blob data. Is there any solution to add browse button column to tabular form and upload files?

I have added one NULL column for upload document. and used html expression



and written process to upload cv as:

BEGIN

FOR I IN 1..APEX_APPLICATION.G_F40.COUNT
LOOP
INSERT INTO document(doc_ID, doc_TYPE, LANGUAGE, doc_DATE, FILE_REF, MIME_TYPE, person_ID )
SELECT doc_SEQ.NEXTVAL,
1,
1,
SYSDATE,
BLOB_CONTENT,
MIME_TYPE,
APEX_APPLICATION.G_F02(I)
FROM WWV_FLOW_FILES WHERE NAME = APEX_APPLICATION.G_F40(I);

DELETE WWV_FLOW_FILES WHERE NAME = APEX_APPLICATION.G_F40(I);
END LOOP;
END;

but still it is not uploading file in the database.

can anyone help me &quot;What is the Problem with above code?&quot;

When we are creating file browse button then it creats

a class=&quot;eLink&quot; tabindex=&quot;999&quot; href=&quot;javascript:popupURL(&#039;f?p=4000:371:3494102961234719::::P371_ID,FB_FLOW_ID,FB_FLOW_PAGE_ID:1189512577311801,101,40&#039;);&quot; title=&quot;Edit&quot;&gt;

and one hidden field whose value equals to 1189512577311801 (it changes per item)

As I have created Null column for browse button it is not creating &lt;a&gt; as well as not creating hidden item.

That&#039;s why I am not getting file uploaded .... So is there any solution for this problem?.....Please help me on this .....</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have one tabular form. I want to add browse button column in that form. I cannot add that field directly as tabular form is not supporting blob data. Is there any solution to add browse button column to tabular form and upload files?</p>
<p>I have added one NULL column for upload document. and used html expression</p>
<p>and written process to upload cv as:</p>
<p>BEGIN</p>
<p>FOR I IN 1..APEX_APPLICATION.G_F40.COUNT<br />
LOOP<br />
INSERT INTO document(doc_ID, doc_TYPE, LANGUAGE, doc_DATE, FILE_REF, MIME_TYPE, person_ID )<br />
SELECT doc_SEQ.NEXTVAL,<br />
1,<br />
1,<br />
SYSDATE,<br />
BLOB_CONTENT,<br />
MIME_TYPE,<br />
APEX_APPLICATION.G_F02(I)<br />
FROM WWV_FLOW_FILES WHERE NAME = APEX_APPLICATION.G_F40(I);</p>
<p>DELETE WWV_FLOW_FILES WHERE NAME = APEX_APPLICATION.G_F40(I);<br />
END LOOP;<br />
END;</p>
<p>but still it is not uploading file in the database.</p>
<p>can anyone help me &#8220;What is the Problem with above code?&#8221;</p>
<p>When we are creating file browse button then it creats</p>
<p>a class=&#8221;eLink&#8221; tabindex=&#8221;999&#8243; href=&#8221;javascript:popupURL(&#8217;f?p=4000:371:3494102961234719::::P371_ID,FB_FLOW_ID,FB_FLOW_PAGE_ID:1189512577311801,101,40&#8242;);&#8221; title=&#8221;Edit&#8221;&gt;</p>
<p>and one hidden field whose value equals to 1189512577311801 (it changes per item)</p>
<p>As I have created Null column for browse button it is not creating <a> as well as not creating hidden item.</p>
<p>That&#8217;s why I am not getting file uploaded &#8230;. So is there any solution for this problem?&#8230;..Please help me on this &#8230;..</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.inside-oracle-apex.com/checkboxes-in-tabular-forms-the-easy-way/comment-page-1/#comment-14607</link>
		<dc:creator>David</dc:creator>
		<pubDate>Mon, 05 Oct 2009 18:33:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.inside-oracle-apex.com/?p=683#comment-14607</guid>
		<description>I found it!   Stupid security problem!</description>
		<content:encoded><![CDATA[<p>I found it!   Stupid security problem!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.inside-oracle-apex.com/checkboxes-in-tabular-forms-the-easy-way/comment-page-1/#comment-14603</link>
		<dc:creator>David</dc:creator>
		<pubDate>Mon, 05 Oct 2009 16:37:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.inside-oracle-apex.com/?p=683#comment-14603</guid>
		<description>I&#039;m new to APEX (and Oracle and SQL!).  I followed your example for the DEMO_USER&#039;s table and it works wonderfully but when I tried to port the concepts to an app that I&#039;m developing it fails to update!  I don&#039;t get any errors or any hint that anything is wrong, it just doesn&#039;t update the column.  

Here&#039;s my process
BEGIN
    FOR ii IN 1 .. APEX_APPLICATION.G_F14.COUNT
    LOOP
        APEX_APPLICATION.G_F14(ii) := &#039;No&#039;;
    END LOOP;
    FOR ii IN 1 .. APEX_APPLICATION.G_F40.COUNT
    LOOP
        APEX_APPLICATION.G_F14(APEX_APPLICATION.G_F40(ii)) := &#039;Yes&#039;;
    END LOOP;
END;

I&#039;ve checked and rechecked that APEX_APPLICATION.G_F14.COUNT is correct.  I&#039;ve run it in debug and here&#039;s its output

0.02: Session State: Save form items and p_arg_values
0.02: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
0.02: ...Process &quot;Process and Update ISSUES for Checkboxes&quot;: PLSQL (ON_SUBMIT_BEFORE_COMPUTATION) BEGIN FOR ii IN 1 .. APEX_APPLICATION.G_F14.COUNT LOOP APEX_APPLICATION.G_F14(ii) := &#039;No&#039;; END LOOP; FOR ii IN 1 .. APEX_APPLICATION.G_F40.COUNT LOOP APEX_APPLICATION.G_F14(APEX_APPLICATION.G_F40(ii)) := &#039;Yes&#039;; 
0.02: Branch point: BEFORE_COMPUTATION</description>
		<content:encoded><![CDATA[<p>I&#8217;m new to APEX (and Oracle and SQL!).  I followed your example for the DEMO_USER&#8217;s table and it works wonderfully but when I tried to port the concepts to an app that I&#8217;m developing it fails to update!  I don&#8217;t get any errors or any hint that anything is wrong, it just doesn&#8217;t update the column.  </p>
<p>Here&#8217;s my process<br />
BEGIN<br />
    FOR ii IN 1 .. APEX_APPLICATION.G_F14.COUNT<br />
    LOOP<br />
        APEX_APPLICATION.G_F14(ii) := &#8216;No&#8217;;<br />
    END LOOP;<br />
    FOR ii IN 1 .. APEX_APPLICATION.G_F40.COUNT<br />
    LOOP<br />
        APEX_APPLICATION.G_F14(APEX_APPLICATION.G_F40(ii)) := &#8216;Yes&#8217;;<br />
    END LOOP;<br />
END;</p>
<p>I&#8217;ve checked and rechecked that APEX_APPLICATION.G_F14.COUNT is correct.  I&#8217;ve run it in debug and here&#8217;s its output</p>
<p>0.02: Session State: Save form items and p_arg_values<br />
0.02: Processing point: ON_SUBMIT_BEFORE_COMPUTATION<br />
0.02: &#8230;Process &#8220;Process and Update ISSUES for Checkboxes&#8221;: PLSQL (ON_SUBMIT_BEFORE_COMPUTATION) BEGIN FOR ii IN 1 .. APEX_APPLICATION.G_F14.COUNT LOOP APEX_APPLICATION.G_F14(ii) := &#8216;No&#8217;; END LOOP; FOR ii IN 1 .. APEX_APPLICATION.G_F40.COUNT LOOP APEX_APPLICATION.G_F14(APEX_APPLICATION.G_F40(ii)) := &#8216;Yes&#8217;;<br />
0.02: Branch point: BEFORE_COMPUTATION</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill</title>
		<link>http://www.inside-oracle-apex.com/checkboxes-in-tabular-forms-the-easy-way/comment-page-1/#comment-14360</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Thu, 01 Oct 2009 00:27:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.inside-oracle-apex.com/?p=683#comment-14360</guid>
		<description>Step 5 is pure genius. i&#039;m impressed.  I&#039;ve been banging this for hours now on a table that has no keys.  What a challenge.  Thanks a ton.
Always learn something new .... and so clean - hardly any code.

I had to remove the apex_item.checkbox( p_idx=&gt;20, p_value=&gt; col ) 
from my code and just call the column as NULL in the query.
Then put the html in the HTML elements in the form attributes and voila works great.
Thanks a million.</description>
		<content:encoded><![CDATA[<p>Step 5 is pure genius. i&#8217;m impressed.  I&#8217;ve been banging this for hours now on a table that has no keys.  What a challenge.  Thanks a ton.<br />
Always learn something new &#8230;. and so clean &#8211; hardly any code.</p>
<p>I had to remove the apex_item.checkbox( p_idx=&gt;20, p_value=&gt; col )<br />
from my code and just call the column as NULL in the query.<br />
Then put the html in the HTML elements in the form attributes and voila works great.<br />
Thanks a million.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graceq</title>
		<link>http://www.inside-oracle-apex.com/checkboxes-in-tabular-forms-the-easy-way/comment-page-1/#comment-11033</link>
		<dc:creator>Graceq</dc:creator>
		<pubDate>Wed, 12 Aug 2009 21:45:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.inside-oracle-apex.com/?p=683#comment-11033</guid>
		<description>I still can&#039;t seem to get tis to work, the colum is showing as &#039;checked =checked&#039;. Help !</description>
		<content:encoded><![CDATA[<p>I still can&#8217;t seem to get tis to work, the colum is showing as &#8216;checked =checked&#8217;. Help !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Den</title>
		<link>http://www.inside-oracle-apex.com/checkboxes-in-tabular-forms-the-easy-way/comment-page-1/#comment-7134</link>
		<dc:creator>Den</dc:creator>
		<pubDate>Fri, 29 May 2009 17:10:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.inside-oracle-apex.com/?p=683#comment-7134</guid>
		<description>Checking a box and advancing to another page and then back loses the checked box.  Suggestions on how to preserve?</description>
		<content:encoded><![CDATA[<p>Checking a box and advancing to another page and then back loses the checked box.  Suggestions on how to preserve?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
