<?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: Adding a Checkbox to Your Report &#8211; APEX_ITEM Tutorial</title>
	<atom:link href="http://www.apex-blog.com/oracle-apex/adding-a-checkbox-to-your-report-apex_item-tutorial-30.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.apex-blog.com/oracle-apex/adding-a-checkbox-to-your-report-apex_item-tutorial-30.html</link>
	<description>Everything you ever wanted to know about Oracle Application Express and Oracle XE. Possibly.</description>
	<lastBuildDate>Tue, 01 Jun 2010 15:19:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Sara Blair</title>
		<link>http://www.apex-blog.com/oracle-apex/adding-a-checkbox-to-your-report-apex_item-tutorial-30.html/comment-page-1#comment-8815</link>
		<dc:creator>Sara Blair</dc:creator>
		<pubDate>Wed, 21 Oct 2009 15:05:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.apex-blog.com/?p=30#comment-8815</guid>
		<description>Hi Jimmy

Yes this certainly possible. To have a checkbox as the heading you will need to set the heading to be the HTML code to display a checkbox, e.g. . This will replace the &#160; heading in the report attributes, and when the report is run will be converted to a checkbox.

The more complex part is adding the code to flag all the checkboxes to be ticked. You will need to write some JavaScript code for this and add it to the checkbox&#039;s onclick event. Unfortunately I haven&#039;t the time to write all the code now, but I will try to write a full blog post on this in the next few days. If you can&#039;t wait then I suggest looking at jQuery to help write the code required.

