<?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[Spaltennamen aus einer ACCESS Tabelle auslesen]]></title><description><![CDATA[<p>Hi,<br />
ich möchte die Spaltennamen aus einer ACCESS Tabelle in einem Dropdown Listenfeld anzeigen. Habe dafür folgenden Code:</p>
<pre><code class="language-cpp">{
 AnsiString sql_query = &quot;SHOW COLUMNS FROM taPERSON ;&quot;;
 Query1-&gt;SQL-&gt;Clear() ;
 Query1-&gt;SQL-&gt;Add(sql_query) ;
 Query1-&gt;Open() ;
 Query1-&gt;FindFirst();

 ComboBox1-&gt;Clear();
 while(!Query1-&gt;Eof)
 {
  AnsiString result = Query1-&gt;Fields-&gt;Fields[0]-&gt;AsString;
  ComboBox1-&gt;Items-&gt;Add(result);
  Query1-&gt;Next() ;
 }
 Query1-&gt;Close() ;
}
</code></pre>
<p>Aber das funktioniert natürlich nicht, da Open den SQL (oder mySQL) Befehl SHOW nicht kennt. Hat jemand einen Tip?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/133204/spaltennamen-aus-einer-access-tabelle-auslesen</link><generator>RSS for Node</generator><lastBuildDate>Fri, 31 Jul 2026 15:42:27 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/133204.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 16 Jan 2006 08:24:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Spaltennamen aus einer ACCESS Tabelle auslesen on Mon, 16 Jan 2006 08:24:27 GMT]]></title><description><![CDATA[<p>Hi,<br />
ich möchte die Spaltennamen aus einer ACCESS Tabelle in einem Dropdown Listenfeld anzeigen. Habe dafür folgenden Code:</p>
<pre><code class="language-cpp">{
 AnsiString sql_query = &quot;SHOW COLUMNS FROM taPERSON ;&quot;;
 Query1-&gt;SQL-&gt;Clear() ;
 Query1-&gt;SQL-&gt;Add(sql_query) ;
 Query1-&gt;Open() ;
 Query1-&gt;FindFirst();

 ComboBox1-&gt;Clear();
 while(!Query1-&gt;Eof)
 {
  AnsiString result = Query1-&gt;Fields-&gt;Fields[0]-&gt;AsString;
  ComboBox1-&gt;Items-&gt;Add(result);
  Query1-&gt;Next() ;
 }
 Query1-&gt;Close() ;
}
</code></pre>
<p>Aber das funktioniert natürlich nicht, da Open den SQL (oder mySQL) Befehl SHOW nicht kennt. Hat jemand einen Tip?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/967693</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/967693</guid><dc:creator><![CDATA[Focu]]></dc:creator><pubDate>Mon, 16 Jan 2006 08:24:27 GMT</pubDate></item><item><title><![CDATA[Reply to Spaltennamen aus einer ACCESS Tabelle auslesen on Mon, 16 Jan 2006 08:41:53 GMT]]></title><description><![CDATA[<p>Hallo,<br />
welche Klassenbibliothek verwendest du?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/967706</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/967706</guid><dc:creator><![CDATA[HumeSikkins]]></dc:creator><pubDate>Mon, 16 Jan 2006 08:41:53 GMT</pubDate></item><item><title><![CDATA[Reply to Spaltennamen aus einer ACCESS Tabelle auslesen on Mon, 16 Jan 2006 09:00:37 GMT]]></title><description><![CDATA[<p>HumeSikkins schrieb:</p>
<blockquote>
<p>Hallo,<br />
welche Klassenbibliothek verwendest du?</p>
</blockquote>
<p>Kann ich dir so nicht sagen, wie kann ich das herausfinden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/967732</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/967732</guid><dc:creator><![CDATA[Focu]]></dc:creator><pubDate>Mon, 16 Jan 2006 09:00:37 GMT</pubDate></item><item><title><![CDATA[Reply to Spaltennamen aus einer ACCESS Tabelle auslesen on Mon, 16 Jan 2006 09:05:47 GMT]]></title><description><![CDATA[<p>na zum Beispiel die VCL (BOrland C++ Builder), oder MFC (Visual Studio von Microsoft)</p>
<p>Welche IDE verwendest du?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/967735</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/967735</guid><dc:creator><![CDATA[ser1al]]></dc:creator><pubDate>Mon, 16 Jan 2006 09:05:47 GMT</pubDate></item><item><title><![CDATA[Reply to Spaltennamen aus einer ACCESS Tabelle auslesen on Mon, 16 Jan 2006 09:15:19 GMT]]></title><description><![CDATA[<p>Ich verwende den BCB 5. Demnach wird es wohl die VCL sein.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/967747</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/967747</guid><dc:creator><![CDATA[Focu]]></dc:creator><pubDate>Mon, 16 Jan 2006 09:15:19 GMT</pubDate></item><item><title><![CDATA[Reply to Spaltennamen aus einer ACCESS Tabelle auslesen on Mon, 16 Jan 2006 09:23:28 GMT]]></title><description><![CDATA[<p>Focu schrieb:</p>
<blockquote>
<p>Ich verwende den BCB 5. Demnach wird es wohl die VCL sein.</p>
</blockquote>
<p>ja, und für den BCB gibt es hier ein spezielles Forum, da wirst du besser aufgehoben sein!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/967755</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/967755</guid><dc:creator><![CDATA[ser1al]]></dc:creator><pubDate>Mon, 16 Jan 2006 09:23:28 GMT</pubDate></item><item><title><![CDATA[Reply to Spaltennamen aus einer ACCESS Tabelle auslesen on Mon, 16 Jan 2006 14:03:07 GMT]]></title><description><![CDATA[<p>wär cool wenn ein mod mal den Thread entsprechend verschieben würde. Danke.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/968045</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/968045</guid><dc:creator><![CDATA[Focu]]></dc:creator><pubDate>Mon, 16 Jan 2006 14:03:07 GMT</pubDate></item><item><title><![CDATA[Reply to Spaltennamen aus einer ACCESS Tabelle auslesen on Tue, 17 Jan 2006 13:55:14 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile.php?mode=viewprofile&amp;u=403" rel="nofollow">HumeSikkins</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=15" rel="nofollow">C++</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum.php?f=2" rel="nofollow">VCL/CLX (Borland C++ Builder)</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic.php?t=39405" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/968915</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/968915</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Tue, 17 Jan 2006 13:55:14 GMT</pubDate></item></channel></rss>