I have a local table: tbl_Emp_Rate
Fields:
Emp_No
Emp_Rate
I have a Pass-Through query: qry_Emp_Info
Fields:
Emp_No
Emp_Name
I would like to build a query -> subform -> form that will allow a user to find the employees name or number and update the rate. Sounds simple but...
The pass-through query is not updatable soooooo the entire query is not updatable, even the local table.
I am only updating [tbl_Emp_Rates.Emp_Rate], yet because the PT query is not updatable and it is used in a query then nothing in that query is updatable.
My only solution is to copy the entire qry_Emp_Info to a local able but! that duplicates records which could be in the thousands.
My question is: Is there a way given the table and query above to let a user select an employee name and enter a rate? I have looked around and found that using a PT query makes the query unble to update (hmm) now I am looking for a solution or alternative.
Thank you any help would be appreciated.
Fields:
Emp_No
Emp_Rate
I have a Pass-Through query: qry_Emp_Info
Fields:
Emp_No
Emp_Name
I would like to build a query -> subform -> form that will allow a user to find the employees name or number and update the rate. Sounds simple but...
The pass-through query is not updatable soooooo the entire query is not updatable, even the local table.
Code:
SELECT
tbl_Emp_Rates.Emp_No
, qry_Emp_Info.Emp_Name
, tbl_Emp_Rates.Emp_Rate
FROM
tbl_Emp_Rates
INNER JOIN
qry_Emp_Info
ON (tbl_Emp_Rates.Emp_No = qry_Emp_Info.EMP_NO);
I am only updating [tbl_Emp_Rates.Emp_Rate], yet because the PT query is not updatable and it is used in a query then nothing in that query is updatable.
My only solution is to copy the entire qry_Emp_Info to a local able but! that duplicates records which could be in the thousands.
My question is: Is there a way given the table and query above to let a user select an employee name and enter a rate? I have looked around and found that using a PT query makes the query unble to update (hmm) now I am looking for a solution or alternative.
Thank you any help would be appreciated.
Last edited: