<?xml version="1.0" encoding="utf-8" standalone="no"?>
<TfrxReport Version="2026.1.6" DotMatrixReport="False" EngineOptions.DoublePass="True" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Maximized="False" PreviewOptions.Zoom="1" PrintOptions.Printer="Color DIN A3" PrintOptions.PrintOnSheet="0" ReportOptions.CreateDate="39414,5702933218" ReportOptions.Description.Text="" ReportOptions.LastChange="46324,420180463" ScriptLanguage="PascalScript" ScriptText.Text="var&#13;&#10;  BrStufe,Vergleich,Ueberschrift: string;&#13;&#10;  StandardFontSizes: TStringList;&#13;&#10;&#13;&#10;procedure weiterOnClick(Sender: TfrxComponent);&#13;&#10;var&#13;&#10;  order,ohne,mit: string;&#13;&#10;&#13;&#10;const&#13;&#10;  SQLSTMT = &#39;SELECT l.*,p.*&#39;+&#13;&#10;  &#39;,if(DienstbezeichnungId in (710,806,807),&#34;Le&#34;,if(DienstbezeichnungId=718,&#34;StR&#34;,if(DienstbezeichnungId=735,&#34;OStR&#34;&#39;+&#13;&#10;  &#39;,if(DienstbezeichnungId=772,&#34;Ref&#34;,if(DienstbezeichnungId in (753,754),&#34;StD&#34;&#39;+&#13;&#10;  &#39;,if(DienstbezeichnungId=716,&#34;RL&#34;,if(DienstbezeichnungId=766,&#34;OStD&#34;,if(DienstbezeichnungId in (728,748),&#34;Rek&#34;&#39;+&#13;&#10;  &#39;,if(DienstbezeichnungId in (721,722,727,741),&#34;KRek&#34;,if(DienstbezeichnungId in (733,745),&#34;RKRek&#34;&#39;+&#13;&#10;  &#39;,if(DienstbezeichnungId in (769),&#34;LAnw&#34;,if(DienstbezeichnungId in (815),&#34;Mit&#34;,if(DienstbezeichnungId in (700),&#34;LeFP&#34;&#39;+&#13;&#10;  &#39;,if(DienstbezeichnungId in (737),&#34;FaBL&#34;,if(DienstbezeichnungId in (765),&#34;DirGes&#34;,if(DienstbezeichnungId in (759,764),&#34;DirSt&#34;&#39;+&#13;&#10;  &#39;,if(DienstbezeichnungId in (784,785),&#34;LeA&#34;,&#34;&#34;))))))))))))))))) Dienstbez&#39;+&#13;&#10;  &#39;,(select Kennzahl from fach where Id=l.FachId1) F1&#39;+&#13;&#10;  &#39;,(select Kennzahl from fach where Id=l.FachId2) F2&#39;+&#13;&#10;  &#39;,(select Kennzahl from fach where Id=l.FachId3) F3&#39;+&#13;&#10;  &#39; FROM lehrer l inner join person p on l.Id=p.Id&#39;+&#13;&#10;  &#39; where p.Deleted=0 &#39;;&#13;&#10;&#13;&#10;&#13;&#10;begin&#13;&#10;&#13;&#10;  if CheckBox1.checked=false then ohne:=&#39; and AbgeordnetAn=&#34;&#34;&#39;;&#13;&#10;  if CheckBox2.checked=false then ohne:=ohne+&#39; and (Abgang is null or Abgang&#62;current_date())&#39;;&#13;&#10;  if CheckBox3.checked=false then ohne:=ohne+&#39; and ZZBeurlaubt=0&#39;;&#13;&#10;  if CheckBox4.checked=true then&#13;&#10;  begin&#13;&#10;       mit:=&#39; and Lehrkraft=1&#39;;&#13;&#10;       Ueberschrift:=&#39;Lehrerinnen und Lehrer&#39;;&#13;&#10;       if Checkbox5.checked=true then&#13;&#10;       begin&#13;&#10;         mit:=&#39;&#39;;&#13;&#10;         Ueberschrift:=&#39;Lehrerinnen und Lehrer sowie Mitarbeiterinnen und Mitarbeiter&#39;;&#13;&#10;       end;&#13;&#10;  end;&#13;&#10;  if (CheckBox4.checked=false) and (Checkbox5.checked=true) then&#13;&#10;  begin&#13;&#10;    mit:=&#39; and Lehrkraft=0&#39;;&#13;&#10;    Ueberschrift:=&#39;Mitarbeiterinnen und Mitarbeiter&#39;;&#13;&#10;  end;&#13;&#10;&#13;&#10;&#13;&#10;  if CheckBox6.checked=false then ohne:=ohne+&#39; and Beamter=0&#39;;&#13;&#10;  if CheckBox7.checked=false then ohne:=ohne+&#39; and Probezeit=0&#39;;&#13;&#10;  if CheckBox8.checked=false then ohne:=ohne+&#39; and Neuaufnahme=0&#39;;&#13;&#10;&#13;&#10;&#13;&#10;  if namvor.checked then&#13;&#10;       order := &#39;Nachname,Rufname&#39;;&#13;&#10;  if geschlecht.checked then&#13;&#10;       order := &#39;Geschlecht desc,Nachname,Rufname&#39;;&#13;&#10;  if kuerzel.checked then&#13;&#10;       order := &#39;Kuerzel&#39;;&#13;&#10;  if gebdat.checked then&#13;&#10;       order := &#39;substr(Geburtsdatum,6,5)&#39;;&#13;&#10;  if alter.checked then&#13;&#10;       order := &#39;Geburtsdatum&#39;;&#13;&#10;&#13;&#10;  q1.SQL.Text := SQLSTMT + ohne + mit +&#39; order by &#39;+order;&#13;&#10;  //showmessage (lq.SQL.Text);&#13;&#10;&#13;&#10;&#13;&#10;  //Lehrerkontaktdaten&#13;&#10;  kontakt.SQL.Text:=&#39;select * from kontakt where BerichtsStufe&#39;+Vergleich+BrStufe+&#39; and NurIntern=0 order by Berichtsstufe,Art,Adresse&#39;;&#13;&#10;  //showmessage(qk.SQL.Text);&#13;&#10;&#13;&#10;  if mGebDat.checked then&#13;&#10;    memo18.visible:=true;&#13;&#10;&#13;&#10;  if mDienstbez.checked then&#13;&#10;    memo2.visible:=true;&#13;&#10;&#13;&#10;  if mFaecher.checked then&#13;&#10;    memo9.visible:=true&#13;&#10;  else&#13;&#10;    memo13.autowidth:=true;&#13;&#10;&#13;&#10;  if mFunktion.checked=true then&#13;&#10;    memo3.visible:=true;&#13;&#10;  sort.ModalResult := mrOk;&#13;&#10;end;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;procedure sortOnActivate(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10; BrStufe:=Edit1.Text;&#13;&#10; Vergleich:=&#39;=&#39;;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure StufeKleinerGleichOnClick(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if StufeKleinerGleich.checked then&#13;&#10;     Vergleich:=&#39;&#60;=&#39;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure StufeGleichOnClick(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if StufeGleich.checked then&#13;&#10;     Vergleich:=&#39;=&#39;&#13;&#10;end;&#13;&#10;&#13;&#10;&#13;&#10;procedure Edit1OnChange(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10; BrStufe:=Edit1.Text;&#13;&#10;  GroupBox3.enabled:=true;&#13;&#10;  StufeKleinerGleich.enabled:=true;&#13;&#10;  StufeGleich.enabled:=true;&#13;&#10;  Vergleich:=&#39;&#60;=&#39;;&#13;&#10;end;&#13;&#10;&#13;&#10;&#13;&#10;procedure mDienstbezOnClick(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if mDienstbez.checked then&#13;&#10;  begin&#13;&#10;     mFunktion.checked:=false;&#13;&#10;     mFunktion.enabled:=false;&#13;&#10;  end&#13;&#10;  else&#13;&#10;  begin&#13;&#10;     if mFaecher.checked=false then mFunktion.enabled:=true;&#13;&#10;  end&#13;&#10;end;&#13;&#10;&#13;&#10;procedure mFaecherOnClick(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if mFaecher.checked then&#13;&#10;  begin&#13;&#10;     mFunktion.checked:=false;&#13;&#10;     mFunktion.enabled:=false;&#13;&#10;  end&#13;&#10;  else&#13;&#10;  begin&#13;&#10;     if mDienstbez.checked=false then mFunktion.enabled:=true;&#13;&#10;  end&#13;&#10;end;&#13;&#10;&#13;&#10;procedure mFunktionOnClick(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if mFunktion.checked then&#13;&#10;  begin&#13;&#10;    mFaecher.checked:=false;&#13;&#10;    mFaecher.enabled:=false;&#13;&#10;    mDienstbez.checked:=false;&#13;&#10;    mDienstbez.enabled:=false;&#13;&#10;  end&#13;&#10;  else&#13;&#10;  begin&#13;&#10;    mFaecher.enabled:=true;&#13;&#10;    mDienstbez.enabled:=true;&#13;&#10;  end;&#13;&#10;end;&#13;&#10;&#13;&#10;// Hilfsprozedur: Passt die Schriftgröße eines beliebigen Memos dynamisch an&#13;&#10;procedure AutoScaleMemoFont(M: TfrxMemoView; StandardSize: Integer);&#13;&#10;const&#13;&#10;  MindestGroesse = 6;&#13;&#10;begin&#13;&#10;  { Schriftgröße und Standardwerte zurücksetzen }&#13;&#10;  M.Font.Size := StandardSize;&#13;&#10;  M.GapY := 1;&#13;&#10;  M.Valign := vaCenter;&#13;&#10;&#13;&#10;  // Bei mehrzeiligen Feldern ist es besser die Berechnung der Font-Größe über die Höhe des Feldes zu machen!&#13;&#10;  while (M.CalcHeight &#62; M.Height + 4) and (M.Font.Size &#62; 6) do&#13;&#10;    M.Font.Size := M.Font.Size - 1;&#13;&#10;&#13;&#10;  // Vertikal-Anpassung bei kleiner Schrift (ist normalerweise nicht nötig, da FastReport das selber gut ausrichtet)!&#13;&#10;  //  if M.Font.Size &#60;= 8 then&#13;&#10;  //  begin&#13;&#10;  //    M.GapY := 5;&#13;&#10;  //    M.Valign := vaTop;&#13;&#10;  //  end;&#13;&#10;end;&#13;&#10;&#13;&#10;procedure frxReportOnStartReport(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10;  if StandardFontSizes = nil then&#13;&#10;    StandardFontSizes := TStringList.Create&#13;&#10;  else&#13;&#10;    StandardFontSizes.Clear;&#13;&#10;&#13;&#10;  // Hier JEDES Feld eintragen, das dynamisch angepasst werden soll:&#13;&#10;  StandardFontSizes.Values[&#39;Memo7&#39;] := IntToStr(Memo7.Font.Size);&#13;&#10;  StandardFontSizes.Values[&#39;Memo8&#39;] := IntToStr(Memo8.Font.Size);&#13;&#10;  StandardFontSizes.Values[&#39;Memo13&#39;] := IntToStr(Memo13.Font.Size);&#13;&#10;end;&#13;&#10;&#13;&#10;// Zentraler Event-Handler für alle betroffenen Textfelder&#13;&#10;procedure DynamicFontOnAfterData(Sender: TfrxComponent);&#13;&#10;var&#13;&#10;  M: TfrxMemoView;&#13;&#10;  StdSize: Integer;&#13;&#10;  ValStr: String;&#13;&#10;begin&#13;&#10;  M := TfrxMemoView(Sender);&#13;&#10;  ValStr := StandardFontSizes.Values[M.Name];&#13;&#10;&#13;&#10;  // Hier können Besonderheiten bei einzelnen Feldern eingetragen werden ...&#13;&#10;  // ...&#13;&#10;&#13;&#10;  // Prüfen, ob für das Feld eine Schriftgröße hinterlegt wurde, sonst Fallback auf 10&#13;&#10;  if ValStr &#60;&#62; &#39;&#39; then&#13;&#10;    StdSize := StrToInt(ValStr)&#13;&#10;  else&#13;&#10;    StdSize := 10;&#13;&#10;&#13;&#10;  AutoScaleMemoFont(M, StdSize);&#13;&#10;end;&#13;&#10;begin&#13;&#10;&#13;&#10;end." StoreInDFM="False" OnStartReport="frxReportOnStartReport">
  <Datasets>
    <item DataSet="q1" DataSetName="q1"/>
    <item DataSet="s1" DataSetName="s1"/>
    <item DataSet="adresse" DataSetName="adresse"/>
    <item DataSet="ort" DataSetName="ort"/>
    <item DataSet="kontakt" DataSetName="kontakt"/>
    <item DataSet="d" DataSetName="d"/>
  </Datasets>
  <TfrxDataPage Name="Data" HGuides.Text="" VGuides.Text="" Height="1000" Left="0" Top="0" Width="1000">
    <TfrxMYDACQuery Name="q1" UserName="q1" CloseDataSource="True" BCDToCurrency="False" DataSetOptions="0" Left="100" Top="40" IgnoreDupParams="False" SQL.Text="####&#13;&#10;#### wird zur Laufzeit veraendert&#13;&#10;####  &#13;&#10;SELECT l.*,p.*&#13;&#10;,if (DienstbezeichnungId=710,&#34;Le&#34;,&#34;&#34;) Dienstbez&#13;&#10;,(select Kennzahl from fach where Id=l.FachId1) F1&#13;&#10;,(select Kennzahl from fach where Id=l.FachId2) F2  &#13;&#10;,(select Kennzahl from fach where Id=l.FachId3) F3&#13;&#10;FROM lehrer l&#13;&#10;left join person p on l.Id=p.Id &#13;&#10;where p.Deleted=0" SQLSchema="eAGLdkksSXRKLE6N5eUKDvSxtbAwMzEzMDE35OWKDklMykktBkqk2KYk5mUW6xiagpCRgQGQMgAqcC/KTAFKG9hq6UAUpOgY6hiAIVDWJzMvG6QbADC4GbU=" LocalMasterDetail="False">
      <FieldDefs>
        <item FieldName="Id"/>
        <item FieldName="ArbZeitKontoPlus"/>
        <item FieldName="FachId1"/>
        <item FieldName="FachId2"/>
        <item FieldName="FachId3"/>
        <item FieldName="StdAndereSchule"/>
        <item FieldName="Neuaufnahme" FieldType="fftBoolean"/>
        <item FieldName="Kuerzel" FieldType="fftString" Size="32"/>
        <item FieldName="LehramtId"/>
        <item FieldName="StdUnterrichtHier"/>
        <item FieldName="ArbZeitKontoMinus"/>
        <item FieldName="Mehrunterricht"/>
        <item FieldName="AbgeordnetAn" FieldType="fftString" Size="256"/>
        <item FieldName="Grund" FieldType="fftString" Size="256"/>
        <item FieldName="DienstbezeichnungId"/>
        <item FieldName="Zugang" FieldType="fftDateTime"/>
        <item FieldName="Abgang" FieldType="fftDateTime"/>
        <item FieldName="Regelstunden"/>
        <item FieldName="ZZBeurlaubt" FieldType="fftBoolean"/>
        <item FieldName="Ermaessigung"/>
        <item FieldName="Personalnummer" FieldType="fftString" Size="60"/>
        <item FieldName="Probezeit" FieldType="fftBoolean"/>
        <item FieldName="Beamter" FieldType="fftBoolean"/>
        <item FieldName="Lehrkraft" FieldType="fftBoolean"/>
        <item FieldName="Funktion" FieldType="fftString" Size="255"/>
        <item FieldName="Bemerkung" FieldType="fftString" Size="255"/>
        <item FieldName="Schulnetz" FieldType="fftBoolean"/>
        <item FieldName="Lehrerfunktion"/>
        <item FieldName="Passwort" FieldType="fftString" Size="255"/>
        <item FieldName="Id_1"/>
        <item FieldName="Deleted" FieldType="fftBoolean"/>
        <item FieldName="UpdateCount"/>
        <item FieldName="Rufname" FieldType="fftString" Size="256"/>
        <item FieldName="Vornamen" FieldType="fftString" Size="256"/>
        <item FieldName="Nachname" FieldType="fftString" Size="256"/>
        <item FieldName="Titel" FieldType="fftString" Size="64"/>
        <item FieldName="AkadTitel" FieldType="fftString" Size="64"/>
        <item FieldName="Geburtsdatum" FieldType="fftDateTime"/>
        <item FieldName="Geschlecht" FieldType="fftString"/>
        <item FieldName="IdentNummer" FieldType="fftString" Size="64"/>
        <item FieldName="Namenszusatz" FieldType="fftString" Size="32"/>
        <item FieldName="KonfessionId"/>
        <item FieldName="Geburtsort" FieldType="fftString" Size="256"/>
        <item FieldName="StaatsangehoerigkeitId"/>
        <item FieldName="lastmodified" FieldType="fftDateTime"/>
        <item FieldName="guid" FieldType="fftString" Size="36"/>
        <item FieldName="SanisSync"/>
        <item FieldName="Staatsangehoerigkeit2Id"/>
        <item FieldName="Dienstbez" FieldType="fftString"/>
        <item FieldName="F1" FieldType="fftString" Size="16"/>
        <item FieldName="F2" FieldType="fftString" Size="16"/>
        <item FieldName="F3" FieldType="fftString" Size="16"/>
      </FieldDefs>
    </TfrxMYDACQuery>
    <TfrxMYDACQuery Name="s1" UserName="s1" CloseDataSource="True" BCDToCurrency="False" DataSetOptions="0" Left="100" Top="300" IgnoreDupParams="False" SQL.Text="select * from schule s                                                      " LocalMasterDetail="False">
      <FieldDefs>
        <item FieldName="Id"/>
        <item FieldName="UpdateCount"/>
        <item FieldName="Name" FieldType="fftString" Size="256"/>
        <item FieldName="IdentNummer" FieldType="fftString" Size="64"/>
        <item FieldName="Land" FieldType="fftString" Size="64"/>
        <item FieldName="Adresse" FieldType="fftString" Size="64"/>
        <item FieldName="PLZ"/>
        <item FieldName="Ort" FieldType="fftString" Size="64"/>
        <item FieldName="Telefon" FieldType="fftString" Size="64"/>
        <item FieldName="Fax" FieldType="fftString" Size="64"/>
        <item FieldName="EMail" FieldType="fftString" Size="64"/>
        <item FieldName="Homepage" FieldType="fftString" Size="64"/>
        <item FieldName="Bank" FieldType="fftString" Size="64"/>
        <item FieldName="Logo"/>
        <item FieldName="AnzahlStandorte"/>
        <item FieldName="SchulleiterID"/>
        <item FieldName="Schultraeger" FieldType="fftString" Size="255"/>
        <item FieldName="StandardLehrmittelausleiheID"/>
        <item FieldName="Dienststelle" FieldType="fftString" Size="255"/>
        <item FieldName="DienststelleMail" FieldType="fftString" Size="255"/>
      </FieldDefs>
    </TfrxMYDACQuery>
    <TfrxMYDACTable Name="adresse" UserName="adresse" CloseDataSource="True" BCDToCurrency="False" DataSetOptions="0" Master="q1" Left="316" Top="140" MasterFields="PersonId=Id" TableName="adresse" IndexFieldNames="PersonId" LocalMasterDetail="False">
      <FieldDefs>
        <item FieldName="Id"/>
        <item FieldName="UpdateCount"/>
        <item FieldName="Strasse" FieldType="fftString" Size="256"/>
        <item FieldName="Hauptwohnsitz"/>
        <item FieldName="OPNV" FieldType="fftString" Size="256"/>
        <item FieldName="OrtId"/>
        <item FieldName="PersonId"/>
      </FieldDefs>
    </TfrxMYDACTable>
    <TfrxMYDACTable Name="ort" UserName="ort" CloseDataSource="True" BCDToCurrency="False" DataSetOptions="0" Master="adresse" Left="404" Top="140" MasterFields="Id=OrtId" TableName="ort" IndexFieldNames="Id" LocalMasterDetail="False">
      <FieldDefs>
        <item FieldName="Id" FieldAlias="Id"/>
        <item Active="False" FieldName="UpdateCount" FieldAlias="UpdateCount"/>
        <item Active="False" FieldName="Deleted" FieldAlias="Deleted" FieldType="fftBoolean"/>
        <item FieldName="Name" FieldAlias="Name" FieldType="fftString" Size="256"/>
        <item FieldName="Ortsteil" FieldAlias="Ortsteil" FieldType="fftString" Size="256"/>
        <item FieldName="PLZ" FieldAlias="PLZ" FieldType="fftString" Size="32"/>
        <item FieldName="Landkreis" FieldAlias="Landkreis" FieldType="fftString" Size="256"/>
      </FieldDefs>
    </TfrxMYDACTable>
    <TfrxMYDACQuery Name="kontakt" UserName="kontakt" CloseDataSource="True" BCDToCurrency="False" DataSetOptions="0" Master="q1" Left="184" Top="144" IgnoreDupParams="False" SQL.Text="####&#13;&#10;#### wird zur Laufzeit veraendert&#13;&#10;####          &#13;&#10;&#13;&#10;select * from kontakt" MasterFields="PersonId=Id" LocalMasterDetail="False">
      <FieldDefs>
        <item FieldName="Id"/>
        <item FieldName="UpdateCount"/>
        <item FieldName="Adresse" FieldType="fftString" Size="64"/>
        <item FieldName="PersonId"/>
        <item FieldName="Art"/>
        <item FieldName="BerichtsStufe"/>
        <item FieldName="NurIntern" FieldType="fftBoolean"/>
        <item FieldName="Hauptkontakt" FieldType="fftBoolean"/>
      </FieldDefs>
    </TfrxMYDACQuery>
    <TfrxMYDACQuery Name="d" UserName="d" CloseDataSource="True" BCDToCurrency="False" DataSetOptions="0" Left="96" Top="144" IgnoreDupParams="False" SQL.Text="select Schuljahrbezeichnung from danis                                                                               " LocalMasterDetail="False">
      <FieldDefs>
        <item FieldName="Schuljahrbezeichnung" FieldType="fftString" Size="64"/>
      </FieldDefs>
    </TfrxMYDACQuery>
  </TfrxDataPage>
  <TfrxReportPage Name="Page1" HGuides.Text="" VGuides.Text="" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="20" RightMargin="5" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" Frame.Typ="0" MirrorMode="0">
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="0" Height="44" Left="0" ParentFont="False" Top="196,53556" Width="699,21305" ColumnWidth="0" ColumnGap="0" DataSet="q1" DataSetName="q1" RowCount="0">
      <TfrxMemoView Name="Memo7" AllowVectorExport="True" Left="36" Top="3,77952756" Width="146" Height="18" Editable="3" OnAfterData="DynamicFontOnAfterData" ContentScaleOptions.Constraints.MaxIterationValue="0" ContentScaleOptions.Constraints.MinIterationValue="0" AutoWidth="True" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="[IIF(&#60;q1.&#34;Titel&#34;&#62;&#60;&#62;&#39;&#39;,&#60;q1.&#34;Titel&#34;&#62;+&#39; &#39;,&#39;&#39;)][IIF(&#60;q1.&#34;AkadTitel&#34;&#62;&#60;&#62;&#39;&#39;,&#60;q1.&#34;AkadTitel&#34;&#62;+&#39; &#39;,&#39;&#39;)][IIF(&#60;q1.&#34;Namenszusatz&#34;&#62;&#60;&#62;&#39;&#39;,&#60;q1.&#34;Namenszusatz&#34;&#62;+&#39; &#39;,&#39;&#39;)][q1.&#34;Nachname&#34;]"/>
      <TfrxMemoView Name="Memo5" AllowVectorExport="True" Left="36" Top="24" Width="146" Height="18" Editable="3" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[q1.&#34;Rufname&#34;]"/>
      <TfrxLineView Name="Line1" Align="baWidth" AllowVectorExport="True" Left="0" Top="0" Width="699,213073730469" Height="0" Color="0" Frame.Typ="0" Diagonal="True"/>
      <TfrxMemoView Name="Memo1" AllowVectorExport="True" Left="0" Top="3,77953" Width="34,01574803" Height="18" Editable="3" ContentScaleOptions.Constraints.MaxIterationValue="0" ContentScaleOptions.Constraints.MinIterationValue="0" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[q1.&#34;Kuerzel&#34;]"/>
      <TfrxSubreport Name="Subreport1" AllowVectorExport="True" Left="182" Top="3,77953" Width="190" Height="18" Page="Page3"/>
      <TfrxSubreport Name="Subreport2" AllowVectorExport="True" Left="375,20501" Top="3,77953" Width="207,87401575" Height="18" Page="Page2"/>
      <TfrxMemoView Name="Memo18" AllowVectorExport="True" Left="584" Top="3,77952756" Width="72" Height="18" Editable="3" Visible="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[IIF(&#60;q1.&#34;Geburtsdatum&#34;&#62;&#62;0,&#60;q1.&#34;Geburtsdatum&#34;&#62;,&#39;&#39;)]"/>
      <TfrxMemoView Name="Memo2" AllowVectorExport="True" ShiftMode="smWhenOverlapped" Left="656" Top="24" Width="40" Height="18" Editable="3" Visible="False" DataField="Dienstbez" DataSet="q1" DataSetName="q1" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haCenter" ParentFont="False" Text="[q1.&#34;Dienstbez&#34;]"/>
      <TfrxMemoView Name="Memo9" AllowVectorExport="True" Left="584" Top="24" Width="72" Height="18" Editable="3" Visible="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-12" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[IIF(&#60;q1.&#34;F1&#34;&#62;=&#39;&#39;,&#60;q1.&#34;Funktion&#34;&#62;,&#60;q1.&#34;F1&#34;&#62;)][IIF(&#60;q1.&#34;F2&#34;&#62;&#60;&#62;&#39;&#39;,&#39;, &#39;+&#60;q1.&#34;F2&#34;&#62;,&#39;&#39;)][IIF(&#60;q1.&#34;F3&#34;&#62;&#60;&#62;&#39;&#39;,&#39;, &#39;+&#60;q1.&#34;F3&#34;&#62;,&#39;&#39;)]"/>
      <TfrxMemoView Name="Memo3" AllowVectorExport="True" Left="584" Top="24" Width="112" Height="18" Editable="3" Visible="False" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[q1.&#34;Funktion&#34;]"/>
    </TfrxMasterData>
    <TfrxPageHeader Name="PageHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Font.Charset="1" Font.Color="0" Font.Height="-13" Font.Name="Arial" Font.Style="1" Height="41,89765" Left="0" ParentFont="False" Top="94,48825" Width="699,21305">
      <TfrxMemoView Name="Memo20" Align="baCenter" AllowVectorExport="True" Left="249,448991865234" Top="4" Width="200,31509" Height="18,89765" Editable="3" AutoWidth="True" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="[Ueberschrift] im Schuljahr [d.&#34;Schuljahrbezeichnung&#34;]"/>
      <TfrxMemoView Name="Memo14" Align="baRight" AllowVectorExport="True" Left="604,724823730469" Top="4" Width="94,48825" Height="18,89765" Editable="3" DisplayFormat.DecimalSeparator="," DisplayFormat.FormatStr="dd.mm.yyyy" DisplayFormat.Kind="fkDateTime" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="[&#60;Date&#62;]"/>
    </TfrxPageHeader>
    <TfrxReportTitle Name="ReportTitle1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="51,37013" Left="0" Top="18,89765" Width="699,21305" Stretched="True">
      <TfrxMemoView Name="Memo4" AllowVectorExport="True" Left="1" Top="7,23624" Width="336,37817" Height="42,89765" Editable="3" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[s1.&#34;Name&#34;]&#13;&#10;[s1.&#34;Adresse&#34;], [s1.&#34;PLZ&#34;] [s1.&#34;Ort&#34;]&#13;&#10;Fon: [s1.&#34;Telefon&#34;], Fax: [s1.&#34;Fax&#34;]"/>
      <TfrxPictureView Name="Picture1" Align="baRight" AllowVectorExport="True" Left="674,740637670469" Top="0" Width="24,47243606" Height="24,6929378" AutoSize="True" DataField="Logo" DataSet="s1" DataSetName="s1" Frame.Typ="0" HightQuality="False" Transparent="False" TransparentColor="16777215" Transparency="0" MirrorHorizontal="False" MirrorVertical="False"/>
    </TfrxReportTitle>
    <TfrxFooter Name="Footer1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="38,67718" Left="0" Top="264,5671" Width="699,21305">
      <TfrxMemoView Name="Memo21" AllowVectorExport="True" Left="0" Top="16,77953" Width="302,3624" Height="18,89765" Editable="3" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="1" Frame.Typ="0" ParentFont="False" Text="Frauen: [SUM(IIF(&#60;q1.&#34;Geschlecht&#34;&#62;=&#39;w&#39;,1,0),)] / Männer: [SUM(IIF(&#60;q1.&#34;Geschlecht&#34;&#62;=&#39;m&#39;,1,0),)]"/>
      <TfrxLineView Name="Line2" Align="baWidth" AllowVectorExport="True" Left="0" Top="0" Width="699,213073730469" Height="0" Color="0" Frame.Typ="0" Diagonal="True"/>
    </TfrxFooter>
    <TfrxPageFooter Name="PageFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="22,67718" Left="0" Top="362,83488" Width="699,21305">
      <TfrxMemoView Name="Memo17" Align="baRight" AllowVectorExport="True" Left="548,031873730469" Top="3,77953" Width="151,1812" Height="18,89765" Editable="3" DisplayFormat.DecimalSeparator="," Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0" HAlign="haRight" ParentFont="False" Text="Kollegium; [&#60;Page&#62;]/[TotalPages]"/>
      <TfrxMemoView Name="Memo33" AllowVectorExport="True" Left="0" Top="3,77952999999997" Width="529,1342" Height="18,89765" Editable="3" StretchMode="smActualHeight" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[IIF(AktuellerFilter&#60;&#62;&#39;&#39;,&#39;Filter: &#39;+AktuellerFilter,&#39;&#39;)"/>
    </TfrxPageFooter>
  </TfrxReportPage>
  <TfrxDialogPage Name="sort" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" HGuides.Text="" VGuides.Text="" BorderStyle="bsToolWindow" Caption="Optionen" DoubleBuffered="False" Height="508" ClientHeight="469" Left="511" Top="157" Width="574" Scaled="True" ClientWidth="558" OnActivate="sortOnActivate">
    <TfrxGroupBoxControl Name="GroupBox2" Left="20" Top="24" Width="269" Height="157" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" ParentFont="False" ShowHint="True" Caption="Sortieroptionen" Color="-16777201">
      <TfrxRadioButtonControl Name="namvor" Left="8" Top="20" Width="205" Height="17" ShowHint="True" Caption="Nachname, Rufname" Checked="True" Color="-16777201"/>
      <TfrxRadioButtonControl Name="geschlecht" Left="8" Top="45" Width="205" Height="17" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" ParentFont="False" ShowHint="True" Caption="Geschlecht, Nachname, Rufname" TabStop="False" Color="-16777201"/>
      <TfrxRadioButtonControl Name="kuerzel" Left="8" Top="70" Width="205" Height="17" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" ParentFont="False" ShowHint="True" Caption="Kürzel" TabStop="False" Color="-16777201"/>
      <TfrxRadioButtonControl Name="gebdat" Left="8" Top="95" Width="205" Height="17" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" ParentFont="False" ShowHint="True" Caption="Geburtstag" TabStop="False" Color="-16777201"/>
      <TfrxRadioButtonControl Name="alter" Left="8" Top="120" Width="205" Height="17" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" ParentFont="False" ShowHint="True" Caption="Geburtsdatum" TabStop="False" Color="-16777201"/>
    </TfrxGroupBoxControl>
    <TfrxGroupBoxControl Name="GroupBox4" Left="20" Top="196" Width="269" Height="141" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" ParentFont="False" ShowHint="True" Caption="Berichtsstufe" Color="-16777201">
      <TfrxLabelControl Name="Label1" Left="16" Top="24" Width="191" Height="29" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" ParentFont="False" ShowHint="True" AutoSize="False" Caption="Geben Sie die gewünschte Berichtststufe ein." Color="-16777201" WordWrap="True"/>
      <TfrxEditControl Name="Edit1" Left="222" Top="26" Width="29" Height="21" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" ParentFont="False" ShowHint="True" Color="-16777211" MaxLength="0" PasswordChar="0" Text="0" OnChange="Edit1OnChange"/>
      <TfrxGroupBoxControl Name="GroupBox3" Tag="1" Left="15" Top="62" Width="237" Height="77" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" ParentFont="False" Enabled="False" ShowHint="True" Caption="Bitte wählen Sie" Color="-16777201">
        <TfrxRadioButtonControl Name="StufeKleinerGleich" Tag="1" Left="11" Top="24" Width="197" Height="17" Enabled="False" ShowHint="True" Caption="einschließlich der gewählten Stufe" Checked="True" Color="-16777201" OnClick="StufeKleinerGleichOnClick"/>
        <TfrxRadioButtonControl Name="StufeGleich" Tag="1" Left="11" Top="48" Width="185" Height="17" Enabled="False" ShowHint="True" Caption="nur die gewählte Stufe" TabStop="False" Color="-16777201" OnClick="StufeGleichOnClick"/>
      </TfrxGroupBoxControl>
    </TfrxGroupBoxControl>
    <TfrxGroupBoxControl Name="GroupBox1" Left="312" Top="24" Width="229" Height="357" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="1" ParentFont="False" ShowHint="True" Caption="Ausdrucke mit den" Color="-16777201">
      <TfrxCheckBoxControl Name="CheckBox1" Left="8" Top="165" Width="97" Height="17" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" ParentFont="False" ShowHint="True" Caption="Abgeordneten" Color="-16777201"/>
      <TfrxCheckBoxControl Name="CheckBox2" Left="8" Top="190" Width="113" Height="17" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" ParentFont="False" ShowHint="True" Caption="Ausgeschiedenen" Color="-16777201"/>
      <TfrxCheckBoxControl Name="CheckBox3" Left="8" Top="215" Width="97" Height="17" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" ParentFont="False" ShowHint="True" Caption="Beurlaubten" Color="-16777201"/>
      <TfrxCheckBoxControl Name="CheckBox4" Left="8" Top="20" Width="97" Height="17" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" ParentFont="False" ShowHint="True" Caption="Lehrerkräften" Checked="True" State="cbChecked" Color="-16777201"/>
      <TfrxCheckBoxControl Name="CheckBox5" Left="8" Top="45" Width="97" Height="17" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" ParentFont="False" ShowHint="True" Caption="MitarbeiterInnen" Color="-16777201"/>
      <TfrxCheckBoxControl Name="CheckBox6" Left="8" Top="80" Width="97" Height="17" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" ParentFont="False" ShowHint="True" Caption="Verbeamteten" Checked="True" State="cbChecked" Color="-16777201"/>
      <TfrxCheckBoxControl Name="CheckBox7" Left="8" Top="105" Width="97" Height="17" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" ParentFont="False" ShowHint="True" Caption="in Probezeit" Checked="True" State="cbChecked" Color="-16777201"/>
      <TfrxCheckBoxControl Name="CheckBox8" Left="8" Top="130" Width="137" Height="17" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" ParentFont="False" ShowHint="True" Caption="Neu Aufgenommenen" Checked="True" State="cbChecked" Color="-16777201"/>
      <TfrxCheckBoxControl Name="mGebDat" Left="8" Top="250" Width="121" Height="17" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" ParentFont="False" ShowHint="True" Caption="Geburtstagen" Color="-16777201"/>
      <TfrxCheckBoxControl Name="mDienstbez" Left="8" Top="275" Width="129" Height="17" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" ParentFont="False" ShowHint="True" Caption="Dienstbezeichnungen" Color="-16777201" OnClick="mDienstbezOnClick"/>
      <TfrxCheckBoxControl Name="mFaecher" Left="8" Top="300" Width="97" Height="17" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" ParentFont="False" ShowHint="True" Caption="Fächern" Color="-16777201" OnClick="mFaecherOnClick"/>
      <TfrxCheckBoxControl Name="mFunktion" Left="8" Top="325" Width="97" Height="17" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Tahoma" Font.Style="0" ParentFont="False" ShowHint="True" Caption="Funktionen" Color="-16777201" OnClick="mFunktionOnClick"/>
    </TfrxGroupBoxControl>
    <TfrxButtonControl Name="weiter" Left="468" Top="408" Width="75" Height="25" ShowHint="True" Caption="weiter" OnClick="weiterOnClick"/>
  </TfrxDialogPage>
  <TfrxReportPage Name="Page3" HGuides.Text="" VGuides.Text="" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="20" RightMargin="5" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" Frame.Typ="0" MirrorMode="0">
    <TfrxMasterData Name="MasterData3" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="37,7953" Left="0" Top="18,89765" Width="699,21305" ColumnWidth="0" ColumnGap="0" DataSet="adresse" DataSetName="adresse" RowCount="0">
      <TfrxMemoView Name="Memo8" AllowVectorExport="True" Left="0" Top="0" Width="190" Height="18,89765" Editable="3" OnAfterData="DynamicFontOnAfterData" ContentScaleOptions.Constraints.MaxIterationValue="0" ContentScaleOptions.Constraints.MinIterationValue="0" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[adresse.&#34;Strasse&#34;]"/>
      <TfrxMemoView Name="Memo10" AllowVectorExport="True" Left="0,77953" Top="18,89765" Width="190" Height="18,89765" Editable="3" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[ort.&#34;PLZ&#34;] [ort.&#34;Name&#34;]"/>
    </TfrxMasterData>
  </TfrxReportPage>
  <TfrxReportPage Name="Page2" HGuides.Text="" VGuides.Text="" PaperWidth="210" PaperHeight="297" PaperSize="9" LeftMargin="20" RightMargin="5" TopMargin="10" BottomMargin="10" ColumnWidth="0" ColumnPositions.Text="" Frame.Typ="0" MirrorMode="0">
    <TfrxMasterData Name="MasterData2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Frame.Typ="0" Height="18,8976378" Left="0" Top="18,89765" Width="699,21305" ColumnWidth="0" ColumnGap="0" DataSet="kontakt" DataSetName="kontakt" RowCount="0">
      <TfrxMemoView Name="Memo13" AllowVectorExport="True" Left="0" Top="0,77953" Width="207,87401575" Height="18,89765" Editable="3" OnAfterData="DynamicFontOnAfterData" ContentScaleOptions.Constraints.MaxIterationValue="0" ContentScaleOptions.Constraints.MinIterationValue="0" Font.Charset="1" Font.Color="-16777208" Font.Height="-13" Font.Name="Arial" Font.Style="0" Frame.Typ="0" ParentFont="False" Text="[IIF(&#60;Kontakt.&#34;Art&#34;&#62;=3,&#39;Fax: &#39;+ &#60;Kontakt.&#34;Adresse&#34;&#62;,IIF(&#60;Kontakt.&#34;Art&#34;&#62;=0,&#60;Kontakt.&#34;Adresse&#34;&#62;,IIF(&#60;Kontakt.&#34;Art&#34;&#62;=1,&#60;Kontakt.&#34;Adresse&#34;&#62;,&#39;&#39;)))]"/>
    </TfrxMasterData>
  </TfrxReportPage>
</TfrxReport>
