A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Selective Combobox?



 
 
Thread Tools Display Modes
  #1  
Old August 15th, 2004, 02:38 AM
Annelie
external usenet poster
 
Posts: n/a
Default 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  
Old August 20th, 2004, 04:08 AM
Andy
external usenet poster
 
Posts: n/a
Default

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 05:40 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.