<?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[Wie diese SELECT implementieren?^]]></title><description><![CDATA[<p>Hallo,</p>
<p>wie kann ich diesen select mit ADO implementieren?</p>
<pre><code>SELECT *
FROM   tabMesswert
WHERE  DateValue([mw_zeit]) Between #1/1/2007# And #2/12/2007#
AND    Format([mw_zeit],&quot;hh:nn:ss&quot;) Between #8:0:0# And #20:0:0#;
</code></pre>
<p>habe es als SQL hinzugefügt, bekomme aber Fehler:<br />
&quot;Ein Parameterobjekt ist nicht ordnungsgemäß definiert&quot;</p>
<p>der select in Access selbsr funktioniert ohne probleme</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/173741/wie-diese-select-implementieren</link><generator>RSS for Node</generator><lastBuildDate>Fri, 14 Aug 2026 15:01:33 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/173741.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 19 Feb 2007 13:33:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Wie diese SELECT implementieren?^ on Mon, 19 Feb 2007 13:33:32 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>wie kann ich diesen select mit ADO implementieren?</p>
<pre><code>SELECT *
FROM   tabMesswert
WHERE  DateValue([mw_zeit]) Between #1/1/2007# And #2/12/2007#
AND    Format([mw_zeit],&quot;hh:nn:ss&quot;) Between #8:0:0# And #20:0:0#;
</code></pre>
<p>habe es als SQL hinzugefügt, bekomme aber Fehler:<br />
&quot;Ein Parameterobjekt ist nicht ordnungsgemäß definiert&quot;</p>
<p>der select in Access selbsr funktioniert ohne probleme</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1231193</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1231193</guid><dc:creator><![CDATA[SQLMIST]]></dc:creator><pubDate>Mon, 19 Feb 2007 13:33:32 GMT</pubDate></item><item><title><![CDATA[Reply to Wie diese SELECT implementieren?^ on Mon, 19 Feb 2007 13:43:50 GMT]]></title><description><![CDATA[<p>habe es so probiert:</p>
<pre><code class="language-cpp">String select = &quot;SELECT mw_Zeit, mw_KanalNummer, mw_Messwert FROM tabMesswert WHERE mw_KanalNummer = &quot;;
//Baue Select zusammen
select += ComboBox1-&gt;Text;
select += &quot; AND (DateValue([mw_zeit]) Between #&quot;;
select += realpicker;  //Datum im Format tt/mm/jjjj
select += &quot; AND &quot;;
select += &quot;#&quot;;
select += realpicker2; //Datum im Format tt/mm/jjjj
select += &quot;#&quot;;
select += &quot; AND Format([mw_zeit], \&quot;hh:nn:ss\&quot; Between #8:0:0# and #20:0:0#));&quot;;
</code></pre>
<p>Fehler:<br />
&quot;Fehlernder Operator in Abfrageausruck&quot;</p>
<p>ich weiß nicht mehr weiter!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1231205</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1231205</guid><dc:creator><![CDATA[SQLMIST]]></dc:creator><pubDate>Mon, 19 Feb 2007 13:43:50 GMT</pubDate></item><item><title><![CDATA[Reply to Wie diese SELECT implementieren?^ on Mon, 19 Feb 2007 13:55:04 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>der Vergleichswert hinter WHERE irgendwas=... muss glaub ich in (mindestens einfachen) Anführungszeichen stehen.</p>
<pre><code>String select = &quot;SELECT mw_Zeit, mw_KanalNummer, mw_Messwert FROM tabMesswert WHERE mw_KanalNummer = 1 AND (DateValue([mw_zeit]) Between #12.12.1212 AND #12.12.1414# AND Format([mw_zeit], \&quot;hh:nn:ss\&quot; Between #8:0:0# and #20:0:0#));&quot;; //deine Anweisung aufgelöst...
</code></pre>
<p>Da fehlt bei <em>Between #12.12.1212</em> die &quot;Ende-#&quot; und halt die Anführungsstriche bei <em>mw_KanalNummer=1</em></p>
<pre><code>select += &quot;'&quot; + ComboBox1-&gt;Text + &quot;'&quot;;
</code></pre>
<p>mfg, Micha!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1231209</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1231209</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Mon, 19 Feb 2007 13:55:04 GMT</pubDate></item></channel></rss>