Code:
Private Sub SaveButton_Click() Dim rst As Recordset, db As DAO.Database Set db = CurrentDb() If ((Me![EMPLOYEE] + "") = "") Then MsgBox "You must select a name from the Employee dropdown to continue", vbInformation Exit
Private Sub SaveButton_Click() Dim rst As Recordset, db As DAO.Database Set db = CurrentDb() If ((Me![EMPLOYEE] + "") = "") Then MsgBox "You must select a name from the Employee dropdown to continue", vbInformation Exit
rst!EMPLOYEE = Me.EMPLOYEE.Value
If ((Me![EMPLOYEE]
'THIS IS THE CODE THAT SAVES THE OUTPUT TO THE MAIN TABLE
Private Sub SaveButton_Click()
Dim rst As Recordset, db As DAO.Database
Set db = CurrentDb()
Set rst = db.OpenRecordset("main")
'MONDAY OUTPUT
rst.AddNew
rst!Day1 = "Monday"
rst!ProjectMonday1 = Me.Combo1463.Column(0)
rst!AFEMonday1 = Me.Text1455.Value
rst!ProjectMonday2 = Me.Combo1465.Column(0)
Private Sub Text1470_AfterUpdate() Me.Text1474.Value = (Text1470 / HOURSMondayTotal) If Val([Text1467]) + Val([Text1469])
Leave a comment: