Mercy_Killer101
Registered User.
- Local time
- Today, 19:33
- Joined
- Nov 26, 2013
- Messages
- 10
Hey guys, I have a problem I've been bashing my head against for a couple of days, hopefully you guys can help a newbie out:
I'm using Access 2013.
I have 2 tables with a many is to many relationship: Clients, and Projects. I connected them using the Client Projects Table, where I have the foreign keys from Client(Client ID) and Projects(Project ID) as fields, and ClientProject ID as the PK.So far, so good.
I also have another Table, Job Logs, which has a many-to-one relationship with Client Projects via ClientProjects ID as a Foreign Key.
Now I created a form for users to Add Job Logs. This has a cascading combo box where the user first chooses the Client ID(SelectClient), and this then filters the Select Project(SelectProject) Combo Box. I did this using [Forms]![Add Job Logs].[Selectclient] in the Criteria for the 2nd ComboBox, and I added a requery After Update Event in the SelectClient cb.
My problem is: I need the SelectProject Combo Box to display the Project Name, not the FK ClientProject ID, while still inputting the FK into the record.
I'm using Access 2013.
I have 2 tables with a many is to many relationship: Clients, and Projects. I connected them using the Client Projects Table, where I have the foreign keys from Client(Client ID) and Projects(Project ID) as fields, and ClientProject ID as the PK.So far, so good.
I also have another Table, Job Logs, which has a many-to-one relationship with Client Projects via ClientProjects ID as a Foreign Key.
Now I created a form for users to Add Job Logs. This has a cascading combo box where the user first chooses the Client ID(SelectClient), and this then filters the Select Project(SelectProject) Combo Box. I did this using [Forms]![Add Job Logs].[Selectclient] in the Criteria for the 2nd ComboBox, and I added a requery After Update Event in the SelectClient cb.
My problem is: I need the SelectProject Combo Box to display the Project Name, not the FK ClientProject ID, while still inputting the FK into the record.