George-Bowyer
Registered User.
- Local time
- Today, 02:12
- Joined
- Dec 21, 2012
- Messages
- 178
Hello,
I have a db that stores information about clubs and people who are members and officers of those clubs.
People can apply to go on courses and in order to add someone to the relevant course records I have form where the user can pick from the entire list of contacts nationwide in a subform (in continuous forms format) that shows names and addresses. That's all fine.
However, because there can be several John Smiths and the address does not make it obvious, I am trying to put a combo-box in the form which shows which positions they hold in which clubs. (People can hold more then one position in more than one club or no positions in any club).
So when they search for John Smith and find two living in Northampton, they can click the dropdown and say "Ah, yes, I want the one that's Chairman of Northampton North, not the one who's Secretary of Northampton South".
I have created a combobox based on a query that looks for positions held by [fldContatctID] in the form but when I use the form in a subform in continuous forms format, it shows every record holding the positions of the first record on the list. What I want it to do, obviously, is show the positions of the person on that line only.
I suspect I am making some very basic mistake - but I can't work out where it is.
Many thanks,
George
I have a db that stores information about clubs and people who are members and officers of those clubs.
People can apply to go on courses and in order to add someone to the relevant course records I have form where the user can pick from the entire list of contacts nationwide in a subform (in continuous forms format) that shows names and addresses. That's all fine.
However, because there can be several John Smiths and the address does not make it obvious, I am trying to put a combo-box in the form which shows which positions they hold in which clubs. (People can hold more then one position in more than one club or no positions in any club).
So when they search for John Smith and find two living in Northampton, they can click the dropdown and say "Ah, yes, I want the one that's Chairman of Northampton North, not the one who's Secretary of Northampton South".
I have created a combobox based on a query that looks for positions held by [fldContatctID] in the form but when I use the form in a subform in continuous forms format, it shows every record holding the positions of the first record on the list. What I want it to do, obviously, is show the positions of the person on that line only.
I suspect I am making some very basic mistake - but I can't work out where it is.
Many thanks,
George