Help!
I have the following tables: COMPANY and PROSPECT. I've set up a one-to-many relationship between them. I have a COMPANY_VIEW form and on it a bunch of subforms - one of which is PROSPECT_VIEW. A PROSPECT has about 50 fields. I have a Combo Box that is bound to PROSPECT_NAME, and populated by a query that works. The other 50 fields populate when you first load; it loads the first PROSPECT by default.
Here's what I want: when you select a different PROSPECT_NAME in the Combo Box, it should refresh all of the other fields from the PROSPECT with that PROSPECT_NAME.
I've had the PROSPECT_NAME combo box on the PROSPECT_VIEW subform, but tried moving it to the COMPANY_VIEW form and it still didn't work.
I'm guessing I need to do something with the Combo Box's AfterChange event but every "requery" solution I found online and tried did nothing. I think that's because it's re-running the original query, which just populates the Combo Box and selects the first PROSPECT by default. But I don't know how to force it to select a different PROSPECT. Any thoughts?
Thanks in advance,
Kevin