Hi,
I've looked in the FAQs and throughout the existing questions, but finally gave up looking. I hope someone will help even if this type of question has been asked and answered already.
I have two tables: tblPlayer and tblAgent. The tblAgent table is prepopulated with all available agents. I have a form called frmPlayer. I want to add a subform (frmAgent) to frmPlayer to display the player's agent's information.
My problem is that I don't know how to create frmAgent so that a user can simply select an AgentName from a combobox on frmAgent (populated with all the Agent names from tblAgent) and have all the other tblAgent fields for that Agent (e.g. AgentAddress, AgentPhone, AgentType, etc.) appear in the respective text boxes on frmAgent.
Can someone help?
Thanks!
I've looked in the FAQs and throughout the existing questions, but finally gave up looking. I hope someone will help even if this type of question has been asked and answered already.
I have two tables: tblPlayer and tblAgent. The tblAgent table is prepopulated with all available agents. I have a form called frmPlayer. I want to add a subform (frmAgent) to frmPlayer to display the player's agent's information.
My problem is that I don't know how to create frmAgent so that a user can simply select an AgentName from a combobox on frmAgent (populated with all the Agent names from tblAgent) and have all the other tblAgent fields for that Agent (e.g. AgentAddress, AgentPhone, AgentType, etc.) appear in the respective text boxes on frmAgent.
Can someone help?
Thanks!