<?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[Datensatz hinzufügen geht nicht]]></title><description><![CDATA[<p>hallo<br />
nochmal was<br />
Wenn ich das Beispiel genau so durch mache wie auf der seite <a href="http://download.pearsoned.de/leseecke/VCPLUS6_21Tg/data/start.htm" rel="nofollow">http://download.pearsoned.de/leseecke/VCPLUS6_21Tg/data/start.htm</a><br />
dann klappt das auch, aber ich möchte dass in der Datenbank vorher noch nicht drin steht, und wenn ich dann ein Datensatz hinzufügen möchte kommt immer eine Fehlermeldung<br />
&quot;Entweder BOF oder EOF , oder der aktuelle Datensatz wurde gelöscht. Die angeforderte Operation benötigt einen aktuellen Datensatz&quot;<br />
Was muss man da machen?<br />
danke</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/85159/datensatz-hinzufügen-geht-nicht</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 02:00:08 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/85159.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 06 Sep 2004 11:28:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Datensatz hinzufügen geht nicht on Mon, 06 Sep 2004 11:28:32 GMT]]></title><description><![CDATA[<p>hallo<br />
nochmal was<br />
Wenn ich das Beispiel genau so durch mache wie auf der seite <a href="http://download.pearsoned.de/leseecke/VCPLUS6_21Tg/data/start.htm" rel="nofollow">http://download.pearsoned.de/leseecke/VCPLUS6_21Tg/data/start.htm</a><br />
dann klappt das auch, aber ich möchte dass in der Datenbank vorher noch nicht drin steht, und wenn ich dann ein Datensatz hinzufügen möchte kommt immer eine Fehlermeldung<br />
&quot;Entweder BOF oder EOF , oder der aktuelle Datensatz wurde gelöscht. Die angeforderte Operation benötigt einen aktuellen Datensatz&quot;<br />
Was muss man da machen?<br />
danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/600566</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/600566</guid><dc:creator><![CDATA[Stgt]]></dc:creator><pubDate>Mon, 06 Sep 2004 11:28:32 GMT</pubDate></item><item><title><![CDATA[Reply to Datensatz hinzufügen geht nicht on Mon, 06 Sep 2004 11:40:04 GMT]]></title><description><![CDATA[<p>Kann es evtl. sein, dass du versuchst, ein Update(...) auf eine leere Datenbank zu machen ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/600573</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/600573</guid><dc:creator><![CDATA[isabeau]]></dc:creator><pubDate>Mon, 06 Sep 2004 11:40:04 GMT</pubDate></item><item><title><![CDATA[Reply to Datensatz hinzufügen geht nicht on Mon, 06 Sep 2004 11:42:57 GMT]]></title><description><![CDATA[<p>stimmt, an dem kann es liegen, ich probiere mal ein bisschen rum,<br />
danke für den tipp</p>
]]></description><link>https://www.c-plusplus.net/forum/post/600575</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/600575</guid><dc:creator><![CDATA[Stgt]]></dc:creator><pubDate>Mon, 06 Sep 2004 11:42:57 GMT</pubDate></item><item><title><![CDATA[Reply to Datensatz hinzufügen geht nicht on Mon, 06 Sep 2004 11:48:13 GMT]]></title><description><![CDATA[<p>[code]void Dilog::OnHinzufuegen()<br />
{</p>
<p>UpdateData(TRUE);</p>
<p>m_pView-&gt;m_strLastName = m_strLastName;<br />
m_pView-&gt;m_strFirstName = m_strFirstName;<br />
m_pView-&gt;m_strAge = m_strAge;</p>
<p>m_pView-&gt;UpdateBoundData();</p>
<p>m_pView-&gt;GetDocument()-&gt;AddNew();</p>
<p>}</p>
<p>das ist meine Hinzufügen Funktion, irgendwie passiert da trotzdem nichts wenn ich UpdateData(TRUE) weg nehm...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/600578</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/600578</guid><dc:creator><![CDATA[Stgt]]></dc:creator><pubDate>Mon, 06 Sep 2004 11:48:13 GMT</pubDate></item><item><title><![CDATA[Reply to Datensatz hinzufügen geht nicht on Mon, 06 Sep 2004 11:48:39 GMT]]></title><description><![CDATA[<p>Ich behaupte mal ganz mutig, dass es mit Sicherheit daran liegt. Neue Datensätze hinzufügen geht mit Insert(...) oder New(...) oder etwas ähnlichem.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/600579</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/600579</guid><dc:creator><![CDATA[isabeau]]></dc:creator><pubDate>Mon, 06 Sep 2004 11:48:39 GMT</pubDate></item><item><title><![CDATA[Reply to Datensatz hinzufügen geht nicht on Mon, 06 Sep 2004 11:52:36 GMT]]></title><description><![CDATA[<p>Bei CRecordset muss man übrigens erst AddNew() aufrufen um einen neuen Datensatz auzulegen, dann die Werte in die Recordset-Member einlesen und dann Update() aufrufen, damit die Werte gespeichert werden...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/600582</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/600582</guid><dc:creator><![CDATA[isabeau]]></dc:creator><pubDate>Mon, 06 Sep 2004 11:52:36 GMT</pubDate></item><item><title><![CDATA[Reply to Datensatz hinzufügen geht nicht on Mon, 06 Sep 2004 11:52:59 GMT]]></title><description><![CDATA[<p>hast du das darübergeschriebene von mir schon gelesen? war ja fast zeitgleich mit deinem Beitrag</p>
]]></description><link>https://www.c-plusplus.net/forum/post/600583</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/600583</guid><dc:creator><![CDATA[Stgt]]></dc:creator><pubDate>Mon, 06 Sep 2004 11:52:59 GMT</pubDate></item><item><title><![CDATA[Reply to Datensatz hinzufügen geht nicht on Mon, 06 Sep 2004 11:54:31 GMT]]></title><description><![CDATA[<p>*g* schon wieder <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/600588</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/600588</guid><dc:creator><![CDATA[isabeau]]></dc:creator><pubDate>Mon, 06 Sep 2004 11:54:31 GMT</pubDate></item><item><title><![CDATA[Reply to Datensatz hinzufügen geht nicht on Mon, 06 Sep 2004 12:00:08 GMT]]></title><description><![CDATA[<p>ja mei, der mist funktioniert halt nicht, hab echt kein plan woran das liegt<br />
Mit Sicherheit denk ich auch dass ich falsch update. Auf er seite gehen die auch schon davon aus dass davor schon was drin steht.<br />
weiß halt nicht wo ich was ändern muss</p>
]]></description><link>https://www.c-plusplus.net/forum/post/600595</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/600595</guid><dc:creator><![CDATA[Stgt]]></dc:creator><pubDate>Mon, 06 Sep 2004 12:00:08 GMT</pubDate></item><item><title><![CDATA[Reply to Datensatz hinzufügen geht nicht on Mon, 06 Sep 2004 12:02:24 GMT]]></title><description><![CDATA[<p>Von was für einem Typ ist denn m_pView ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/600600</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/600600</guid><dc:creator><![CDATA[isabeau]]></dc:creator><pubDate>Mon, 06 Sep 2004 12:02:24 GMT</pubDate></item><item><title><![CDATA[Reply to Datensatz hinzufügen geht nicht on Mon, 06 Sep 2004 12:07:37 GMT]]></title><description><![CDATA[<p>Ich glaube die Reihenfolge is falsch:</p>
<pre><code class="language-cpp">void Dilog::OnHinzufuegen() 
{ 
UpdateData(TRUE); 

m_pView-&gt;GetDocument()-&gt;AddNew(); // der war unten

m_pView-&gt;m_strLastName = m_strLastName; 
m_pView-&gt;m_strFirstName = m_strFirstName; 
m_pView-&gt;m_strAge = m_strAge; 

m_pView-&gt;UpdateBoundData(); // Versuch mal nur m_pView-&gt;Update(); stattdessen
}
</code></pre>
<p>Sieht jedenfalls in der MSDN von den Befehlen her aus wie CRecordset. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/600612</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/600612</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Mon, 06 Sep 2004 12:07:37 GMT</pubDate></item><item><title><![CDATA[Reply to Datensatz hinzufügen geht nicht on Mon, 06 Sep 2004 12:09:03 GMT]]></title><description><![CDATA[<p>m_pView ist ein Zeiger auf die View Klasse</p>
]]></description><link>https://www.c-plusplus.net/forum/post/600614</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/600614</guid><dc:creator><![CDATA[Stgt]]></dc:creator><pubDate>Mon, 06 Sep 2004 12:09:03 GMT</pubDate></item><item><title><![CDATA[Reply to Datensatz hinzufügen geht nicht on Mon, 06 Sep 2004 13:00:10 GMT]]></title><description><![CDATA[<p>sorry habs erst jetz gelesen<br />
Error 'Update' : Ist kein Element von 'CAdoDatabaseView'<br />
auch wenn ich TRUE reinschreiben gehts noch nicht</p>
]]></description><link>https://www.c-plusplus.net/forum/post/600691</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/600691</guid><dc:creator><![CDATA[Stgt]]></dc:creator><pubDate>Mon, 06 Sep 2004 13:00:10 GMT</pubDate></item><item><title><![CDATA[Reply to Datensatz hinzufügen geht nicht on Mon, 06 Sep 2004 13:05:03 GMT]]></title><description><![CDATA[<p>das Problem ist dass erst wenn ich von hand schon vorher was in die Datenbank reingeschrieben habe, daten hinzufügen kann, dann klappts auch<br />
aber wen meine Datenbanktabelle leer ist gehts net, dann kommt der fehler</p>
]]></description><link>https://www.c-plusplus.net/forum/post/600704</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/600704</guid><dc:creator><![CDATA[Stgt]]></dc:creator><pubDate>Mon, 06 Sep 2004 13:05:03 GMT</pubDate></item><item><title><![CDATA[Reply to Datensatz hinzufügen geht nicht on Mon, 06 Sep 2004 13:07:24 GMT]]></title><description><![CDATA[<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f62e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_open_mouth"
      title=":open_mouth:"
      alt="😮"
    /> CAdoDatabaseView gibt es in meiner MSDN nicht!</p>
<p>Okay, dann lass es bei dem Befehl, den du da hattest. Das &quot;Umsetzen&quot; von AddNew war ja viel interessanter. Was kommt dabei heraus?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/600709</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/600709</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Mon, 06 Sep 2004 13:07:24 GMT</pubDate></item><item><title><![CDATA[Reply to Datensatz hinzufügen geht nicht on Mon, 06 Sep 2004 13:16:38 GMT]]></title><description><![CDATA[<p>[code]void CAdoDatabaseDoc::AddNew()<br />
{</p>
<p>try<br />
{<br />
// Aktuellen Datensatz aktualisieren ( haben die so gemacht<br />
// muss weg sonst geht gar nichts<br />
//m_piAdoRecordBinding-&gt;Update(&amp;m_rsRecSet);</p>
<p>// Kann ein neuer Datensatz hinzugefügt werden?<br />
if (m_ptrRs-&gt;Supports(adAddNew))<br />
{</p>
<p>// Leeren Datensatz hinzufügen<br />
m_piAdoRecordBinding-&gt;AddNew(&amp;m_rsRecSet);</p>
<p>//Leeren Datensatz erzeugen<br />
CreateBlankRecord();</p>
<p>// Zum letzten Datensatz gehen<br />
m_ptrRs-&gt;MoveLast();</p>
<p>}<br />
}</p>
<p>// Fehler?<br />
catch (_com_error &amp;e)</p>
<p>{<br />
// Fehlermeldung generieren<br />
GenerateError(e.Error(), e.Description());<br />
}</p>
<p>}</p>
]]></description><link>https://www.c-plusplus.net/forum/post/600728</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/600728</guid><dc:creator><![CDATA[Stgt]]></dc:creator><pubDate>Mon, 06 Sep 2004 13:16:38 GMT</pubDate></item><item><title><![CDATA[Reply to Datensatz hinzufügen geht nicht on Mon, 06 Sep 2004 13:20:11 GMT]]></title><description><![CDATA[<p><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="😕"
    /> Passe <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>
]]></description><link>https://www.c-plusplus.net/forum/post/600734</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/600734</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Mon, 06 Sep 2004 13:20:11 GMT</pubDate></item><item><title><![CDATA[Reply to Datensatz hinzufügen geht nicht on Mon, 06 Sep 2004 13:21:13 GMT]]></title><description><![CDATA[<p>kein Problem, aber trotzdem vielen dank für deine Mühen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/600736</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/600736</guid><dc:creator><![CDATA[Stgt]]></dc:creator><pubDate>Mon, 06 Sep 2004 13:21:13 GMT</pubDate></item><item><title><![CDATA[Reply to Datensatz hinzufügen geht nicht on Mon, 06 Sep 2004 13:29:21 GMT]]></title><description><![CDATA[<p>ich hätte da noch was anderes</p>
<p>wenn ich in die masken nichts eingebe und auf &quot;Hinzufügen &quot;klicke, soll eine Meldung kommmen dass man zuerst was eingeben soll<br />
Wie würde man so etwas machen?<br />
thx</p>
]]></description><link>https://www.c-plusplus.net/forum/post/600747</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/600747</guid><dc:creator><![CDATA[Stgt]]></dc:creator><pubDate>Mon, 06 Sep 2004 13:29:21 GMT</pubDate></item><item><title><![CDATA[Reply to Datensatz hinzufügen geht nicht on Tue, 07 Sep 2004 07:01:38 GMT]]></title><description><![CDATA[<p>also ich glaube es stimmt schon was du gesagt hast, irgendwas mit dem Update stimmt nicht. Und zwar in der AddNew Funktion. Da fehlt ein Update. Weiß nur nicht wo ich das hinsetzen soll.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/601273</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/601273</guid><dc:creator><![CDATA[Stgt]]></dc:creator><pubDate>Tue, 07 Sep 2004 07:01:38 GMT</pubDate></item></channel></rss>