Hi all,
Please have a quick look at the pic below...


in the middle of the pic...u can see "tblHours" as well as on the right in the relationships window...as u can see the form on the left will need to append data only to the ONE table so no joins are required...
my problem is that my sql query skills are limited and i can only come up with a query that will append ONE line into "tblHours"
eg...
INSERT INTO tblHours ( [Project ID], [Employee ID], Date, Hours )
SELECT Forms!frmEmployeeTimesheet!cboSelectProject1, Forms!frmEmployeeTimesheet!cboSelectName, Forms!frmEmployeeTimesheet!txtSunday Forms!frmEmployeeTimesheet!txtProjSun1;
the above code is just for "top left" unbound hours txt box
i was wondering if there was such code possible to append the WHOLE ROW of hours plus the employee and project ID to their respective dates
Please have a quick look at the pic below...


in the middle of the pic...u can see "tblHours" as well as on the right in the relationships window...as u can see the form on the left will need to append data only to the ONE table so no joins are required...
my problem is that my sql query skills are limited and i can only come up with a query that will append ONE line into "tblHours"
eg...
INSERT INTO tblHours ( [Project ID], [Employee ID], Date, Hours )
SELECT Forms!frmEmployeeTimesheet!cboSelectProject1, Forms!frmEmployeeTimesheet!cboSelectName, Forms!frmEmployeeTimesheet!txtSunday Forms!frmEmployeeTimesheet!txtProjSun1;
the above code is just for "top left" unbound hours txt box
i was wondering if there was such code possible to append the WHOLE ROW of hours plus the employee and project ID to their respective dates