Abfrage aus Access 2003 Tabelle nach MySQL

TheobaldTiger

Grünschnabel
Hallo zusammen,

ich irgendjemand hier kann mir bei meinem Problem helfen:

Ich habe eine MySQL Datenbank (5.0) mit einem Access 2003 Frontend. Ich möchte aus einem Formular eine Abfrage starten, die sich auf ein Feld dieses Formulars bezieht. Ich bekomme immer Fehlermeldungen, daß die Syntax des "WHERE" nicht stimmt. Hier ist der Befehl (Ohne die WHERE-Bedingung funktioniert er!):

SQL = "SELECT * " & _
"FROM (((t01_pcr_data LEFT JOIN t12_notes_creation ON t01_pcr_data.t01_Notes_Creation_ID = t12_notes_creation.t12_Notes_Creation_ID) LEFT JOIN t13_notes_closed ON t01_pcr_data.t01_Notes_Closed_ID = t13_notes_closed.t13_Notes_Closed_ID) LEFT JOIN t10_part_information ON t01_pcr_data.t01_Part_Information_ID = t10_part_information.t10_Part_Info_ID) LEFT JOIN t11_project_information ON t01_pcr_data.t01_Project_Info_ID = t11_project_information.t11_Project_Information_ID " & _
"WHERE t01_pcr_data.t01_PCR_ID = Me.t01_PCR_ID;"


Kann mir vielleicht jemand einen Tipp geben?

Danke und Gruß,
Thomas
 

Neue Beiträge

Zurück