<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Tabelle in Textdatei speichern? (war: noch eine frage)]]></title><description><![CDATA[<p>weiss jemand wie man eine tabelle in eine txt datei speichert??</p>
<p>z.B<br />
pos1,artikel,menge,beschreibung,pos2,artikel,menge,beschreibung</p>
<p><strong>Edit:</strong><br />
Bitte aussagekräftige Überschriften wählen. Danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/49661/tabelle-in-textdatei-speichern-war-noch-eine-frage</link><generator>RSS for Node</generator><lastBuildDate>Mon, 14 Sep 2026 23:48:46 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/49661.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 22 Sep 2003 11:20:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Tabelle in Textdatei speichern? (war: noch eine frage) on Mon, 22 Sep 2003 11:23:53 GMT]]></title><description><![CDATA[<p>weiss jemand wie man eine tabelle in eine txt datei speichert??</p>
<p>z.B<br />
pos1,artikel,menge,beschreibung,pos2,artikel,menge,beschreibung</p>
<p><strong>Edit:</strong><br />
Bitte aussagekräftige Überschriften wählen. Danke!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/358112</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/358112</guid><dc:creator><![CDATA[lisa]]></dc:creator><pubDate>Mon, 22 Sep 2003 11:23:53 GMT</pubDate></item><item><title><![CDATA[Reply to Tabelle in Textdatei speichern? (war: noch eine frage) on Mon, 22 Sep 2003 15:51:13 GMT]]></title><description><![CDATA[<p>naja du könntest über alle datensätze der tabelle iterieren und den inhalt in eine textdatei schreiben, wobei du jedes feld durch Semikolon oder ein anderes eindeutiges zeichen trennst.</p>
<p>eignen tut sich da <strong>sprintf</strong></p>
<pre><code class="language-cpp">AnsiString OutPut = &quot;&quot;;

OutPut.sprintf(&quot;%s;%s;%s&quot;, 
               TabelleXYZ-&gt;FieldByName(&quot;pos1&quot;)-&gt;AsString,
               TabelleXYZ-&gt;FieldByName(&quot;artikel&quot;)-&gt;AsString,
               TabelleXYZ-&gt;FieldByName(&quot;menge&quot;)-&gt;AsString);

// -&gt; ergibt zum beispiel...
// OutPut = &quot;1;hosen;5&quot;;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/358277</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/358277</guid><dc:creator><![CDATA[Sunday]]></dc:creator><pubDate>Mon, 22 Sep 2003 15:51:13 GMT</pubDate></item></channel></rss>