<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Chandra Wijaya Blog &#187; dml_data_target_name</title>
	<atom:link href="http://chandrawijaya.com/tag/dml_data_target_name/feed" rel="self" type="application/rss+xml" />
	<link>http://chandrawijaya.com</link>
	<description>Gadgets talks, Food delicious, Photography tips, Naked Traveling, Celebrity Gossip, Lowongan Kerja</description>
	<lastBuildDate>Sun, 05 Sep 2010 14:08:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>FRM-40654 After Set Block Property of Query_Data_Source_Name</title>
		<link>http://chandrawijaya.com/frm-40654-after-set-block-property-of-query_data_source_name.html</link>
		<comments>http://chandrawijaya.com/frm-40654-after-set-block-property-of-query_data_source_name.html#comments</comments>
		<pubDate>Fri, 06 Nov 2009 13:29:07 +0000</pubDate>
		<dc:creator>Chandra Wijaya</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[dml_data_target_name]]></category>
		<category><![CDATA[FRM-40654]]></category>
		<category><![CDATA[query_data_source_name]]></category>

		<guid isPermaLink="false">http://chandrawijaya.com/?p=491</guid>
		<description><![CDATA[Have you ever got this error in your oracle form ? FRM-40654: Record has been updated by another user. Re-query to see. The case that i had was i changed the query of 1 database block dynamically use set_block_property(&#8216;BLOCK1&#8242;,Query_Data_Source_Name,&#8217;TABLE_X&#8217;). This BLOCK1 previously assign to TABLE_A. TABLE_X and TABLE_A has same fields structure. As summary, my [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever got this error in your oracle form ? <strong><a href="http://chandrawijaya.com/tag/frm-40654" class="st_tag internal_tag" rel="tag" title="Posts tagged with FRM-40654">FRM-40654</a>: Record has been updated by another user. Re-query to see.</strong> The case that i had was i changed the query of 1 database block dynamically use <strong>set_block_property(&#8216;BLOCK1&#8242;,<a href="http://chandrawijaya.com/tag/query_data_source_name" class="st_tag internal_tag" rel="tag" title="Posts tagged with query_data_source_name">Query_Data_Source_Name</a>,&#8217;TABLE_X&#8217;)</strong>. This BLOCK1 previously assign to TABLE_A. TABLE_X and TABLE_A has same fields structure.</p>
<div id="attachment_492" class="wp-caption aligncenter" style="width: 413px"><a href="http://chandrawijaya.com/wp-content/uploads/2009/11/FRM-40654-image.JPG"><img src="http://chandrawijaya.com/wp-content/uploads/2009/11/FRM-40654-image.JPG" alt="FRM-40654" title="FRM-40654 image" width="403" height="156" class="size-full wp-image-492" /></a><p class="wp-caption-text"><a href="http://chandrawijaya.com/tag/frm-40654" class="st_tag internal_tag" rel="tag" title="Posts tagged with FRM-40654">FRM-40654</a></p></div>
<p>As summary, my form blocks condition were like this :<br />
BLOCK1 =  TABLE_A<br />
use set_block_property on pre_query trigger to change the <a href="http://chandrawijaya.com/tag/query_data_source_name" class="st_tag internal_tag" rel="tag" title="Posts tagged with query_data_source_name">query_data_source_name</a> to TABLE_X.<br />
<span id="more-491"></span><br />
Everything looks fine when i load the form, but when i tried to change the field value, it gave me this form error <a href="http://chandrawijaya.com/tag/frm-40654" class="st_tag internal_tag" rel="tag" title="Posts tagged with FRM-40654">FRM-40654</a>. I <a href="http://www.google.com/#hl=en&#038;source=hp&#038;q=frm-40654&#038;aq=f&#038;aqi=g10&#038;oq=&#038;fp=642c18fb4411ca2e">search around in Google</a> and only can found several peoples face the same <a href="http://chandrawijaya.com/tag/frm-40654" class="st_tag internal_tag" rel="tag" title="Posts tagged with FRM-40654">frm-40654</a> but in different situation. </p>
<p>Some people said its because of the record has been lock somehow and need to released first. Its correct somehow, but not in my case here. After hassle try this and that for several hours&#8230; (really wasting time..) then EUREKA &#8230; need to set this property as well <strong><a href="http://chandrawijaya.com/tag/dml_data_target_name" class="st_tag internal_tag" rel="tag" title="Posts tagged with dml_data_target_name">dml_data_target_name</a></strong> in the pre-query trigger.</p>
<blockquote><p>set_block_property(&#8216;BLOCK1&#8242;,<a href="http://chandrawijaya.com/tag/dml_data_target_name" class="st_tag internal_tag" rel="tag" title="Posts tagged with dml_data_target_name">dml_data_target_name</a>,&#8217;TABLE_X&#8217;)</p></blockquote>
<p>I hope this can save most of your time rather than finding the causes by your self, might my experience help you reduce your hassle. <img src='http://chandrawijaya.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://chandrawijaya.com/frm-40654-after-set-block-property-of-query_data_source_name.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
