<?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[Table1-&amp;gt;Refresh()]]></title><description><![CDATA[<p>Hallo,</p>
<p>nachdem ich einen neuen Datensatz in der Datenbank erstellt habe, möchte ich daß die Tabelle welche die Datensätze anzeigt &quot;refreshed&quot; wird.<br />
Leider erhalte ich dabei die Fehlermeldung ...Operation wird nicht unterstützt, Tabelle ist nicht eindeutig indiziert.<br />
Was mache ich falsch?</p>
<pre><code class="language-cpp">void __fastcall TForm2::Button1Click(TObject *Sender)
{
 TStringList *Zeit = new TStringList;
 Zeit-&gt;Text=DateTimeToStr(DateTimePicker1-&gt;DateTime);
 if (CheckBox1-&gt;Checked)
    {
    Information=&quot;Niemand informiert&quot;;
    }
 if (CheckBox4-&gt;Checked) {Information=&quot;FFM&quot;;}
 if (CheckBox5-&gt;Checked) {Information = Information+&quot; IH&quot;;}
 if (CheckBox6-&gt;Checked) {Information = Information+&quot; Fertigung&quot;;}
 Table1-&gt;InsertRecord (ARRAYOFCONST((Zeit-&gt;Text,ComboBox1-&gt;Text ,
 ComboBox2-&gt;Text ,ComboBox3-&gt;Text , Aenderungsart,Memo1-&gt;Text ,
 Memo2-&gt;Text ,Edit1-&gt;Text ,Edit2-&gt;Text , Funktionstest, Datensicherung,
 Fahrzeugtyp, Information, Edit4-&gt;Text, Aenderung)));
 Table1-&gt;Refresh();
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/160134/table1-gt-refresh</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 04:26:42 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/160134.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 22 Sep 2006 10:23:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Table1-&amp;gt;Refresh() on Fri, 22 Sep 2006 10:23:20 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>nachdem ich einen neuen Datensatz in der Datenbank erstellt habe, möchte ich daß die Tabelle welche die Datensätze anzeigt &quot;refreshed&quot; wird.<br />
Leider erhalte ich dabei die Fehlermeldung ...Operation wird nicht unterstützt, Tabelle ist nicht eindeutig indiziert.<br />
Was mache ich falsch?</p>
<pre><code class="language-cpp">void __fastcall TForm2::Button1Click(TObject *Sender)
{
 TStringList *Zeit = new TStringList;
 Zeit-&gt;Text=DateTimeToStr(DateTimePicker1-&gt;DateTime);
 if (CheckBox1-&gt;Checked)
    {
    Information=&quot;Niemand informiert&quot;;
    }
 if (CheckBox4-&gt;Checked) {Information=&quot;FFM&quot;;}
 if (CheckBox5-&gt;Checked) {Information = Information+&quot; IH&quot;;}
 if (CheckBox6-&gt;Checked) {Information = Information+&quot; Fertigung&quot;;}
 Table1-&gt;InsertRecord (ARRAYOFCONST((Zeit-&gt;Text,ComboBox1-&gt;Text ,
 ComboBox2-&gt;Text ,ComboBox3-&gt;Text , Aenderungsart,Memo1-&gt;Text ,
 Memo2-&gt;Text ,Edit1-&gt;Text ,Edit2-&gt;Text , Funktionstest, Datensicherung,
 Fahrzeugtyp, Information, Edit4-&gt;Text, Aenderung)));
 Table1-&gt;Refresh();
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1142427</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1142427</guid><dc:creator><![CDATA[wollvieh]]></dc:creator><pubDate>Fri, 22 Sep 2006 10:23:20 GMT</pubDate></item><item><title><![CDATA[Reply to Table1-&amp;gt;Refresh() on Fri, 22 Sep 2006 10:51:38 GMT]]></title><description><![CDATA[<p>Nun, wie die Fehlermeldung schon sagt, die Tabelle hat keine eindeutigen Index. Es fehlt der 'Primary Key'. Dies ist ein Feld, über den ein Datensatz eindeutig identifiziert werden kann. Wenn keines der vorhandenen Felder dazu verwendet werden kann, fügt man einfach eine weitere Spalte ein, Integer, AutoInc und macht diese zum Primärindex. Notfalls kann auch ein zusammengesetzter Schlüssel aus mehreren anderen Feldern verwendet werden, würde ich aber von abraten.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1142442</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1142442</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Fri, 22 Sep 2006 10:51:38 GMT</pubDate></item><item><title><![CDATA[Reply to Table1-&amp;gt;Refresh() on Fri, 22 Sep 2006 12:08:46 GMT]]></title><description><![CDATA[<p>Ja Himmel, sowas dummes!<br />
Danke für die schnelle Antwort - hat schon geholfen!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1142490</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1142490</guid><dc:creator><![CDATA[wollvieh]]></dc:creator><pubDate>Fri, 22 Sep 2006 12:08:46 GMT</pubDate></item></channel></rss>