Autor Beitrag
Bronstein
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 578
Erhaltene Danke: 1

WIN XP
Delphi 6 / Delphi 2006 / Delphi XE
BeitragVerfasst: Fr 30.06.06 13:32 
Habe folgende Abfrage:
Select Type From tblLogbuch, tblMaschine, tblPerson, tblStoerung Where tblLogbuch.PersID = tblPerson.PersID and tblLogbuch.M_ID = tblMaschine.M_ID and tblLogbuch.tblStoerID = tblStoerung.StoerID and Type Like '*' and tblLogbuch.M_ID Like '*' and tblPerson.PersID Like '*' and tblLogbuch.tblStoerID Like 17

Diese geht in Delphi und zeigt mir Datensätze an. In Delphi habe ich eine ADOQuery mit derselben Abfrage doch da bekomme ich keine Daten.

Die Abfrage ist auf Active true und die Datenbank ist verbunden.

Wo ist da mein Fehler

_________________
Es gibt keine dummen Fragen nur dumme Antworten!!!
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Fr 30.06.06 13:37 
Der SQL-Platzhalter ist normalerweise % nicht *.

_________________
Markus Kinzler.
Bronstein Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 578
Erhaltene Danke: 1

WIN XP
Delphi 6 / Delphi 2006 / Delphi XE
BeitragVerfasst: Fr 30.06.06 14:01 
Danke,
hab mir die Frage halt in Access zusammengebastelt und dann dies vergessen.

_________________
Es gibt keine dummen Fragen nur dumme Antworten!!!