Autor Beitrag
recall
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 449



BeitragVerfasst: Fr 15.08.03 09:04 
Hallo,

Ich wüsste gerne, wie man die Feldnamen (quasi Spaltenüberschriften) einer Tabelle bekommt, ohne einen Datensatz anzufordern ?
Und wie kriege ich raus, welche domain für welche Spalte erlaubt ist ?

Ich verwende D7 und die IBX-Kompos.
(Für schnelle Antwort wäre ich echt dankbar :) ).

Viele Grüsse.
Lemmy
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 792
Erhaltene Danke: 49

Windows 7 / 10; CentOS 7; LinuxMint
Delphi 7-XE10.1, VS 2015
BeitragVerfasst: Fr 15.08.03 11:34 
Hi,

schau Dir mal die Methoden "GetFieldNames" und "FieldDefs" der TIBDataSet an.


Grüße
Lemmy

P.S.: Diesmal nix automatisches... :-(
recall Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 449



BeitragVerfasst: Sa 16.08.03 08:14 
Zitat:
P.S.: Diesmal nix automatisches...

Das wär auch komisch gewesen ;) .
Ich würde meiner DB was husten, wenn sie ständig automatisch alle Feld und domaintypen anfordert (*überlast...*).

Vielen Dank für die Antwort.

Viele Grüsse.
recall Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 449



BeitragVerfasst: Sa 16.08.03 21:23 
Habs mir angeschaut, aber noch nicht ausprobiert ;) .
Ich denke aber mal, dass das kein Problem sein wird.

Viele Grüsse.