<?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[Anfänger-Fehler DB-Verknüpfung]]></title><description><![CDATA[<p>Vielleicht bin ich einfach nur zu dumm, aber ich (als leicht fortgeschrittener Anfänger mit Visual C++) bringe es nicht hin, aus einer Access-DB einen Wert aus einem Zeichenfeld mit fester Satzlänge auszulesen und in einem Control anzuzeigen. Meine einschlägige Literatur versagt hier leider genau so wie ich. Hat jemand einen Tip (Code oder passendes Buch)?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/166730/anfänger-fehler-db-verknüpfung</link><generator>RSS for Node</generator><lastBuildDate>Fri, 01 May 2026 23:56:28 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/166730.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 02 Dec 2006 06:47:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Anfänger-Fehler DB-Verknüpfung on Sat, 02 Dec 2006 06:47:20 GMT]]></title><description><![CDATA[<p>Vielleicht bin ich einfach nur zu dumm, aber ich (als leicht fortgeschrittener Anfänger mit Visual C++) bringe es nicht hin, aus einer Access-DB einen Wert aus einem Zeichenfeld mit fester Satzlänge auszulesen und in einem Control anzuzeigen. Meine einschlägige Literatur versagt hier leider genau so wie ich. Hat jemand einen Tip (Code oder passendes Buch)?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1185640</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1185640</guid><dc:creator><![CDATA[toshu]]></dc:creator><pubDate>Sat, 02 Dec 2006 06:47:20 GMT</pubDate></item><item><title><![CDATA[Reply to Anfänger-Fehler DB-Verknüpfung on Sat, 02 Dec 2006 10:18:36 GMT]]></title><description><![CDATA[<p>ein e-buch hätte ich bzw die links dorthin<br />
<a href="http://www.hki.uni-koeln.de/teach/ss06/PS_C++/tag23/21/index.html" rel="nofollow">Visual C++ 6 in 21 Tagen</a> dort das kapitel <a href="http://www.hki.uni-koeln.de/teach/ss06/PS_C++/tag23/21/kap14.htm" rel="nofollow">Tag 14 Daten aus ODBC- Datenbanken abrufen</a> oder <a href="http://www.henkessoft.de/" rel="nofollow">HenkesSoft3000 C++ Dr. Erhard Henkes</a>dort unter <a href="http://www.henkessoft.de/C++/MFC/MFC%20Tutorials.htm" rel="nofollow">Kapitel 1-18 MFC-Tutorials (Tool: MS VC++ 6)</a> Kapitel <a href="http://www.henkessoft.de/C++/MFC/mfc_einsteigerbuch_kapitel12.htm" rel="nofollow">12. Datenbanken</a> hoffe das hilft weiter</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1185682</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1185682</guid><dc:creator><![CDATA[LowFly]]></dc:creator><pubDate>Sat, 02 Dec 2006 10:18:36 GMT</pubDate></item><item><title><![CDATA[Reply to Anfänger-Fehler DB-Verknüpfung on Sat, 02 Dec 2006 10:48:14 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">Mal kurz gefrimelt (nicht ODBC):

//Datenbank öffnen
CDaoDatabase *MyDBDAO = new CDaoDatabase(); 
MyDBDAO-&gt;Open(&quot;C:\\DB.db&quot;);

//Recorder Set laden (SQL abfrage)
CDaoRecordset *pData= new CDaoRecordset(MyDBDAO);
CString SQL str=&quot;SELECT * FRROM Tabelle&quot;
pData-&gt;Open(dbOpenDynaset,SQL,dbConsistent);

//Datensatze druchlaufen

while(pData-&gt;IsEOF){

   COleVariant v;
   CString str;
   /* reperisco il campo */
   pData-&gt;GetFieldValue(&quot;Spalte&quot;, v );
   str.Format(&quot;%d&quot;,v.iVal);
   //in str steht nun der inhalt des feldes!!!

   pData-&gt; MoveNext();
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1185694</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1185694</guid><dc:creator><![CDATA[BorisDieKlinge]]></dc:creator><pubDate>Sat, 02 Dec 2006 10:48:14 GMT</pubDate></item><item><title><![CDATA[Reply to Anfänger-Fehler DB-Verknüpfung on Sat, 02 Dec 2006 10:57:39 GMT]]></title><description><![CDATA[<blockquote>
<p>reperisco il campo</p>
</blockquote>
<p>*kopfkratz* bist du italianer</p>
<p>pass blos auf das das MFK nicht sieht <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /> code-klo usw...</p>
<pre><code>CString SQL str=\\\&quot;SELECT * FRROM Tabelle\\\&quot;[b];[/b]
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1185699</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1185699</guid><dc:creator><![CDATA[LowFly]]></dc:creator><pubDate>Sat, 02 Dec 2006 10:57:39 GMT</pubDate></item><item><title><![CDATA[Reply to Anfänger-Fehler DB-Verknüpfung on Sat, 02 Dec 2006 11:09:28 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/13742">@BorisDieKlinge</a>: DAO ist schon lange tot und mit VS2005 deprectated ==&gt; es wird nicht mehr im nächsten VS drin sein... auch gibt es kein DAO für x64/IA64...</p>
<p>=&gt; ADO oder ODBC...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1185708</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1185708</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Sat, 02 Dec 2006 11:09:28 GMT</pubDate></item><item><title><![CDATA[Reply to Anfänger-Fehler DB-Verknüpfung on Sat, 02 Dec 2006 11:12:59 GMT]]></title><description><![CDATA[<p>stimmt.. aber vll. reicht ihm das <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1185715</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1185715</guid><dc:creator><![CDATA[BorisDieKlinge]]></dc:creator><pubDate>Sat, 02 Dec 2006 11:12:59 GMT</pubDate></item><item><title><![CDATA[Reply to Anfänger-Fehler DB-Verknüpfung on Sat, 02 Dec 2006 12:32:30 GMT]]></title><description><![CDATA[<p>Noch mehr zu lesen: <a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-164417.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-164417.html</a> :xmas1:</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1185771</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1185771</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Sat, 02 Dec 2006 12:32:30 GMT</pubDate></item></channel></rss>