<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Refresh caller form</title>
	<link>http://www.fourone.se/blog/2008/02/18/refresh-caller-form/</link>
	<description>Dynamics AX development blog</description>
	<pubDate>Thu, 09 Feb 2012 17:38:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Erik Paulsson</title>
		<link>http://www.fourone.se/blog/2008/02/18/refresh-caller-form/#comment-73</link>
		<dc:creator>Erik Paulsson</dc:creator>
		<pubDate>Tue, 19 Feb 2008 08:39:28 +0000</pubDate>
		<guid>http://www.fourone.se/blog/2008/02/18/refresh-caller-form/#comment-73</guid>
		<description>You are of course correct, I guess my example using a method that only refreshes the caller object might not have been the best one. But I think it's useful to know how to run methods on the caller object, whatever they might do, create, delete or refresh. It’s also useful to know how to differentiate between callers, in case the class, form or report may have different ones.

I like to looks of you blog by the way. I’m going to take a closer look when I get the time. Looks very ambitious and well structured.

I really don't know why the first part of my text is in bold text, it's not supposed to be, looks a bit like I'm yelling at you. :)

Thanks for your feedback, always appreciated!</description>
		<content:encoded><![CDATA[<p>You are of course correct, I guess my example using a method that only refreshes the caller object might not have been the best one. But I think it&#8217;s useful to know how to run methods on the caller object, whatever they might do, create, delete or refresh. It’s also useful to know how to differentiate between callers, in case the class, form or report may have different ones.</p>
<p>I like to looks of you blog by the way. I’m going to take a closer look when I get the time. Looks very ambitious and well structured.</p>
<p>I really don&#8217;t know why the first part of my text is in bold text, it&#8217;s not supposed to be, looks a bit like I&#8217;m yelling at you. <img src='http://www.fourone.se/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks for your feedback, always appreciated!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Björn</title>
		<link>http://www.fourone.se/blog/2008/02/18/refresh-caller-form/#comment-72</link>
		<dc:creator>Björn</dc:creator>
		<pubDate>Mon, 18 Feb 2008 19:03:42 +0000</pubDate>
		<guid>http://www.fourone.se/blog/2008/02/18/refresh-caller-form/#comment-72</guid>
		<description>Personally I prefer doing everything in the class like this:

if (args.record().isFormDataSource())
{
    args.record().dataSource().refresh();
}

That way all the code is in 1 object and you avoid reflection to check if a method exists.</description>
		<content:encoded><![CDATA[<p>Personally I prefer doing everything in the class like this:</p>
<p>if (args.record().isFormDataSource())<br />
{<br />
    args.record().dataSource().refresh();<br />
}</p>
<p>That way all the code is in 1 object and you avoid reflection to check if a method exists.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

