<?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[SQL Abfrage Problem... MFC DAO]]></title><description><![CDATA[<p>folgender Code</p>
<pre><code class="language-cpp">CMyRecordSet rsParam(db.getRecordSet(&quot;SELECT T_Processe_Parameter.Dauer, T_Parameter.FlagCodeBit FROM (T_Prozesse INNER JOIN T_Processe_Parameter ON T_Prozesse.Prozess = T_Processe_Parameter.Process) INNER JOIN T_Parameter ON T_Processe_Parameter.Parameter = T_Parameter.Parameter WHERE (((T_Prozesse.Prozess)='+ oModul.strName + '))&quot;));
</code></pre>
<p>wenn ich die selber Abfrage in meine Access Datenbank ausführe werden Datensätze gefunden.. ich bekomm die Fehlermeldun &quot;Kein Datensatz&quot;</p>
<p>und der PArameter oModul.strName ist auch in ordnung!!! ??</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/167241/sql-abfrage-problem-mfc-dao</link><generator>RSS for Node</generator><lastBuildDate>Sat, 02 May 2026 03:16:07 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/167241.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 08 Dec 2006 09:16:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SQL Abfrage Problem... MFC DAO on Fri, 08 Dec 2006 09:17:31 GMT]]></title><description><![CDATA[<p>folgender Code</p>
<pre><code class="language-cpp">CMyRecordSet rsParam(db.getRecordSet(&quot;SELECT T_Processe_Parameter.Dauer, T_Parameter.FlagCodeBit FROM (T_Prozesse INNER JOIN T_Processe_Parameter ON T_Prozesse.Prozess = T_Processe_Parameter.Process) INNER JOIN T_Parameter ON T_Processe_Parameter.Parameter = T_Parameter.Parameter WHERE (((T_Prozesse.Prozess)='+ oModul.strName + '))&quot;));
</code></pre>
<p>wenn ich die selber Abfrage in meine Access Datenbank ausführe werden Datensätze gefunden.. ich bekomm die Fehlermeldun &quot;Kein Datensatz&quot;</p>
<p>und der PArameter oModul.strName ist auch in ordnung!!! ??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1188809</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1188809</guid><dc:creator><![CDATA[BorisDieKlinge]]></dc:creator><pubDate>Fri, 08 Dec 2006 09:17:31 GMT</pubDate></item><item><title><![CDATA[Reply to SQL Abfrage Problem... MFC DAO on Fri, 08 Dec 2006 09:21:29 GMT]]></title><description><![CDATA[<p>Du mußt deine Variable außerhalb der String-Begrenzungen setzen, sonst erkennt der Compiler nicht, daß es sich um eine Variable handeln soll:</p>
<pre><code class="language-cpp">CMyRecordSet rsParam(db.getRecordSet(&quot;SELECT T_Processe_Parameter.Dauer, T_Parameter.FlagCodeBit FROM (T_Prozesse INNER JOIN T_Processe_Parameter ON T_Prozesse.Prozess = T_Processe_Parameter.Process) INNER JOIN T_Parameter ON T_Processe_Parameter.Parameter = T_Parameter.Parameter WHERE (((T_Prozesse.Prozess)='&quot;+ oModul.strName + &quot;'))&quot;));
</code></pre>
<p>Aktuell suchst du nicht nach dem Datensatz, dessen Name in oModul.strName steht, sondern nach dem Datensatz mit dem Namen &quot;+ oModul.strName +&quot;.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1188813</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1188813</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Fri, 08 Dec 2006 09:21:29 GMT</pubDate></item><item><title><![CDATA[Reply to SQL Abfrage Problem... MFC DAO on Fri, 08 Dec 2006 09:22:43 GMT]]></title><description><![CDATA[<p>oohh man... bin ich blöd.. stimmt... THX</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1188815</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1188815</guid><dc:creator><![CDATA[BorisDieKlinge]]></dc:creator><pubDate>Fri, 08 Dec 2006 09:22:43 GMT</pubDate></item></channel></rss>