Operation =1
Option =0
Where ="(((EXLeadsTermine.Ergebnis) Is Not Null And (EXLeadsTermine.Ergebnis)<>\"Keine R"
    "ückmeldung\") AND ((qry_ErgebnisEnergie.Ergebnis)=\"12 Abschluß\") AND ((EXLeads"
    "Termine.Abschluss_Energy)=0))"
Begin InputTables
    Name ="EXLeadsTermine"
    Name ="qry_ErgebnisEnergie"
    Name ="tbl_kunden_solar"
End
Begin OutputColumns
    Alias ="Ergebnis1"
    Expression ="EXLeadsTermine.Ergebnis"
    Alias ="Ergebnis2"
    Expression ="qry_ErgebnisEnergie.Ergebnis"
    Expression ="EXLeadsTermine.[Werber / Web, TV]"
    Expression ="EXLeadsTermine.[Letzter Status]"
    Expression ="qry_ErgebnisEnergie.zurueck"
    Alias ="Ergebnis3"
    Expression ="IIf([Ergebnis1]=[Ergebnis2],[Ergebnis1],\"Falsch ausgewertet\")"
    Expression ="EXLeadsTermine.Abschluss_Energy"
    Expression ="EXLeadsTermine.KWEnergie"
    Expression ="EXLeadsTermine.mep_kd_nummer"
    Expression ="tbl_kunden_solar.bcs_kd_nummer"
End
Begin Joins
    LeftTable ="EXLeadsTermine"
    RightTable ="qry_ErgebnisEnergie"
    Expression ="EXLeadsTermine.Ergebnis = qry_ErgebnisEnergie.Ergebnis"
    Flag =2
    LeftTable ="tbl_kunden_solar"
    RightTable ="EXLeadsTermine"
    Expression ="tbl_kunden_solar.mep_kd_nummer = EXLeadsTermine.mep_kd_nummer"
    Flag =1
End
Begin OrderBy
    Expression ="EXLeadsTermine.Ergebnis"
    Flag =0
End
dbBoolean "ReturnsRecords" ="-1"
dbInteger "ODBCTimeout" ="60"
dbByte "RecordsetType" ="0"
dbBoolean "OrderByOn" ="0"
dbByte "Orientation" ="0"
dbByte "DefaultView" ="2"
Begin
    Begin
        dbText "Name" ="Ergebnis3"
        dbInteger "ColumnWidth" ="4575"
        dbBoolean "ColumnHidden" ="0"
    End
    Begin
        dbText "Name" ="EXLeadsTermine.[Letzter Status]"
        dbInteger "ColumnWidth" ="3360"
        dbBoolean "ColumnHidden" ="0"
    End
End
Begin
    State =2
    Left =-4
    Top =-30
    Right =1920
    Bottom =877
    Left =-1
    Top =-1
    Right =1913
    Bottom =144
    Left =0
    Top =0
    ColumnsShown =539
    Begin
        Left =1322
        Top =14
        Right =1656
        Bottom =113
        Top =0
        Name ="EXLeadsTermine"
        Name =""
    End
    Begin
        Left =925
        Top =-1
        Right =1021
        Bottom =113
        Top =0
        Name ="qry_ErgebnisEnergie"
        Name =""
    End
    Begin
        Left =596
        Top =9
        Right =692
        Bottom =123
        Top =0
        Name ="tbl_kunden_solar"
        Name =""
    End
End
