Autor Beitrag
Millo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 147



BeitragVerfasst: Fr 29.11.02 16:17 
Moin MOin,

Ich hab nen komisches Problem wenn ich versuche einen Index über die Programmoberfläche hinzuzufügen wird sie zwar erst in der Objekt hirachie angezeigt aber sobald ich in den Eigenschaften auf "Table Name" gehe wird nichts angezeigt und der Index verschwindet aus der Objekt hirachie. Wenn ich versuche zur laufzeit TableName festzulegen kommt der Fehler das die Tabelle nicht vorhanden ist.
MrSpock
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 262



BeitragVerfasst: Sa 30.11.02 22:34 
Hallo Millo,

welche Programmoberfläche meinst du? Wie fügst du dort den Index hinzu?

_________________
Live long and prosper
MrSpock \\//
Millo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 147



BeitragVerfasst: So 01.12.02 01:35 
ich meine über die Delphi Oberfläche und da im Objekinspektor
MrSpock
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 262



BeitragVerfasst: So 01.12.02 10:32 
Hallo Millo,

ich nehme an, du hast im Objektinspektor die Eigenschaft einer TTable Komponente eingestellt hast. Du kannst bei einer TTable nur einen existierenden Index auswählen und keinen neuen erstellen. Erstellen kannst du einen Index am einfachsten über die Datenbankoberfläche. Dort wählst du Tools|Tabelle umstrukturieren. Dann kannst du den neuen Index im Objektinspektor auswählen. Alternativ kann ein Index auch zur Laufzeit gewechselt oder sogar neu erstellt werden. Letzteres erreichst du mit AddIndex.

_________________
Live long and prosper
MrSpock \\//