Regards
Sara</description>
		<content:encoded><![CDATA[<p>Hi Jimmy</p>
<p>Yes this certainly possible. To have a checkbox as the heading you will need to set the heading to be the HTML code to display a checkbox, e.g. . This will replace the &nbsp; heading in the report attributes, and when the report is run will be converted to a checkbox.</p>
<p>The more complex part is adding the code to flag all the checkboxes to be ticked. You will need to write some JavaScript code for this and add it to the checkbox&#8217;s onclick event. Unfortunately I haven&#8217;t the time to write all the code now, but I will try to write a full blog post on this in the next few days. If you can&#8217;t wait then I suggest looking at jQuery to help write the code required.</p>
<p>Regards<br />
Sara</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sara Blair</title>
		<link>http://www.apex-blog.com/oracle-apex/adding-a-checkbox-to-your-report-apex_item-tutorial-30.html/comment-page-1#comment-8814</link>
		<dc:creator>Sara Blair</dc:creator>
		<pubDate>Wed, 21 Oct 2009 14:49:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.apex-blog.com/?p=30#comment-8814</guid>
		<description>Hi VJ

You haven&#039;t said in what way it isn&#039;t working, so I&#039;ve assumed it&#039;s either displaying the html text rather than a checkbox or it&#039;s not displaying the column at all.

If you&#039;ve added this column, after creating an Interactive Report then when you run the report you will have to select that this column is displayed using the action menu.

If the report is displaying the column as HTML rather than a checkbox, then check your Interactive Report attributes and ensure that this column is set to display as &quot;Standard Report Column&quot;.

Hopefully this will resolve your problem.

Regards
Sara</description>
		<content:encoded><![CDATA[<p>Hi VJ</p>
<p>You haven&#8217;t said in what way it isn&#8217;t working, so I&#8217;ve assumed it&#8217;s either displaying the html text rather than a checkbox or it&#8217;s not displaying the column at all.</p>
<p>If you&#8217;ve added this column, after creating an Interactive Report then when you run the report you will have to select that this column is displayed using the action menu.</p>
<p>If the report is displaying the column as HTML rather than a checkbox, then check your Interactive Report attributes and ensure that this column is set to display as &#8220;Standard Report Column&#8221;.</p>
<p>Hopefully this will resolve your problem.</p>
<p>Regards<br />
Sara</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimmy</title>
		<link>http://www.apex-blog.com/oracle-apex/adding-a-checkbox-to-your-report-apex_item-tutorial-30.html/comment-page-1#comment-8804</link>
		<dc:creator>Jimmy</dc:creator>
		<pubDate>Tue, 20 Oct 2009 23:14:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.apex-blog.com/?p=30#comment-8804</guid>
		<description>This tutorial give a good example. In this case, the title for the check box column should be a space. But how can we make the column heading also as a check box and when we click the heading checkbox, all check boxes are checked. Thanks</description>
		<content:encoded><![CDATA[<p>This tutorial give a good example. In this case, the title for the check box column should be a space. But how can we make the column heading also as a check box and when we click the heading checkbox, all check boxes are checked. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: VJ</title>
		<link>http://www.apex-blog.com/oracle-apex/adding-a-checkbox-to-your-report-apex_item-tutorial-30.html/comment-page-1#comment-8368</link>
		<dc:creator>VJ</dc:creator>
		<pubDate>Wed, 23 Sep 2009 03:56:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.apex-blog.com/?p=30#comment-8368</guid>
		<description>Hi Sara,

The solution provided here is for sql report, but when I try this for the interactive report it&#039;s not working. Is there anyway I can have a checkbox column in an interactive report?

VJ</description>
		<content:encoded><![CDATA[<p>Hi Sara,</p>
<p>The solution provided here is for sql report, but when I try this for the interactive report it&#8217;s not working. Is there anyway I can have a checkbox column in an interactive report?</p>
<p>VJ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sara Blair</title>
		<link>http://www.apex-blog.com/oracle-apex/adding-a-checkbox-to-your-report-apex_item-tutorial-30.html/comment-page-1#comment-6973</link>
		<dc:creator>Sara Blair</dc:creator>
		<pubDate>Thu, 11 Jun 2009 20:10:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.apex-blog.com/?p=30#comment-6973</guid>
		<description>Hi Chris

As I&#039;m sure you&#039;re aware the checkbox value is only held in the apex_application array if the value is ticked. The easiest way I&#039;ve found is to set all the records in the select list to N then loop round those values in the array setting them to Y. Alternatively, you could check each record that is set to Y to see if it is in the array and if it isn&#039;t set it to N.

Unless you have functionality that fires from database triggers when the record is updated to N, I&#039;d go with the first option.

Hope this helps. If you find a better solution, I&#039;d be interested to hear it.

Regards
Sara</description>
		<content:encoded><![CDATA[<p>Hi Chris</p>
<p>As I&#8217;m sure you&#8217;re aware the checkbox value is only held in the apex_application array if the value is ticked. The easiest way I&#8217;ve found is to set all the records in the select list to N then loop round those values in the array setting them to Y. Alternatively, you could check each record that is set to Y to see if it is in the array and if it isn&#8217;t set it to N.</p>
<p>Unless you have functionality that fires from database triggers when the record is updated to N, I&#8217;d go with the first option.</p>
<p>Hope this helps. If you find a better solution, I&#8217;d be interested to hear it.</p>
<p>Regards<br />
Sara</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sherry</title>
		<link>http://www.apex-blog.com/oracle-apex/adding-a-checkbox-to-your-report-apex_item-tutorial-30.html/comment-page-1#comment-6968</link>
		<dc:creator>Sherry</dc:creator>
		<pubDate>Thu, 11 Jun 2009 13:43:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.apex-blog.com/?p=30#comment-6968</guid>
		<description>It is very helpful!</description>
		<content:encoded><![CDATA[<p>It is very helpful!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mohan</title>
		<link>http://www.apex-blog.com/oracle-apex/adding-a-checkbox-to-your-report-apex_item-tutorial-30.html/comment-page-1#comment-6869</link>
		<dc:creator>mohan</dc:creator>
		<pubDate>Sat, 06 Jun 2009 18:41:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.apex-blog.com/?p=30#comment-6869</guid>
		<description>hi sara,

the problem you understood is correct. Im having the same problem. after selecting few check boxes in one page, when go to next page and come back to previous page, the selected items in previous page appearing as unchecked. 
How to resolve this. can  u explain with detailed steps.

Mohan</description>
		<content:encoded><![CDATA[<p>hi sara,</p>
<p>the problem you understood is correct. Im having the same problem. after selecting few check boxes in one page, when go to next page and come back to previous page, the selected items in previous page appearing as unchecked.<br />
How to resolve this. can  u explain with detailed steps.</p>
<p>Mohan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Phillips</title>
		<link>http://www.apex-blog.com/oracle-apex/adding-a-checkbox-to-your-report-apex_item-tutorial-30.html/comment-page-1#comment-6856</link>
		<dc:creator>Chris Phillips</dc:creator>
		<pubDate>Fri, 05 Jun 2009 09:45:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.apex-blog.com/?p=30#comment-6856</guid>
		<description>Hi,
  The issue of preserving ticks is covered in :

http://joelkallman.blogspot.com/2008/03/preserving-checked-checkboxes-in-report.html

   My question about the example you give here is whether there is an easy way to &#039;untick&#039; the checkbox and make that update the column on the underlying table back from &#039;Y&#039; to &#039;N&#039;. I don&#039;t think so since the checkbox array is sparse, but am open to ideas.

Thanks,
Chris</description>
		<content:encoded><![CDATA[<p>Hi,<br />
  The issue of preserving ticks is covered in :</p>
<p><a href="http://joelkallman.blogspot.com/2008/03/preserving-checked-checkboxes-in-report.html" rel="nofollow">http://joelkallman.blogspot.com/2008/03/preserving-checked-checkboxes-in-report.html</a></p>
<p>   My question about the example you give here is whether there is an easy way to &#8216;untick&#8217; the checkbox and make that update the column on the underlying table back from &#8216;Y&#8217; to &#8216;N&#8217;. I don&#8217;t think so since the checkbox array is sparse, but am open to ideas.</p>
<p>Thanks,<br />
Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sara</title>
		<link>http://www.apex-blog.com/oracle-apex/adding-a-checkbox-to-your-report-apex_item-tutorial-30.html/comment-page-1#comment-3479</link>
		<dc:creator>Sara</dc:creator>
		<pubDate>Wed, 28 Jan 2009 13:29:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.apex-blog.com/?p=30#comment-3479</guid>
		<description>Hi Ravi

I&#039;m not sure I fully understand what you are doing. Are you saying that you make a selection then refresh the page or go to another page and you selection is lost? If so, the default value for apex_item is to be unchecked. You would need to tell it if you wanted it to be checked. So if you make a selection and go to the next page, you would need to remember your selection on the first page using apex_application and then use the values stored here to structure your query to have the selection checked.

I hope this answers your query, if you need further information please provide more specific details on what you are trying to achieve and I&#039;ll try my best.

Regards
Sara</description>
		<content:encoded><![CDATA[<p>Hi Ravi</p>
<p>I&#8217;m not sure I fully understand what you are doing. Are you saying that you make a selection then refresh the page or go to another page and you selection is lost? If so, the default value for apex_item is to be unchecked. You would need to tell it if you wanted it to be checked. So if you make a selection and go to the next page, you would need to remember your selection on the first page using apex_application and then use the values stored here to structure your query to have the selection checked.</p>
<p>I hope this answers your query, if you need further information please provide more specific details on what you are trying to achieve and I&#8217;ll try my best.</p>
<p>Regards<br />
Sara</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ravi</title>
		<link>http://www.apex-blog.com/oracle-apex/adding-a-checkbox-to-your-report-apex_item-tutorial-30.html/comment-page-1#comment-3478</link>
		<dc:creator>Ravi</dc:creator>
		<pubDate>Wed, 28 Jan 2009 12:50:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.apex-blog.com/?p=30#comment-3478</guid>
		<description>Thanks for such valuable information. 

But, I&#039;m facing problem, when we have selected from list of some values in report region and we go to next value of that report region then previous value become UNSELECTED. 

I&#039;m not getting how to get rid of this issue.

Can any one of you help me out.

Thanks &amp; Regards,
Ravi Goyal</description>
		<content:encoded><![CDATA[<p>Thanks for such valuable information. </p>
<p>But, I&#8217;m facing problem, when we have selected from list of some values in report region and we go to next value of that report region then previous value become UNSELECTED. </p>
<p>I&#8217;m not getting how to get rid of this issue.</p>
<p>Can any one of you help me out.</p>
<p>Thanks &amp; Regards,<br />
Ravi Goyal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bustiuci</title>
		<link>http://www.apex-blog.com/oracle-apex/adding-a-checkbox-to-your-report-apex_item-tutorial-30.html/comment-page-1#comment-561</link>
		<dc:creator>bustiuci</dc:creator>
		<pubDate>Fri, 18 Jul 2008 07:28:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.apex-blog.com/?p=30#comment-561</guid>
		<description>I&#039;m beginner in Oracle Application Express Platform.
 
This article was very, very useful for me to build a report with few columns which contain type of data coming to be edited using checkboxes.


Thank you.</description>
		<content:encoded><![CDATA[<p>I&#8217;m beginner in Oracle Application Express Platform.</p>
<p>This article was very, very useful for me to build a report with few columns which contain type of data coming to be edited using checkboxes.</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lwu</title>
		<link>http://www.apex-blog.com/oracle-apex/adding-a-checkbox-to-your-report-apex_item-tutorial-30.html/comment-page-1#comment-548</link>
		<dc:creator>lwu</dc:creator>
		<pubDate>Wed, 16 Jul 2008 21:01:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.apex-blog.com/?p=30#comment-548</guid>
		<description>This tutorial give a good example. In this case, the title for the check box column should be a space. But how can we make the column heading also as a check box and when we click the heading checkbox, all check boxes are checked. Thanks.</description>
		<content:encoded><![CDATA[<p>This tutorial give a good example. In this case, the title for the check box column should be a space. But how can we make the column heading also as a check box and when we click the heading checkbox, all check boxes are checked. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TM</title>
		<link>http://www.apex-blog.com/oracle-apex/adding-a-checkbox-to-your-report-apex_item-tutorial-30.html/comment-page-1#comment-483</link>
		<dc:creator>TM</dc:creator>
		<pubDate>Sat, 05 Jul 2008 13:51:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.apex-blog.com/?p=30#comment-483</guid>
		<description>Thanks for the info - nice work - this site provided not only the way to create(render) a page with apex_item BUT also the way to process the apex_item array after a page submit.  THANKS!</description>
		<content:encoded><![CDATA[<p>Thanks for the info &#8211; nice work &#8211; this site provided not only the way to create(render) a page with apex_item BUT also the way to process the apex_item array after a page submit.  THANKS!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
