Autor Beitrag
Sir.Snyder
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 19

Win 2000
D7 Prof
BeitragVerfasst: Di 29.07.03 10:18 
Hallo Leute,

ich will mit einem Table die Verknüpfung zur Datenbank hergestellt, aber leider mußte ich nun feststellen, dass ich dort schlecht SQL Abfragen machen kann, daher bin ich gerade dabei, das ganze mit einem TQuery zu basteln. Die Connection zur DB steht schon, das war nicht so das Problem, aber mein Problem ist es nun Daten in die DB zu schreiben. Mit dem Insert Befehl klappt es irgendwie nicht.

Könnt ihr mir helfen?

christian
Nightfly
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 163



BeitragVerfasst: Di 29.07.03 10:22 
Bist du sicher das du SQL brauchst? Was willst du denn machen? Guck dir mal die eigenschaft Filter von TTable an, vielleicht hilft dir das schon weiter?
Sir.Snyder Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 19

Win 2000
D7 Prof
BeitragVerfasst: Di 29.07.03 10:34 
Ich bin mir sicher, das ich SQL brauche, weil ich auch Abfragen über mehrere Tabellen machen muß und so wie ich es verstanden habe, geht die Filter Eigenschaft nur auf eine Tabelle.
neojones
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1206
Erhaltene Danke: 1



BeitragVerfasst: Di 29.07.03 10:43 
Meinst Du, du machst ein Query1.Insert; oder versuchst Du ein SQL-Insert-Statement?

Ersteres geht nicht, sobald man Joins hat, egal ob Left, Right oder Equi.

Wenn Du ein Statement meinst: Was bringt er für einen Fehler?

_________________
Ha! Es compiliert! Wir können ausliefern!
derDoc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 623

Win Vista Prof
D2007 Prof
BeitragVerfasst: Di 29.07.03 11:17 
Interessant wäre auch, was für eine Datenbank du benutzt. Bei MySQL sollte es kein Problem geben.

_________________
MfG derDoc
There are only 10 types of people: those who understand binary and those who don't.