Registriert seit: 2. Apr 2004
162 Beiträge
|
Re: SQL Abfrage Formulieren! Hilfe...
27. Apr 2004, 01:25
Hier mein Aktueller Code....
Delphi-Quellcode:
qrMain.SQL.Text :=
'SELECT ' +
'T.Order_Type,' +
'T.Customer_Number,' +
'T.Order_Number,' +
'T.First_Event,' +
'T.LogIn,' +
'T.DPrint,' +
'T.Count_DPrint,' +
'T.Invoicing,' +
'T.PrePrint,' +
'T.Print,' +
'T.Cewe_Batch,' +
'T.Iqena_Batch,' +
'T.BMSLogout,' +
'K.Na,' +
'K.Customer_Number,' +
'K.Str,'+
'K.Ort,' +
'K.Tel,' +
'K.PFD,' +
'K.Fach_TAG,' +
'K.Fach_NAcht,' +
'K.Ap,' +
'K.PLZ ' +
'FROM ' +
'table_ordertracking T,' +
'kundenmg K ' +
'WHERE ' +
'T.Customer_Number=K.Customer_Number ' +
'AND ' +
'T.First_Event like ''' + edknr.Text + '''"%" ' +
'AND ' +
'T.First_Event like ''' + edatnr .Text + '''"%" ' +
'ORDER BY ' +
'T.First_Event;';
qrMain.Open;
[edit=Luckie]Delphi-Tags gefixed. Mfg, Luckie[/edit]
|
|
Zitat
|