If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Selective Combobox?
I have a combo box on a subform. The subform is linked to the main form by
the ContractorID. The main fields in the subform are ContractorID, ContactID, ContactName. I created a combobox where the Bound Column is ContactID. If a select an bound combo the combobox shows the contactID, not the ContactName as specified in the Combobox columns. If select an unbound combo, the ContactID field is empty. With an unbound form, I get no names, except when I click the arrow down, I got the names of "all" contacts, even those who do not belong to the contractor. What I want is a combo box which displays the names of the contacts for the current contractor, and when I click the arrow down on the combobox, it should display only the names connected to this particular contractor. Is it possible? Otherwise, I am better off with just a text box. But then how do I add new names? Help, Annelie |
#2
|
|||
|
|||
Annelie;
This worked for me. Q209595 - ACC2000: How to Synchronize Two Combo Boxes on a Form It takes a little patients and some work but it does the job. Andy "Annelie" wrote in message ... I have a combo box on a subform. The subform is linked to the main form by the ContractorID. The main fields in the subform are ContractorID, ContactID, ContactName. I created a combobox where the Bound Column is ContactID. If a select an bound combo the combobox shows the contactID, not the ContactName as specified in the Combobox columns. If select an unbound combo, the ContactID field is empty. With an unbound form, I get no names, except when I click the arrow down, I got the names of "all" contacts, even those who do not belong to the contractor. What I want is a combo box which displays the names of the contacts for the current contractor, and when I click the arrow down on the combobox, it should display only the names connected to this particular contractor. Is it possible? Otherwise, I am better off with just a text box. But then how do I add new names? Help, Annelie |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Avoid Null value in ComboBox - MS Access 2000 | Wayne Morgan | Using Forms | 1 | July 8th, 2004 04:05 AM |
Problem in ComboBox Population | Ganesh | Using Forms | 1 | June 15th, 2004 02:58 AM |
Problem in ComboBox | Ganesh | Using Forms | 2 | June 9th, 2004 06:22 PM |
Problem in ComboBox | Ganesh | Using Forms | 0 | June 9th, 2004 03:12 AM |
Problem in ComboBox | Ganesh | Using Forms | 0 | June 9th, 2004 03:11 AM |