L
leeandgracebest via AccessMonster.com
I have a combo box that is based on a query. My query contains the criteria
" [Forms]![frmCLIENTS]![ClientID] " where the main form contains the ID of
the Client and the subform contains the foreign field ClientID from the table
"Contacts" and they are joined in the query. If I run the query, I need to
enter a paramenter to return a list of contact names.
In my subform I have my combo box where I want to be able to pick a contact
from a list that is displayed for a particular clientID. The combo box
returns a list that matches the client ID for the first Client chosen, but it
is the same for all other clients. I have tried to requery the list by
placing "Me.ContactList.requery" in the AfterUpdate property in the combo box
but it doesn't work.
Any help would be greatly appreciated.
Thx. Lee
" [Forms]![frmCLIENTS]![ClientID] " where the main form contains the ID of
the Client and the subform contains the foreign field ClientID from the table
"Contacts" and they are joined in the query. If I run the query, I need to
enter a paramenter to return a list of contact names.
In my subform I have my combo box where I want to be able to pick a contact
from a list that is displayed for a particular clientID. The combo box
returns a list that matches the client ID for the first Client chosen, but it
is the same for all other clients. I have tried to requery the list by
placing "Me.ContactList.requery" in the AfterUpdate property in the combo box
but it doesn't work.
Any help would be greatly appreciated.
Thx. Lee