<?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[Problemchen mit Datum]]></title><description><![CDATA[<p>habe ein textfeld angelegt aus dem ein datum ausgelesen werden soll.<br />
das eingabe format tt.mm.jjjj....er schreibt mir aber zurück dass das format irgendwie falsch werde wenn ich das so ins textfeld schreibe.</p>
<p>bitte wo ist der fehler???</p>
<pre><code>mandantenNummer = txt_Mandantennummer-&gt;Text;
                date = StrToDate(txt_von-&gt;Text);
                date_last = StrToDate(txt_bis-&gt;Text);
                DataSource1-&gt;DataSet = Query2;
                Query2-&gt;Close();
                Query2-&gt;SQL-&gt;Clear();
                Query2-&gt;SQL-&gt;Add(&quot;select sum(km0005) as ergebnis from lobu.kst_monatswerte where ma0000 =:mandantenNummer &quot;);
                Query2-&gt;ParamByName(&quot;mandantenNummer&quot;)-&gt;AsString = mandantenNummer;
                Query2-&gt;ParamByName(&quot;date&quot;)-&gt;AsString = date;
                Query2-&gt;ParamByName(&quot;date_last&quot;)-&gt;AsString = date_last;
                Query2-&gt;Open();
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/155263/problemchen-mit-datum</link><generator>RSS for Node</generator><lastBuildDate>Sun, 09 Aug 2026 18:45:50 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/155263.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 04 Aug 2006 06:53:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problemchen mit Datum on Fri, 04 Aug 2006 06:53:07 GMT]]></title><description><![CDATA[<p>habe ein textfeld angelegt aus dem ein datum ausgelesen werden soll.<br />
das eingabe format tt.mm.jjjj....er schreibt mir aber zurück dass das format irgendwie falsch werde wenn ich das so ins textfeld schreibe.</p>
<p>bitte wo ist der fehler???</p>
<pre><code>mandantenNummer = txt_Mandantennummer-&gt;Text;
                date = StrToDate(txt_von-&gt;Text);
                date_last = StrToDate(txt_bis-&gt;Text);
                DataSource1-&gt;DataSet = Query2;
                Query2-&gt;Close();
                Query2-&gt;SQL-&gt;Clear();
                Query2-&gt;SQL-&gt;Add(&quot;select sum(km0005) as ergebnis from lobu.kst_monatswerte where ma0000 =:mandantenNummer &quot;);
                Query2-&gt;ParamByName(&quot;mandantenNummer&quot;)-&gt;AsString = mandantenNummer;
                Query2-&gt;ParamByName(&quot;date&quot;)-&gt;AsString = date;
                Query2-&gt;ParamByName(&quot;date_last&quot;)-&gt;AsString = date_last;
                Query2-&gt;Open();
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1110297</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1110297</guid><dc:creator><![CDATA[n00b_imp]]></dc:creator><pubDate>Fri, 04 Aug 2006 06:53:07 GMT</pubDate></item><item><title><![CDATA[Reply to Problemchen mit Datum on Fri, 04 Aug 2006 07:01:48 GMT]]></title><description><![CDATA[<p>Zum einen sehe ich im SQL-Select kein Datumsfeld und zum anderen, wieso übergibst Du einen Datumswert als String?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1110299</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1110299</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Fri, 04 Aug 2006 07:01:48 GMT</pubDate></item><item><title><![CDATA[Reply to Problemchen mit Datum on Fri, 04 Aug 2006 07:11:51 GMT]]></title><description><![CDATA[<p>zum ersten teil...da haste recht!</p>
<p>sieht dann so aus:</p>
<pre><code>select sum(km0005) as ergebnis from lobu.kst_monatswerte where ma0000 =:mandantenNummer and km0003=:date
</code></pre>
<p>zum zweiten:</p>
<p>was ich möchte ist das txt feld auslesen und in das sql query übergeben...</p>
<p>sag mir bitte wie ich das richtig mache <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
<p>....ich caste doch den string aus dem txt feld in date oder nicht???</p>
<pre><code>date = StrToDate(txt_von-&gt;Text);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1110303</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1110303</guid><dc:creator><![CDATA[n00b_imp]]></dc:creator><pubDate>Fri, 04 Aug 2006 07:11:51 GMT</pubDate></item><item><title><![CDATA[Reply to Problemchen mit Datum on Fri, 04 Aug 2006 07:18:59 GMT]]></title><description><![CDATA[<p>Welche Fehlermeldung erhälst Du bei welcher Eingabe?<br />
Was für ein Datentyp ist date?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1110310</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1110310</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Fri, 04 Aug 2006 07:18:59 GMT</pubDate></item><item><title><![CDATA[Reply to Problemchen mit Datum on Fri, 04 Aug 2006 07:23:35 GMT]]></title><description><![CDATA[<p>Meldung: &quot;'ist kein gültiges Datum'</p>
<p>habe das so verstanden, dass</p>
<pre><code>StrToDate(txt_von-&gt;Text)
</code></pre>
<p>eben aus &quot;jedem&quot; String automatisch ein date format macht...in der DB wird das format 2006-03-01 also jjjj-mm-tt benutzt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1110312</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1110312</guid><dc:creator><![CDATA[n00b_imp]]></dc:creator><pubDate>Fri, 04 Aug 2006 07:23:35 GMT</pubDate></item><item><title><![CDATA[Reply to Problemchen mit Datum on Fri, 04 Aug 2006 07:28:19 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>die Fehlermeldung besagt eindeutig, das zur Laufzeit in <em>txt_von-&gt;Text</em> ein leerer String steht, der nicht umgewandelt werden kann.<br />
Entweder fängst du sowas vorher schon ab, oder du verwendest einen TDateTimePicker anstatt des TEdit.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1110315</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1110315</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Fri, 04 Aug 2006 07:28:19 GMT</pubDate></item><item><title><![CDATA[Reply to Problemchen mit Datum on Fri, 04 Aug 2006 08:59:01 GMT]]></title><description><![CDATA[<p>ich habe mich jetzt für ein TMonthCalender entschieden.<br />
Ich komme auch an das selektierte Datum ran, allerdings kann ich das nicht als Parameter an das SQL Query übergeben wegen der Fehlermeldung:</p>
<p>Query2:Typ für Feld 'castedDate' ist unbekannt...</p>
<p>Diese Fehlermeldung hatte ich schon mal....<br />
Was bedeutet das bitte und was muss da richtigerweise stehen???</p>
<pre><code>using namespace std;
  AnsiString mandantenNummer;

        try
        {
                 // auslesen der eingegebenen Mandantennummer
                 mandantenNummer = txt_Mandantennummer-&gt;Text;

                 // das angeclickte Datum als AnsiString variable
                 AnsiString selected_Date;

                 // fülle die variable
                 selected_Date = MonthCalendar1-&gt;Date;

                 //ausgeben der Variablen zum test
                 Edit1-&gt;Text = selected_Date;

                 // Casten des Datums in einen String
                 AnsiString castedDate;
                 castedDate = DateToStr(selected_Date);

                DataSource1-&gt;DataSet = Query2;
                Query2-&gt;Close();
                Query2-&gt;SQL-&gt;Clear();

                // Übergabe als Parameter an das SQL Query
                Query2-&gt;SQL-&gt;Add(&quot;select sum(km0005) as ergebnis from lobu.kst_monatswerte where ma0000 =:mandantenNummer and km0003=:castedDate&quot;);
                Query2-&gt;ParamByName(&quot;mandantenNummer&quot;)-&gt;AsString = mandantenNummer;
                Query2-&gt;Open();
                Query2-&gt;First();
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1110402</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1110402</guid><dc:creator><![CDATA[n00b_imp]]></dc:creator><pubDate>Fri, 04 Aug 2006 08:59:01 GMT</pubDate></item><item><title><![CDATA[Reply to Problemchen mit Datum on Fri, 04 Aug 2006 09:05:51 GMT]]></title><description><![CDATA[<p>was soll das</p>
<pre><code>castedDate = DateToStr(selected_Date);
</code></pre>
<p>bringen? sowohl castedDate wie auch selected_Date sind vom Typ AnsiString</p>
<p>MonthCalendar1-&gt;Date liefert einen Werte vom Typ TDateTime bzw. TDate zurück und keinen AnsiString</p>
<p>also übergib einfach MonthCalendar1-&gt;Date an den Parameter des Query als AsDateTime</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1110406</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1110406</guid><dc:creator><![CDATA[Linnea]]></dc:creator><pubDate>Fri, 04 Aug 2006 09:05:51 GMT</pubDate></item><item><title><![CDATA[Reply to Problemchen mit Datum on Fri, 04 Aug 2006 09:14:08 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/5990">@Linnea</a>:nimms mir nicht übel bin nicht wirklich fit in c++ <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<p>habe das so probiert...aber gleiche Fehlermeldung!</p>
<pre><code>// auslesen der eingegebenen Mandantennummer
                 mandantenNummer = txt_Mandantennummer-&gt;Text;

                 TDate selected_Date = MonthCalendar1-&gt;Date;

                 //ausgeben der Variablen zum test
                 Edit1-&gt;Text = selected_Date;

                DataSource1-&gt;DataSet = Query2;
                Query2-&gt;Close();
                Query2-&gt;SQL-&gt;Clear();

                // Übergabe als Parameter an das SQL Query
                Query2-&gt;SQL-&gt;Add(&quot;select sum(km0005) as ergebnis from lobu.kst_monatswerte where ma0000 =:mandantenNummer and km0003=:selected_Date&quot;);
                Query2-&gt;ParamByName(&quot;mandantenNummer&quot;)-&gt;AsString = mandantenNummer;
                Query2-&gt;Open();
                Query2-&gt;First();
</code></pre>
<p>ich habs...es fehlte...</p>
<pre><code>Query2-&gt;ParamByName(&quot;selected_Date&quot;)-&gt;AsString = selected_Date;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1110408</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1110408</guid><dc:creator><![CDATA[n00b_imp]]></dc:creator><pubDate>Fri, 04 Aug 2006 09:14:08 GMT</pubDate></item><item><title><![CDATA[Reply to Problemchen mit Datum on Fri, 04 Aug 2006 10:02:23 GMT]]></title><description><![CDATA[<p>Hä? Du hast ein TDate- / TDateTime-Objekt, wandelst dieses in einen String, nur damit Du es als String an die Query übergeben kannst?!?</p>
<pre><code class="language-cpp">Query2-&gt;ParamByName(&quot;selected_Date&quot;)-&gt;AsDateTime = MonthCalendar1-&gt;Date;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1110446</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1110446</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Fri, 04 Aug 2006 10:02:23 GMT</pubDate></item><item><title><![CDATA[Reply to Problemchen mit Datum on Fri, 04 Aug 2006 12:15:21 GMT]]></title><description><![CDATA[<p>ja...also so funktioniert es im moment:<br />
habe jetzt nur noch das problem einen ZeitRaum angeben zu wollen in dem<br />
SQL Query.<br />
hab ich da auskommentiert hingeschrieben....plz help!</p>
<pre><code>// auslesen der eingegebenen Mandantennummer
                 mandantenNummer = txt_Mandantennummer-&gt;Text;

                 // Datum in variable selected_Date speichern
                 TDate selected_Date = MonthCalendar1-&gt;Date;
                 TDate end_Date = MonthCalendar1-&gt;EndDate;

                 //ausgeben der Variablen zum test
                 Edit1-&gt;Text = selected_Date;
                 Edit2-&gt;Text = end_Date;

                DataSource1-&gt;DataSet = Query2;
                Query2-&gt;Close();
                Query2-&gt;SQL-&gt;Clear();

                // Übergabe als Parameter an das SQL Query
                Query2-&gt;SQL-&gt;Add(&quot;select sum(km0005) as Personalkosten from  lobu.kst_monatswerte where ma0000 =:mandantenNummer and km0003=:selected_Date 
// hier soll jetzt ein zeitraum eingegebn werden nur fehlt mir die richtige syntax...also so nach dem motto: km0003 between selected_Date und end_Date  &quot;);

                Query2-&gt;ParamByName(&quot;mandantenNummer&quot;)-&gt;AsString = mandantenNummer;
                Query2-&gt;ParamByName(&quot;selected_Date&quot;)-&gt;AsString = selected_Date;
                Query2-&gt;ParamByName(&quot;end_Date&quot;)-&gt;AsString = end_Date;
                Query2-&gt;Open();
                Query2-&gt;First();
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1110522</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1110522</guid><dc:creator><![CDATA[n00b_imp]]></dc:creator><pubDate>Fri, 04 Aug 2006 12:15:21 GMT</pubDate></item><item><title><![CDATA[Reply to Problemchen mit Datum on Fri, 04 Aug 2006 12:26:14 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>siehe <a href="http://dev.mysql.com/doc/refman/5.1/de/comparison-operators.html" rel="nofollow">BETWEEN</a></p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1110535</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1110535</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Fri, 04 Aug 2006 12:26:14 GMT</pubDate></item><item><title><![CDATA[Reply to Problemchen mit Datum on Fri, 04 Aug 2006 12:31:41 GMT]]></title><description><![CDATA[<p>ja also das mit dem between kenn ich aber hier sind parameter im spiel deshalb die frage</p>
<pre><code>lobu.kst_monatswerte where ma0000 =:mandantenNummer and km0003=:selected_Date&quot;
</code></pre>
<p>...<br />
hatte mir das so gedacht, aber ne <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<pre><code>lobu.kst_monatswerte where ma0000 =:mandantenNummer and km0003=:between selected_Date and km0003=:end_Date&quot;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1110538</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1110538</guid><dc:creator><![CDATA[n00b_imp]]></dc:creator><pubDate>Fri, 04 Aug 2006 12:31:41 GMT</pubDate></item><item><title><![CDATA[Reply to Problemchen mit Datum on Fri, 04 Aug 2006 12:37:49 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>offenbar solltest du doch nochmal die Syntax anschauen.</p>
<pre><code>lobu.kst_monatswerte where ma0000 =:mandantenNummer and km0003 between :selected_Date and :end_Date
</code></pre>
<p>oder</p>
<pre><code>lobu.kst_monatswerte where ma0000 =:mandantenNummer and km0003 &gt;=:selected_Date and km0003&lt;=:end_Date
</code></pre>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1110539</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1110539</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Fri, 04 Aug 2006 12:37:49 GMT</pubDate></item><item><title><![CDATA[Reply to Problemchen mit Datum on Fri, 04 Aug 2006 12:49:22 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/7971">@akari</a>:<br />
ja, da haste recht...aber ich lerne ja noch....</p>
<p>danke dir</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1110549</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1110549</guid><dc:creator><![CDATA[n00b_imp]]></dc:creator><pubDate>Fri, 04 Aug 2006 12:49:22 GMT</pubDate></item><item><title><![CDATA[Reply to Problemchen mit Datum on Mon, 07 Aug 2006 08:30:08 GMT]]></title><description><![CDATA[<p>so...nächste frage :):<br />
wie mache ich denn aus einem datum vom format tt.mm.jjjj ein datum vom format yyyy-mm-dd in c++???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1112025</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1112025</guid><dc:creator><![CDATA[n00b_imp]]></dc:creator><pubDate>Mon, 07 Aug 2006 08:30:08 GMT</pubDate></item><item><title><![CDATA[Reply to Problemchen mit Datum on Mon, 07 Aug 2006 08:34:41 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>siehe <em>TDateTime::FormatString</em></p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1112029</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1112029</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 07 Aug 2006 08:34:41 GMT</pubDate></item><item><title><![CDATA[Reply to Problemchen mit Datum on Mon, 07 Aug 2006 09:10:51 GMT]]></title><description><![CDATA[<p>Wann ersetzt Du eigentlich dieses &lt;von der Zensur gestrichen&gt; -&gt;AsString bei der Parameterübergabe?</p>
<p>Ist die Mandantennummer in der Datenbank ein String? Wenn nicht, warum übergibst Du einen String?<br />
Die beiden Datumsfelder in der DB sind keine Strings. Warum übergibst Du die Parameter immer noch als String?</p>
<p>Ich gehe davon aus, dass das der Grund ist, warum Du nach der Formatierung des Datumstrings fragst... Übergib die Parameter doch gleich im richtigen Format.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1112044</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1112044</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Mon, 07 Aug 2006 09:10:51 GMT</pubDate></item><item><title><![CDATA[Reply to Problemchen mit Datum on Mon, 07 Aug 2006 09:28:25 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/9494">@Joe</a>: weil ich das im Zuge geistiger Umnachtung vergessen habe *schäm*<br />
Du hast recht und ich danke Dir vielmals!!!!!</p>
<p>Sieht jetzt so aus:</p>
<pre><code>using namespace std;
  AnsiString mandantenNummer;

        try
        {
                 // auslesen der eingegebenen Mandantennummer
                 mandantenNummer = txt_Mandantennummer-&gt;Text;

                 // Datum in variable selected_Date speichern
                 TDate selected_Date = MonthCalendar1-&gt;Date;
                 TDate end_Date = MonthCalendar1-&gt;EndDate;

                 //ausgeben der Variablen zum test
                 Edit1-&gt;Text = selected_Date;
                 Edit2-&gt;Text = end_Date;

                DataSource1-&gt;DataSet = Query2;
                Query2-&gt;Close();
                Query2-&gt;SQL-&gt;Clear();

                // Übergabe als Parameter an das SQL Query
                Query2-&gt;SQL-&gt;Add(&quot;select sum(km0005) as Personalkosten from lobu.kst_monatswerte where ma0000 =:mandantenNummer and km0003 between :selected_Date and :end_Date&quot;);
                Query2-&gt;ParamByName(&quot;mandantenNummer&quot;)-&gt;AsString = mandantenNummer;
                Query2-&gt;ParamByName(&quot;selected_Date&quot;)-&gt;AsDateTime = MonthCalendar1-&gt;Date;
                Query2-&gt;ParamByName(&quot;end_Date&quot;)-&gt;AsDateTime = MonthCalendar1-&gt;EndDate;
                Query2-&gt;Open();
                Query2-&gt;First();
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1112062</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1112062</guid><dc:creator><![CDATA[n00b_imp]]></dc:creator><pubDate>Mon, 07 Aug 2006 09:28:25 GMT</pubDate></item><item><title><![CDATA[Reply to Problemchen mit Datum on Wed, 09 Aug 2006 06:23:09 GMT]]></title><description><![CDATA[<p>...bin jetzt soweit, dass ich in dem sql query joins nutze....<br />
leider findet er den parameter selected date nicht!</p>
<p>wobei ich auch fragen wollte, warum es bei mandantennummer =: heissen muss und nicht nur :???</p>
<p>b) Welche Exceptions sollte ich unbedingt abfangen???</p>
<p>So siehts aus:</p>
<pre><code>try
        {
                 // auslesen der eingegebenen Mandantennummer
                 mandantenNummer = txt_Mandantennummer-&gt;Text;

                 // Datum in variable selected_Date speichern
                 TDate selected_Date = MonthCalendar1-&gt;Date;
                 TDate end_Date = MonthCalendar1-&gt;EndDate;

                 //ausgeben der Variablen zum test
                 Edit1-&gt;Text = selected_Date;
                 Edit2-&gt;Text = end_Date;

                  DataSource1-&gt;DataSet = Query2;
                  Query2-&gt;Close();
                  Query2-&gt;SQL-&gt;Clear();

                  // Übergabe als Parameter an das SQL Query
                  Query2-&gt;SQL-&gt;Add(&quot;select sum(a.su0005) AS summe from fibu.kontensummen a join zmis.kontenplan b on a.su0002 = b.kp0001 where a.ma0001=:mandantenNummer and a.su0003 between : selected_Date and :end_Date and b.kp0003 = '430'&quot;);
                  Query2-&gt;ParamByName(&quot;mandantenNummer&quot;)-&gt;AsString = mandantenNummer;
                  Query2-&gt;ParamByName(&quot;selected_Date&quot;)-&gt;AsDateTime = MonthCalendar1-&gt;Date;
                  Query2-&gt;ParamByName(&quot;end_Date&quot;)-&gt;AsDateTime = MonthCalendar1-&gt;EndDate;
                  Query2-&gt;Open();
                  Query2-&gt;First();

        }
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1113432</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1113432</guid><dc:creator><![CDATA[n00b_imp]]></dc:creator><pubDate>Wed, 09 Aug 2006 06:23:09 GMT</pubDate></item><item><title><![CDATA[Reply to Problemchen mit Datum on Wed, 09 Aug 2006 07:00:48 GMT]]></title><description><![CDATA[<p>Mit dem : leitest Du einen Parameter ein. Das = hat damit nichts zu tun. Mach mal das Leezeichen zwischen dem Doppelpunkt und dem Parameternamen weg.</p>
<p>Für die Query soltest Du alle EDBEngineError-Objekte abfangen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1113451</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1113451</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Wed, 09 Aug 2006 07:00:48 GMT</pubDate></item><item><title><![CDATA[Reply to Problemchen mit Datum on Wed, 09 Aug 2006 07:45:54 GMT]]></title><description><![CDATA[<p>...uah ein leerzeichen ich beisse in den tisch!</p>
<p>mal was blödes gefragt...wo finde ich denn die exceptions zu methoden, die geworfen werden können oder eben zu klassen???</p>
<p>in java gibts ne api...in c++???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1113468</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1113468</guid><dc:creator><![CDATA[n00b_imp]]></dc:creator><pubDate>Wed, 09 Aug 2006 07:45:54 GMT</pubDate></item><item><title><![CDATA[Reply to Problemchen mit Datum on Wed, 09 Aug 2006 07:50:35 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>in C++ gibts es <a href="http://www.cppreference.com/" rel="nofollow">Referenzen</a>.<br />
Allerdings nützen die dir in diesem Fall nichts, sondern du must in die BCB-Hilfe schauen.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1113472</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1113472</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 09 Aug 2006 07:50:35 GMT</pubDate></item></channel></rss>