Hello everyone,
My database is about employee records. The process is I encode applicants records and then later I browse them and search which one will be hired from the records. Now the records will be transfered to the other table [tbl_emp].
I have 4 tables and 2 forms namely:
emp 'applicants record table
education
tbl_emp 'destination table
tbl_education
frm_name
frm_educ
on the form, When I press the the Hire button, the records now will transfered from tbl_applicant to tbl_emp along with the tbl_app_education to tbl_educ.
It's like this, but Im sureif this is the right way to do it...the Event of HIRED button
dim sql as sqlstring
db.execute
SQL INSERT INTO tbl_emp ( [Series-id], Employee_id, salutation, lname, fname, mname )
SELECT emp.[Series-id], emp.Employee_id, emp.salutation, emp.lname, emp.fname, emp.mname
FROM emp;
INSERT INTO tbl_education ( EO, [from], [end], school, degree, EducLevel, honors )
SELECT education.EO, education.from, education.end, education.school, education.degree, education.EducLevel, education.honors
FROM education;
Can someone redirect me on this since Im still a bit new to this..
Thanks
mybers
My database is about employee records. The process is I encode applicants records and then later I browse them and search which one will be hired from the records. Now the records will be transfered to the other table [tbl_emp].
I have 4 tables and 2 forms namely:
emp 'applicants record table
education
tbl_emp 'destination table
tbl_education
frm_name
frm_educ
on the form, When I press the the Hire button, the records now will transfered from tbl_applicant to tbl_emp along with the tbl_app_education to tbl_educ.
It's like this, but Im sureif this is the right way to do it...the Event of HIRED button
dim sql as sqlstring
db.execute
SQL INSERT INTO tbl_emp ( [Series-id], Employee_id, salutation, lname, fname, mname )
SELECT emp.[Series-id], emp.Employee_id, emp.salutation, emp.lname, emp.fname, emp.mname
FROM emp;
INSERT INTO tbl_education ( EO, [from], [end], school, degree, EducLevel, honors )
SELECT education.EO, education.from, education.end, education.school, education.degree, education.EducLevel, education.honors
FROM education;
Can someone redirect me on this since Im still a bit new to this..
Thanks
mybers