greysquirl
Programmer
I am using an SQL statement to return some values to a table for me. What I have is a Master table where the info is coming from and going to a table called Position Change. This happens on the Before Update Event of a command button. All of that aside, the problem I am having is that if you look down here you will see the TitleID. . .StatusID. . .DepartmentID. . .etc. When this query runs and returns those values to the Position Change table it gives me the corresponding auto number of the column. . . .what I want it the word that matches this number to appear. Does anyone understand this??? If you do please help me. Thanks.
INSERT INTO [Position Change] ( FName, MName, LName, SSN, Title, Status, Department, Supervisor, DateHirePosition )
SELECT Master.FName, Master.MName, Master.LName, Master.SSN, Master.TitleID, Master.StatusID, Master.DepartmentID, Master.SupervisorID, Master.DateHirePosition
FROM Master
WHERE Master.MasterID = Forms!Master!MasterID;
INSERT INTO [Position Change] ( FName, MName, LName, SSN, Title, Status, Department, Supervisor, DateHirePosition )
SELECT Master.FName, Master.MName, Master.LName, Master.SSN, Master.TitleID, Master.StatusID, Master.DepartmentID, Master.SupervisorID, Master.DateHirePosition
FROM Master
WHERE Master.MasterID = Forms!Master!MasterID;