Autor Beitrag
D. Annies
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 1843

windows 7
D6 Enterprise, D7 Pers und TD 2006
BeitragVerfasst: Sa 24.07.04 20:09 
Hallo, Delpher!

Ein Table wird zum Prgstart eingelesen und einem Stringgrid zugewiesen.

z.B. stringgrid1.cells[i,j] := table1.fieldbyname('Englisch').asstring;

Kann ich vor der Zuweisung prüfen, ob das Feld auch in dieser Tabelle existiert oder nicht und erst nach erfolgreicher Prüfung dem Stringgrid zuweisen?

Vielen Dank für eure Hilfe! :?

Detlef Annies
inselberg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 458



BeitragVerfasst: Mo 26.07.04 09:11 
FindField

_________________
hans bist du das ?
D. Annies Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 1843

windows 7
D6 Enterprise, D7 Pers und TD 2006
BeitragVerfasst: Mo 26.07.04 09:52 
Hi, Inselberg, - oder Insel mit zwei Bergen??

Danke für deine Antwort, jetzt habe ich sogar zwei gute Antworten in 10 Minuten bekommen, nach langem Warten!

Gruß, Detlef Annies
D. Annies Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 1843

windows 7
D6 Enterprise, D7 Pers und TD 2006
BeitragVerfasst: Mo 26.07.04 11:55 
Hi, Inselberg!

Leider war's das noch nicht ganz, jedenfalls nicht bei delphi3prof, ich bekomme eine Fehlermeldung - wie schade! Gibt's noch einen anderen Weg? :cry:

Gruß, Detlef Annies