Operation =1
Option =0
Where ="(((tbl_kunden_solar.mep_kd_nummer)=[Lead ID eingeben]) AND ((tbl_statustabelle.S"
    "tatus)=\"Termin Energie VK\" Or (tbl_statustabelle.Status)=\"Termin Energie Nach"
    "holer\") AND ((tbl_statustabelle.Ergebnis)=\"12 Abschluß\")) OR (((tbl_kunden_so"
    "lar.mep_kd_nummer)=[Lead ID eingeben]) AND ((tbl_statustabelle.Status)=\"WV Ener"
    "gie Eigene Bearbeitung\"))"
Begin InputTables
    Name ="tbl_statustabelle"
    Name ="tbl_kunden_solar"
End
Begin OutputColumns
    Expression ="tbl_kunden_solar.mep_kd_nummer"
    Expression ="tbl_statustabelle.Status"
    Expression ="tbl_statustabelle.Ergebnis"
End
Begin Joins
    LeftTable ="tbl_statustabelle"
    RightTable ="tbl_kunden_solar"
    Expression ="tbl_statustabelle.KD_NR = tbl_kunden_solar.bcs_kd_nummer"
    Flag =1
End
dbBoolean "ReturnsRecords" ="-1"
dbInteger "ODBCTimeout" ="60"
dbByte "RecordsetType" ="0"
dbBoolean "OrderByOn" ="0"
dbByte "Orientation" ="0"
dbByte "DefaultView" ="2"
Begin
    Begin
        dbText "Name" ="tbl_statustabelle.Status"
        dbInteger "ColumnWidth" ="2985"
        dbBoolean "ColumnHidden" ="0"
    End
    Begin
        dbText "Name" ="tbl_statustabelle.Ergebnis"
        dbInteger "ColumnWidth" ="1920"
        dbBoolean "ColumnHidden" ="0"
    End
End
Begin
    State =2
    Left =-4
    Top =-25
    Right =3440
    Bottom =1220
    Left =-1
    Top =-1
    Right =3433
    Bottom =144
    Left =0
    Top =0
    ColumnsShown =539
    Begin
        Left =38
        Top =6
        Right =233
        Bottom =115
        Top =12
        Name ="tbl_statustabelle"
        Name =""
    End
    Begin
        Left =438
        Top =8
        Right =534
        Bottom =117
        Top =0
        Name ="tbl_kunden_solar"
        Name =""
    End
End
