G
Guest
I’m building a form for users to make changes to certain records. The
control source of the form has to be a query because the displayed records
are from two different tables as follows:
tblEmployee + tblEmployeeActivity LINKED by EmployeeID
My goal is to display the records from tblEmployeeActivity for users to
update but need to show the employee [Name] field from tblEmployee next to
each record.
ISSUE: A multiple table query is read-only in return the form does not allow
changes to the fields from tblEmployeeActivity.
As an alternative approach I attempted to set the form record source
directly to the tblEmployeeActivity table and create a sub-query ( (select
[tblEmployee]![Name] from [tblEmployee] where [tblEmployee]![EmployeeID] =
[EmployeeID]))in the control source of a text box on the form to pull the
[Name] field from tblEmployee based on the records EmployeeID but after many
failures I heard that setting a sub-query in a text control on a form does
not work in Access.(not sure if this is 100% true)
Any fix or corrections to my statements above would be greatly appreciated.
Thank you
control source of the form has to be a query because the displayed records
are from two different tables as follows:
tblEmployee + tblEmployeeActivity LINKED by EmployeeID
My goal is to display the records from tblEmployeeActivity for users to
update but need to show the employee [Name] field from tblEmployee next to
each record.
ISSUE: A multiple table query is read-only in return the form does not allow
changes to the fields from tblEmployeeActivity.
As an alternative approach I attempted to set the form record source
directly to the tblEmployeeActivity table and create a sub-query ( (select
[tblEmployee]![Name] from [tblEmployee] where [tblEmployee]![EmployeeID] =
[EmployeeID]))in the control source of a text box on the form to pull the
[Name] field from tblEmployee based on the records EmployeeID but after many
failures I heard that setting a sub-query in a text control on a form does
not work in Access.(not sure if this is 100% true)
Any fix or corrections to my statements above would be greatly appreciated.
Thank you