function Check_Eingabe( theForm )
{
  switch ( theForm.name ) 
  {
    case "Suchen": 
      {
      	if (!CheckField( theForm.IDPersonen,   "ID",           "Number"   )) return (false);
      	if (!CheckField( theForm.strVorname,   "Vorname",      "AlphaNum" )) return (false);
      	if (!CheckField( theForm.strNachname,  "Nachname",     "AlphaNum" )) return (false);
      	if (!CheckField( theForm.strEMail,     "E-Mail",       "AlphaNum" )) return (false);        
      	return (CheckOK( theForm.blnEingabe ));
        break;
      }
    case "Speichern": 
      {
      	if (!CheckField( theForm.intDDAnrede, "Anrede",   "DropDown" )) return (false);
      	if (!CheckField( theForm.strTitel,    "Titel",    "AlphaNum" )) return (false);
      	if (!CheckField( theForm.strVorname,  "Vorname",  "AlphaNum" )) return (false);
      	if (!CheckField( theForm.strNachname, "Nachname", "AlphaNum" )) return (false);
      	if (!CheckField( theForm.strStrasse,  "Strasse",  "AlphaNum" )) return (false);
      	if (!CheckField( theForm.strPLZ,      "PLZ",      "PLZ"      )) return (false);
      	if (!CheckField( theForm.strWohnort,  "Wohnort",  "AlphaNum" )) return (false);		
      	if (!CheckField( theForm.strTelefon,  "Telefon",  "AlphaNum" )) return (false);		
      	if (!CheckField( theForm.strFax,      "Fax",      "AlphaNum" )) return (false);		
      	if (!CheckField( theForm.strEMail,    "E-Mail",   "EMail"    )) return (false);		
        return (CheckOK( theForm.blnEingabe ));
        break;
      }
    case "Loeschen":
      {
        return (CheckOK( theForm.blnEingabe ));
        break;
      }
    case "Aenderung":
      {
      	if (!CheckField( theForm.intDDAnrede, "Anrede",   "DropDown" )) return (false);
      	if (!CheckField( theForm.strTitel,    "Titel",    "AlphaNum" )) return (false);
      	if (!CheckField( theForm.strVorname,  "Vorname",  "AlphaNum" )) return (false);
      	if (!CheckField( theForm.strNachname, "Nachname", "AlphaNum" )) return (false);
      	if (!CheckField( theForm.strStrasse,  "Strasse",  "AlphaNum" )) return (false);
      	if (!CheckField( theForm.strPLZ,      "PLZ",      "PLZ"      )) return (false);
      	if (!CheckField( theForm.strWohnort,  "Wohnort",  "AlphaNum" )) return (false);		
      	if (!CheckField( theForm.strTelefon,  "Telefon",  "AlphaNum" )) return (false);		
      	if (!CheckField( theForm.strFax,      "Fax",      "AlphaNum" )) return (false);		
      	if (!CheckField( theForm.strEMail,    "E-Mail",   "EMail"    )) return (false);		
        return (CheckOK( theForm.blnEingabe ));
        break;
      }
    case "Freigabe":
      {
        return (CheckOK( theForm.blnEingabe ));
        break;
      }
    case "EditPersonen":
      {
        return (CheckOK( theForm.blnEingabe ));
        break;
      }
    case "EditAdressen":
      {
        return (CheckOK( theForm.blnEingabe ));
        break;
      }
    case "Detail":
      {
        return (CheckOK( theForm.blnEingabe ));
        break;
      }
    case "Neu":
      {
        return (CheckOK( theForm.blnEingabe ));
        break;
      }
    default: alert("Formular " + theForm.name + " ist nicht definiert"); return (false); break;
  }
}
