<?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=339" rel="self" type="application/rss+xml" />
<item>
<title><![CDATA[SELECT-Statements in Verbindung mit Maps]]></title>
<description><![CDATA[
<p>Wie man Maps verwenden kann, ist u.a. in der <a href="http://msdn.microsoft.com/en-us/library/ee330226.aspx" target="_blank" title="MSDN: How to use a Map in X++">MSDN</a> beschrieben, wie man allerdings Maps in Verbindung mit SELECT-Statements verwendet, steht auch dort nicht beschrieben.
</p>


<p>Deshalb im folgenden ein kurzes Beispiel unter Verwendung der Map <em>bankAccountMap</em>.
</p>


<pre class="pre_blog_axcode">
static void selectFromMap(Args _args)
{
    bankAccountMap     bankAccountMap;

    custBankAccount    custBankAccount;
    vendBankAccount    vendBankAccount;
    ;

    while select bankAccountMap
    {
        info(bankAccountMap.AccountNum);    // Does never occur
    }

    // select records from custBankAccount
    bankAccountMap = custBankAccount.data();
    while select bankAccountMap
    {
        info(bankAccountMap.AccountNum);
    }

    // select records from vendBankAccount
    bankAccountMap = vendBankAccount.data();
    while select bankAccountMap
    {
        info(bankAccountMap.AccountNum);
    }
}
</pre>]]></description>
<category>Microsoft Dynamics AX (Axapta)</category>
<pubDate>Wed, 09 Sep 2009 19:09:00 +0200</pubDate>
<link>https://www.schweda.net/blog_ax.php?bid=339</link>
<comments>https://www.schweda.net/blog_ax.php?bid=339</comments>
<guid isPermaLink="true">https://www.schweda.net/blog_ax.php?bid=339</guid>
<author>heinz.schweda@schweda.net (Heinz Schweda)</author>
<wfw:commentRss>https://www.schweda.net/blog_ax.php?bid=339</wfw:commentRss>
</item>
</channel>
</rss>	
