Operation =1
Option =0
Where ="(((tbl_statustabelle.Termindatum) Between [Formulare]![frmAnalyse]![Von] And [Fo"
    "rmulare]![frmAnalyse]![Bis]) AND ((tbl_statustabelle.Status)=\"Termin Energie VK"
    "\" Or (tbl_statustabelle.Status)=\"Termin Energie Nachholer\") AND ((tbl_statust"
    "abelle.AD) Like [Formulare]![frmAnalyse]![AD]) AND ((tbl_statustabelle.Ergebnis)"
    " Like [Formulare]![frmAnalyse]![Ergebnis]))"
Begin InputTables
    Name ="tbl_statustabelle"
    Name ="tbl_kunden"
    Name ="tbl_kunden_solar"
    Name ="tbl_ad"
    Name ="qry_RL"
End
Begin OutputColumns
    Expression ="tbl_statustabelle.KD_NR"
    Expression ="tbl_kunden_solar.mep_kd_nummer"
    Expression ="tbl_statustabelle.Terminierer"
    Expression ="tbl_statustabelle.Termindatum"
    Expression ="tbl_statustabelle.Status"
    Expression ="tbl_statustabelle.AD"
    Expression ="tbl_statustabelle.Ergebnis"
    Expression ="tbl_statustabelle.[WV Bemerkung]"
    Expression ="tbl_statustabelle.ID_TA"
    Expression ="tbl_kunden_solar.kd_anrede"
    Expression ="tbl_kunden_solar.kd_vorname"
    Expression ="tbl_kunden_solar.kd_nachname"
    Expression ="tbl_kunden_solar.kd_rufnummer_privat_1"
    Expression ="tbl_kunden_solar.obj_strasse"
    Expression ="tbl_kunden_solar.obj_hausnummer"
    Expression ="tbl_kunden_solar.obj_postleitzahl"
    Expression ="tbl_kunden_solar.obj_wohnort"
    Expression ="qry_RL.Regionalleiter"
End
Begin Joins
    LeftTable ="tbl_statustabelle"
    RightTable ="tbl_kunden"
    Expression ="tbl_statustabelle.KD_NR = tbl_kunden.KD_NR"
    Flag =1
    LeftTable ="tbl_kunden"
    RightTable ="tbl_kunden_solar"
    Expression ="tbl_kunden.KD_NR = tbl_kunden_solar.bcs_kd_nummer"
    Flag =2
    LeftTable ="tbl_statustabelle"
    RightTable ="tbl_ad"
    Expression ="tbl_statustabelle.AD = tbl_ad.AD"
    Flag =1
    LeftTable ="tbl_ad"
    RightTable ="qry_RL"
    Expression ="tbl_ad.Regionalleiter = qry_RL.ID"
    Flag =1
End
Begin OrderBy
    Expression ="tbl_statustabelle.AD"
    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" ="tbl_statustabelle.Ergebnis"
        dbInteger "ColumnWidth" ="2895"
        dbBoolean "ColumnHidden" ="0"
    End
    Begin
        dbText "Name" ="tbl_statustabelle.[WV Bemerkung]"
        dbInteger "ColumnWidth" ="13575"
        dbBoolean "ColumnHidden" ="0"
    End
End
Begin
    State =2
    Left =-4
    Top =-25
    Right =3440
    Bottom =1220
    Left =-1
    Top =-1
    Right =3437
    Bottom =144
    Left =0
    Top =7
    ColumnsShown =539
    Begin
        Left =38
        Top =-1
        Right =236
        Bottom =108
        Top =2
        Name ="tbl_statustabelle"
        Name =""
    End
    Begin
        Left =274
        Top =-1
        Right =370
        Bottom =108
        Top =3
        Name ="tbl_kunden"
        Name =""
    End
    Begin
        Left =533
        Top =-10
        Right =629
        Bottom =99
        Top =27
        Name ="tbl_kunden_solar"
        Name =""
    End
    Begin
        Left =812
        Top =-1
        Right =988
        Bottom =108
        Top =45
        Name ="tbl_ad"
        Name =""
    End
    Begin
        Left =1805
        Top =6
        Right =1901
        Bottom =85
        Top =0
        Name ="qry_RL"
        Name =""
    End
End
