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 01.12.12 19:28 
Hi, Delpher,

was ist an dem folgenden SQL-Befehl falsch??

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
  QSchueler2.Close;
      QSchueler2.sql.text := format('select NR, NAME, VORNAME, KLASSE, GESCHLECHT, GEBDAT, TELEFON, EMPFEHLUNG from "%s" ' +
                                    'where NR = :Nr order by Name', [TbSchueler.tablename]);
      QSchueler2.ParamByName('Nr').AsString := tntstringgrid1.Cells[0,n];
  QSchueler2.open;


Vielen Dank,
Detlef

_________________
ut vires desint, tamen est laudanda voluntas
platzwart
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1054
Erhaltene Danke: 78

Win 7, Ubuntu 9.10
Delphi 2007 Pro, C++, Qt
BeitragVerfasst: Sa 01.12.12 20:22 
Wie lautet denn die Fehlermeldung?

_________________
Wissenschaft schafft Wissenschaft, denn Wissenschaft ist Wissenschaft, die mit Wissen und Schaffen Wissen schafft. (myself)
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: Sa 01.12.12 20:37 
Operand Type Mismatch

_________________
ut vires desint, tamen est laudanda voluntas