Autor Beitrag
t.norge
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48

Win XP
D5 Enterpr., D7 Prof., D8 Prof.
BeitragVerfasst: Do 15.07.04 15:30 
Hilfe!

habe folgende qry geschrieben, sie wirft immer wieder den Fehler "Syntaxefehler in der INSERT INTO-Anweisung" aus. Warum nur? Das sieht doch richtig aus!? :(



ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
       qry := tadoquery.create(nil);
       qry.Connection := netzplanaufnahme.adoconnection;
       qry.SQL.text:='insert into GEOFluss(Flussname, position, x, y)'+
                     'values("Elbe",1,"1,45","1,36")';

       qry.ExecSQL;
       qry.Free;


meine Access-Tabelle hat folgendes Format:

GEOFluss(Flussindex, Flussname, Position,x,y)

Index : Autowert
Flusname : Text
Position : Integer
x,y : Double

Ich habe es auch schon mit Parameterübergabe versucht, klappt auch nicht... Langsam aber sicher dreh ich durch...

Kann mir da schnell jemand helfen?

Vielen Dank im Vorwege.

Torge
Udontknow
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2596

Win7
D2006 WIN32, .NET (C#)
BeitragVerfasst: Do 15.07.04 15:34 
Ganz ähnlich:

www.delphi-forum.de/...p;highlight=position :wink:

Cu,
Udontknow
t.norge Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48

Win XP
D5 Enterpr., D7 Prof., D8 Prof.
BeitragVerfasst: Do 15.07.04 15:39 
Die gute alte Position war schuld, jetzt heist sie Pos und es tuts!

Tausend Dank! Ich war echt schon kurz vorm Zusammenbruch...

Schöner Gruß

Torge