Hi all,
Basically i have a set of records from Employees table. I have another table tblEmployeesHIPO which contains additional info about the previous table , i have created a button in the first form( frmEmployees) to open up a 2nd form (frmEmployeesHIPO). I want the 2nd form to show details like the EmployeeID, Fullname, etc from the first table (Employees) (not allowed to edit), and those additional fields which are on another table(tblEmployeesHIPO) for them to fill in. How do i go about loading the 2nd form with details from first, and fields for them to fill in and save for every single record? Hope it doesnt sound too confusing. Im very new to access, please help me.. Thanks!
Example:
EmployeeID : TEXTBOX (from 1st table) (uneditable)
Full Name: TEXTBOX (from 1st table) (uneditable)
..............
TPM Ratings: TEXTBOX (from 2nd table)(to be filled in)
Candidate's Readiness (from 2nd table)(to be filled in)
C-A-R Score: (from 2nd table)(to be filled in)
.............
I have created a button but once i clicked it, it says "no current record"and the EmployeeID doesnt show up.
i have a query on the 2nd form which is:
SELECT Employees.EmployeeID, Employees.FullName, Employees.DateOfBirth, Employees.Designation1, Employees.JobGrade, Employees.DateJoined, tblEmployeesHIPO.Gender, tblEmployeesHIPO.TPMratings, tblEmployeesHIPO.CARscore, tblEmployeesHIPO.carCapacity, tblEmployeesHIPO.carAchievement, tblEmployeesHIPO.carRelationship, tblEmployeesHIPO.carEthos, tblEmployeesHIPO.CEP, tblEmployeesHIPO.CandidateReadiness, tblEmployeesHIPO.degDescQualification, tblEmployeesHIPO.degSpecialization, tblEmployeesHIPO.degSchool, tblEmployeesHIPO.degYear, tblEmployeesHIPO.extDesignation, tblEmployeesHIPO.extEmployer, tblEmployeesHIPO.extPeriodstart, tblEmployeesHIPO.extPeriodend, tblEmployeesHIPO.intDesignation, tblEmployeesHIPO.intJobGrade, tblEmployeesHIPO.intNHGInstitution, tblEmployeesHIPO.intPeriodstart, tblEmployeesHIPO.inPeriodend, tblEmployeesHIPO.potCareerSenario1, tblEmployeesHIPO.potCareerSenario2
FROM Employees INNER JOIN tblEmployeesHIPO ON Employees.EmployeeID = tblEmployeesHIPO.EmployeeID;
Regards,
VanCe
Basically i have a set of records from Employees table. I have another table tblEmployeesHIPO which contains additional info about the previous table , i have created a button in the first form( frmEmployees) to open up a 2nd form (frmEmployeesHIPO). I want the 2nd form to show details like the EmployeeID, Fullname, etc from the first table (Employees) (not allowed to edit), and those additional fields which are on another table(tblEmployeesHIPO) for them to fill in. How do i go about loading the 2nd form with details from first, and fields for them to fill in and save for every single record? Hope it doesnt sound too confusing. Im very new to access, please help me.. Thanks!
Example:
EmployeeID : TEXTBOX (from 1st table) (uneditable)
Full Name: TEXTBOX (from 1st table) (uneditable)
..............
TPM Ratings: TEXTBOX (from 2nd table)(to be filled in)
Candidate's Readiness (from 2nd table)(to be filled in)
C-A-R Score: (from 2nd table)(to be filled in)
.............
I have created a button but once i clicked it, it says "no current record"and the EmployeeID doesnt show up.
i have a query on the 2nd form which is:
SELECT Employees.EmployeeID, Employees.FullName, Employees.DateOfBirth, Employees.Designation1, Employees.JobGrade, Employees.DateJoined, tblEmployeesHIPO.Gender, tblEmployeesHIPO.TPMratings, tblEmployeesHIPO.CARscore, tblEmployeesHIPO.carCapacity, tblEmployeesHIPO.carAchievement, tblEmployeesHIPO.carRelationship, tblEmployeesHIPO.carEthos, tblEmployeesHIPO.CEP, tblEmployeesHIPO.CandidateReadiness, tblEmployeesHIPO.degDescQualification, tblEmployeesHIPO.degSpecialization, tblEmployeesHIPO.degSchool, tblEmployeesHIPO.degYear, tblEmployeesHIPO.extDesignation, tblEmployeesHIPO.extEmployer, tblEmployeesHIPO.extPeriodstart, tblEmployeesHIPO.extPeriodend, tblEmployeesHIPO.intDesignation, tblEmployeesHIPO.intJobGrade, tblEmployeesHIPO.intNHGInstitution, tblEmployeesHIPO.intPeriodstart, tblEmployeesHIPO.inPeriodend, tblEmployeesHIPO.potCareerSenario1, tblEmployeesHIPO.potCareerSenario2
FROM Employees INNER JOIN tblEmployeesHIPO ON Employees.EmployeeID = tblEmployeesHIPO.EmployeeID;
Regards,
VanCe