Operation =1
Option =0
Where ="(((tbl_leads_energie_an_ad.lead_id_laa) Like \"MEP*\") AND ((tbl_leads_energie_a"
    "n_ad.uebergeben_am_leaa)=Date()))"
Begin InputTables
    Name ="tbl_leads_energie_an_ad"
    Name ="tbl_ad"
    Name ="tbl_bkmleads"
End
Begin OutputColumns
    Expression ="tbl_leads_energie_an_ad.lead_id_laa"
    Expression ="tbl_bkmleads.vorname"
    Expression ="tbl_bkmleads.name"
    Expression ="tbl_bkmleads.quelle"
    Expression ="tbl_bkmleads.importiert_am"
    Expression ="tbl_bkmleads.plz_daten"
    Expression ="tbl_ad.AD"
    Expression ="tbl_leads_energie_an_ad.ad_id_laa"
    Expression ="tbl_leads_energie_an_ad.uebergeben_am_leaa"
    Expression ="tbl_leads_energie_an_ad.Quelle"
    Expression ="tbl_leads_energie_an_ad.Lead_ID_2"
End
Begin Joins
    LeftTable ="tbl_leads_energie_an_ad"
    RightTable ="tbl_ad"
    Expression ="tbl_leads_energie_an_ad.ad_id_laa = tbl_ad.ID"
    Flag =1
    LeftTable ="tbl_leads_energie_an_ad"
    RightTable ="tbl_bkmleads"
    Expression ="tbl_leads_energie_an_ad.lead_id_laa = tbl_bkmleads.mep_vertragsnummer"
    Flag =1
End
Begin OrderBy
    Expression ="tbl_ad.AD"
    Flag =0
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 =1920
    Bottom =1006
    Left =-1
    Top =-1
    Right =1917
    Bottom =144
    Left =0
    Top =0
    ColumnsShown =539
    Begin
        Left =38
        Top =6
        Right =512
        Bottom =115
        Top =6
        Name ="tbl_leads_energie_an_ad"
        Name =""
    End
    Begin
        Left =945
        Top =2
        Right =1041
        Bottom =111
        Top =4
        Name ="tbl_ad"
        Name =""
    End
    Begin
        Left =658
        Top =4
        Right =754
        Bottom =113
        Top =4
        Name ="tbl_bkmleads"
        Name =""
    End
End
