Operation =1
Option =0
Where ="(((tbl_kunden_solar.mep_kd_nummer)=[Lead ID angeben]))"
Begin InputTables
    Name ="tbl_energievertrag"
    Name ="tbl_statustabelle"
    Name ="tbl_kunden_solar"
End
Begin OutputColumns
    Expression ="tbl_energievertrag.MEP_Vertragsnummer"
    Expression ="tbl_statustabelle.KD_NR"
    Expression ="tbl_statustabelle.Status_NR"
    Expression ="tbl_kunden_solar.mep_kd_nummer"
End
Begin Joins
    LeftTable ="tbl_energievertrag"
    RightTable ="tbl_statustabelle"
    Expression ="tbl_energievertrag.Status_NR = tbl_statustabelle.Status_NR"
    Flag =1
    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
End
Begin
    State =2
    Left =-4
    Top =-25
    Right =3440
    Bottom =1265
    Left =-1
    Top =-1
    Right =3437
    Bottom =144
    Left =0
    Top =0
    ColumnsShown =539
    Begin
        Left =38
        Top =6
        Right =134
        Bottom =115
        Top =37
        Name ="tbl_energievertrag"
        Name =""
    End
    Begin
        Left =518
        Top =24
        Right =614
        Bottom =133
        Top =0
        Name ="tbl_statustabelle"
        Name =""
    End
    Begin
        Left =730
        Top =17
        Right =826
        Bottom =126
        Top =0
        Name ="tbl_kunden_solar"
        Name =""
    End
End
