A
Amanda Kelly
I have a form that acts like a switchboard called frm_Forms_Switchboard. The
first combo box lets you select a user, and then it should automatically open
the user form (frm_user_projects) only pulling the selected users records.
Here is the background:
The problem is that now we have multiple users, and its not working... Here
is how I have it set up: ( sorry if this really detailed - but the
directions say to be)
I have a table (tbl_owner_activity) - it has the project id and userid.
Then there is a query (qry_owner_activity) that links tbl_owner_activity by
userid and owner_id to a query named qry_owner that contains owner_id, first
name, last name, and sp (first name and last name combined, ie John Doe)
I have a projects table (tbl_projects) that has all the project information
in it.
I have a form called (frm_user_projects) and heres the problem:
--there is a child/subform whose foundation is qry_owner_activity, and
the userid is a combo box that pulls its data from the owner_id from
tbl_owner and populates userid
--there is a combo box on the parent form that looks up the project
title and navigates to that record...it pulls data based on the following
statement.
SELECT [qry_user].[Project_Title] FROM [qry_user] WHERE
(((forms![qry_owner_activity subform]![combo19])=[forms]![frm_forms
switchboard]![Combo55])) ORDER BY [qry_user].[Project_Title];
....combo19 is userid
....combo55 is the combo box that the user selects their name and the form
opens
I would like for the user to be able to select their user name from the
frm_Forms_Switchboard and it to open up frm_user_projects filtering by userid
since userid and owner_id are the same thing.
Since there are multiple users, i need the filter to pull that users
projects and any other projects that he/she is multiple user on.
first combo box lets you select a user, and then it should automatically open
the user form (frm_user_projects) only pulling the selected users records.
Here is the background:
The problem is that now we have multiple users, and its not working... Here
is how I have it set up: ( sorry if this really detailed - but the
directions say to be)
I have a table (tbl_owner_activity) - it has the project id and userid.
Then there is a query (qry_owner_activity) that links tbl_owner_activity by
userid and owner_id to a query named qry_owner that contains owner_id, first
name, last name, and sp (first name and last name combined, ie John Doe)
I have a projects table (tbl_projects) that has all the project information
in it.
I have a form called (frm_user_projects) and heres the problem:
--there is a child/subform whose foundation is qry_owner_activity, and
the userid is a combo box that pulls its data from the owner_id from
tbl_owner and populates userid
--there is a combo box on the parent form that looks up the project
title and navigates to that record...it pulls data based on the following
statement.
SELECT [qry_user].[Project_Title] FROM [qry_user] WHERE
(((forms![qry_owner_activity subform]![combo19])=[forms]![frm_forms
switchboard]![Combo55])) ORDER BY [qry_user].[Project_Title];
....combo19 is userid
....combo55 is the combo box that the user selects their name and the form
opens
I would like for the user to be able to select their user name from the
frm_Forms_Switchboard and it to open up frm_user_projects filtering by userid
since userid and owner_id are the same thing.
Since there are multiple users, i need the filter to pull that users
projects and any other projects that he/she is multiple user on.