<?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[Datenbank nach Zhlen sortieren]]></title><description><![CDATA[<p>Hallo</p>
<p>Ich habe eine Access-Datenbank, die mittels ODBC an meine Anwendung gebunden ist. Jetzt möchte ich den Inhalt der Datenbank so öffnen, dass er nach Zahlen sortiert wird. Mit dem Befehl m_strSort sortiert wird die Datenbank aber so sortiert:<br />
1<br />
10<br />
11<br />
2<br />
20<br />
...</p>
<p>Kann mir bitte irgend wer helfen</p>
<p>MfG</p>
<p>Michael</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/52834/datenbank-nach-zhlen-sortieren</link><generator>RSS for Node</generator><lastBuildDate>Mon, 01 Jun 2026 06:17:08 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/52834.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 23 Oct 2003 14:42:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Datenbank nach Zhlen sortieren on Thu, 23 Oct 2003 14:42:52 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Ich habe eine Access-Datenbank, die mittels ODBC an meine Anwendung gebunden ist. Jetzt möchte ich den Inhalt der Datenbank so öffnen, dass er nach Zahlen sortiert wird. Mit dem Befehl m_strSort sortiert wird die Datenbank aber so sortiert:<br />
1<br />
10<br />
11<br />
2<br />
20<br />
...</p>
<p>Kann mir bitte irgend wer helfen</p>
<p>MfG</p>
<p>Michael</p>
]]></description><link>https://www.c-plusplus.net/forum/post/378165</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/378165</guid><dc:creator><![CDATA[freudi]]></dc:creator><pubDate>Thu, 23 Oct 2003 14:42:52 GMT</pubDate></item><item><title><![CDATA[Reply to Datenbank nach Zhlen sortieren on Thu, 23 Oct 2003 15:17:16 GMT]]></title><description><![CDATA[<p>Ja sind das auch Zahlen oder Strings?<br />
Denn Strings sind so richtig sortiert. Denn bei den Strings kommt 10 vor 2.<br />
Also um was handelt es sich hierbei?<br />
Wenn nicht kannst du doch per sql-select das ganze so sortieren wie du willst.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/378197</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/378197</guid><dc:creator><![CDATA[Stalin]]></dc:creator><pubDate>Thu, 23 Oct 2003 15:17:16 GMT</pubDate></item><item><title><![CDATA[Reply to Datenbank nach Zhlen sortieren on Thu, 23 Oct 2003 17:15:12 GMT]]></title><description><![CDATA[<p>Das sind Zahlen (int). Ich hab mir schon ein paar Lösungen angeschaut, check diese aber nicht so ganz. Kannst mir da bitte nicht weiterhelfen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/378256</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/378256</guid><dc:creator><![CDATA[freudi]]></dc:creator><pubDate>Thu, 23 Oct 2003 17:15:12 GMT</pubDate></item><item><title><![CDATA[Reply to Datenbank nach Zhlen sortieren on Fri, 24 Oct 2003 07:16:57 GMT]]></title><description><![CDATA[<p>Ja wenn du mich bittest dann helfe ich dir nicht mehr.<br />
:p</p>
]]></description><link>https://www.c-plusplus.net/forum/post/378511</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/378511</guid><dc:creator><![CDATA[Stalin]]></dc:creator><pubDate>Fri, 24 Oct 2003 07:16:57 GMT</pubDate></item><item><title><![CDATA[Reply to Datenbank nach Zhlen sortieren on Fri, 24 Oct 2003 08:21:36 GMT]]></title><description><![CDATA[<p>Hallo !</p>
<p>Wenn ich ein SELECT auf ein Zahlenfeld einer Datenbanktabelle abschicke, mit einem ORDER BY &quot;das selbe Zahlenfeld&quot;, dann sortiert er das schon richtig. Vielleicht liegt der Fehler in deinem Anzeige-Steuerelement. Wenn du das z.B. in eine Liste oder so rein schreibst, dann must du da die Sortierreihenfolge ausschalten, sonst ordnet er die Einträge so an, wie du beschrieben hast.</p>
<p>Tschüss</p>
]]></description><link>https://www.c-plusplus.net/forum/post/378559</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/378559</guid><dc:creator><![CDATA[isabeau]]></dc:creator><pubDate>Fri, 24 Oct 2003 08:21:36 GMT</pubDate></item><item><title><![CDATA[Reply to Datenbank nach Zhlen sortieren on Fri, 24 Oct 2003 22:45:36 GMT]]></title><description><![CDATA[<p>Hallo<br />
Ich glaub, dass ich das ein wenig falsch erklärt habe. Die int Zahlen, die ich speichern will, sollen als String gespeichert werden, aber die sortiert sollen sie nicht so sein:<br />
1<br />
10<br />
11<br />
2<br />
20<br />
21<br />
..<br />
sondern<br />
1<br />
2<br />
3<br />
4<br />
10<br />
12<br />
21<br />
..<br />
MfG</p>
<p>Freudi</p>
]]></description><link>https://www.c-plusplus.net/forum/post/379203</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/379203</guid><dc:creator><![CDATA[freudi]]></dc:creator><pubDate>Fri, 24 Oct 2003 22:45:36 GMT</pubDate></item><item><title><![CDATA[Reply to Datenbank nach Zhlen sortieren on Fri, 24 Oct 2003 23:19:52 GMT]]></title><description><![CDATA[<p>SELECT * FROM table ORDER BY number</p>
<p>Devil</p>
]]></description><link>https://www.c-plusplus.net/forum/post/379220</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/379220</guid><dc:creator><![CDATA[phlox81]]></dc:creator><pubDate>Fri, 24 Oct 2003 23:19:52 GMT</pubDate></item><item><title><![CDATA[Reply to Datenbank nach Zhlen sortieren on Sun, 26 Oct 2003 13:24:21 GMT]]></title><description><![CDATA[<p>Danke,<br />
Ich habs probiert, kenn mich aber damit gar nicht aus. Kannst du mir bitte nicht einen Quellcode dafür geben.</p>
<p>MfG</p>
<p>Michael</p>
]]></description><link>https://www.c-plusplus.net/forum/post/379864</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/379864</guid><dc:creator><![CDATA[freudi]]></dc:creator><pubDate>Sun, 26 Oct 2003 13:24:21 GMT</pubDate></item><item><title><![CDATA[Reply to Datenbank nach Zhlen sortieren on Sun, 26 Oct 2003 13:25:15 GMT]]></title><description><![CDATA[<p>Danke,<br />
Ich habs probiert, kenn mich aber damit gar nicht aus. Kannst du mir bitte nicht einen Quellcode dafür geben.</p>
<p>MfG</p>
<p>Michael</p>
]]></description><link>https://www.c-plusplus.net/forum/post/379865</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/379865</guid><dc:creator><![CDATA[freudi]]></dc:creator><pubDate>Sun, 26 Oct 2003 13:25:15 GMT</pubDate></item><item><title><![CDATA[Reply to Datenbank nach Zhlen sortieren on Sun, 26 Oct 2003 14:04:59 GMT]]></title><description><![CDATA[<p>Danke,<br />
Ich habs probiert, kenn mich aber damit gar nicht aus. Kannst du mir bitte nicht einen Quellcode dafür geben.</p>
<p>MfG</p>
<p>Michael</p>
]]></description><link>https://www.c-plusplus.net/forum/post/379904</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/379904</guid><dc:creator><![CDATA[freudi]]></dc:creator><pubDate>Sun, 26 Oct 2003 14:04:59 GMT</pubDate></item><item><title><![CDATA[Reply to Datenbank nach Zhlen sortieren on Sun, 26 Oct 2003 14:34:54 GMT]]></title><description><![CDATA[<p>mensch ^^</p>
<p>int iDeineZahl = ?;<br />
CString strDeinString;</p>
<p>if (iDeineZahl &lt; 10) {<br />
strDeinString.Format(&quot;00%i&quot;, iDeineZahl);<br />
} else if (iDeineZahl &gt; 9 &amp;&amp; iDeineZahl &lt; 100) {<br />
strDeinString.Format(&quot;0%i&quot;, iDeineZahl);<br />
} else {<br />
strDeinString.Format(&quot;%i&quot;, iDeineZahl);<br />
};</p>
<p>Das ist zwar nen billiger trick aber so gehts schonmal..</p>
<p>Wende grössere Zahlen als 999 machst einfach die Routine erweitern</p>
<p>greetz</p>
]]></description><link>https://www.c-plusplus.net/forum/post/379926</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/379926</guid><dc:creator><![CDATA[DaRpH_]]></dc:creator><pubDate>Sun, 26 Oct 2003 14:34:54 GMT</pubDate></item><item><title><![CDATA[Reply to Datenbank nach Zhlen sortieren on Sun, 26 Oct 2003 15:22:50 GMT]]></title><description><![CDATA[<p>@ DaRpH_<br />
Wie man int-Zahlen in Strings konvertiert weis ich schon, ich will aber nur nen kurzen Quellcode für Die Sortierfunktion, die ich oben beschrieben habe, wenn das möglich wäre.</p>
<p>MfG</p>
<p>Freudi</p>
]]></description><link>https://www.c-plusplus.net/forum/post/379962</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/379962</guid><dc:creator><![CDATA[freudi]]></dc:creator><pubDate>Sun, 26 Oct 2003 15:22:50 GMT</pubDate></item><item><title><![CDATA[Reply to Datenbank nach Zhlen sortieren on Sun, 26 Oct 2003 16:01:01 GMT]]></title><description><![CDATA[<p>hobs grod ebn gelöst</p>
]]></description><link>https://www.c-plusplus.net/forum/post/379987</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/379987</guid><dc:creator><![CDATA[freudi]]></dc:creator><pubDate>Sun, 26 Oct 2003 16:01:01 GMT</pubDate></item><item><title><![CDATA[Reply to Datenbank nach Zhlen sortieren on Sun, 26 Oct 2003 17:17:09 GMT]]></title><description><![CDATA[<p>@ DaRpH_<br />
Sorry, hab deinen Code nicht ganz genau angesehen. Der Trick ist genial, hab daran gar nicht gedacht. Danke</p>
<p>MfG</p>
<p>Michael</p>
]]></description><link>https://www.c-plusplus.net/forum/post/380039</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/380039</guid><dc:creator><![CDATA[freudi]]></dc:creator><pubDate>Sun, 26 Oct 2003 17:17:09 GMT</pubDate></item></channel></rss>