         let txtLimit = txtActiveField.frame.origin.y + txtActiveField.frame.height + 70.0
         let kbdLimit = myBoundSize.height - keyboardScreenEndFrame.size.height
         
-        print("テキストフィールドの下辺：(txtLimit)")
-        print("キーボードの上辺：(kbdLimit)")
+//        print("テキストフィールドの下辺：(txtLimit)")
+//        print("キーボードの上辺：(kbdLimit)")
         
         if txtLimit >= kbdLimit {
             AddScrollView.contentOffset.y = txtLimit - kbdLimit

            hourlypayrecord2.timeto = Double(time.indexOf(TimeTo2.text!)!)-(Double(time.indexOf(TimeTo2.text!)!)*0.5)
            hourlypayrecord2.pay = Int(SalalyLabel2.text!)!
            
            DBmethod().AddandUpdate(hourlypayrecord1,update: true)
            DBmethod().AddandUpdate(hourlypayrecord2,update: true)
            

    //セーブボタンを押した時
    func SaveButtontapped(sender: UIButton){
        
        if(TimeFrom1.text?.isEmpty == true || TimeTo1.text?.isEmpty == true || TimeFrom2.text?.isEmpty == true || TimeTo2.text?.isEmpty == true || SalalyLabel1.text?.isEmpty == true || SalalyLabel2.text?.isEmpty == true || usernametextfield.text?.isEmpty == true || staffnumbertextfield.text?.isEmpty == true){
            
            let alertController = UIAlertController(title: "ニャ!!", message: "項目を埋めてから押すニャ", preferredStyle: .Alert)
            
