<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="https://www.schweda.net/style_feed.css" ?>
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:atom="http://www.w3.org/2005/Atom"	
	xmlns:dc="http://purl.org/dc/elements/1.1/" > 
<channel>
    <title>schweda.net - Blog</title>
    <link>https://www.schweda.net/</link>
    <description>schweda.net - Blog - Blog-Beitraege</description>
    <language>de-at</language>
    <copyright>Copyright 2006-2026</copyright>
    <generator>schweda.net</generator>
    <managingEditor>heinz.schweda@schweda.net (Heinz Schweda)</managingEditor>
    <webMaster>heinz.schweda@schweda.net (Heinz Schweda)</webMaster>
    <category>Blog</category>
	<atom:link href="https://www.schweda.net/blog_rss.php?bid=251" rel="self" type="application/rss+xml" />
<item>
<title><![CDATA[Dynamics AX: Container Quicktipp]]></title>
<description><![CDATA[
<p>Container sind ja was feines, und aus diesem Grund verwende ich sie immer wieder gerne beim Programmieren unter Dynamics AX. Durch einen <a href="http://sysdictcoder.com/blog/dealing-with-containers/" target="_blank" title="SysDictCoder">Blog-Beitrag bei SysDictCoder</a> bin ich auf einen kleinen Trick gestossen, der mir in Zukunft etwas Tipp-Arbeit ersparen wird.
</p>


<p>Und zwar habe ich bisher Container immer &auml;hnlich wie im folgenden bef&uuml;llt:
</p>


<div class="div_blog_axcode"><span style="color:#0000ff">container </span>fieldCon = conNull();<br />
;<br />
fieldCon = conIns(fieldCon, conLen(fieldCon)+1, <span style="color:#ff0000">&quot;accountNum&quot;</span>);<br />
fieldCon = conIns(fieldCon, conLen(fieldCon)+1, <span style="color:#ff0000">&quot;name&quot;</span>);<br />
fieldCon = conIns(fieldCon, conLen(fieldCon)+1, <span style="color:#ff0000">&quot;zipcode&quot;</span>);<br />
fieldCon = conIns(fieldCon, conLen(fieldCon)+1, <span style="color:#ff0000">&quot;countryregionid&quot;</span>);<br />
fieldCon = conIns(fieldCon, conLen(fieldCon)+1, <span style="color:#ff0000">&quot;county&quot;</span>);
</div>


<p>Wesentlich rascher ist die folgende Schreibweise:
</p>


<div class="div_blog_axcode"><span style="color:#0000ff">container </span>fieldConFast = conNull();<br />
;<br />
fieldConFast += <span style="color:#ff0000">&quot;accountNum&quot;</span>;<br />
fieldConFast += <span style="color:#ff0000">&quot;name&quot;</span>;<br />
fieldConFast += <span style="color:#ff0000">&quot;zipcode&quot;</span>;<br />
fieldConFast += <span style="color:#ff0000">&quot;countryregionid&quot;</span>;<br />
fieldConFast += <span style="color:#ff0000">&quot;county&quot;</span>;
</div>


<p>SysDictCoder geht in seinem Artikel etwas mehr ins Detail, deshalb meine Empfehlung dort mal vorbeizuschauen.
</p>]]></description>
<category>Microsoft Dynamics AX (Axapta)</category>
<pubDate>Thu, 24 Jul 2008 17:01:00 +0200</pubDate>
<link>https://www.schweda.net/blog_ax.php?bid=251</link>
<comments>https://www.schweda.net/blog_ax.php?bid=251</comments>
<guid isPermaLink="true">https://www.schweda.net/blog_ax.php?bid=251</guid>
<author>heinz.schweda@schweda.net (Heinz Schweda)</author>
<wfw:commentRss>https://www.schweda.net/blog_ax.php?bid=251</wfw:commentRss>
</item>
</channel>
</rss>	
