enter data in a combo box based on value from another combo box 
Author Message
 enter data in a combo box based on value from another combo box

I am not familiar enough with access to handle this on my own, any help is
greatly appreciated.

I have a problem in trying to populate a combo box based on the value from
another combo box.  I cannot use the default value property because the
entire record is blank until I enter data into the first combo box.  The
person using the form must have the ability to overide the automated entry
and select from a dropdown list.  This is why I am using a second combo box.

The value needed for the second combo box is obtained from the same table as
the first combo box.  Method:  From the first combo box, I select the
guidelist value (field name: Guidelist) that I want.  What I need done is a
lookup where the second combo box titled: ActivityCode is populated with the
ActivityCode value that corrosponds to the Guidelist value selected.  I
assume that this is done using the AfterUpdate event.

Table:  Guidelist
    Field: Guidelist
    Field: ActivityCode
Form: frmLocalData
    SubForm: subfrmDailyInput
        combo box: combo14 = [guidelist]
        combo box: combo20 = [ActivityCode]

Thanks Again
Roger



Mon, 16 May 2005 00:42:58 GMT  
 enter data in a combo box based on value from another combo box
http://www.mvps.org/access/forms/frm0028.htm

--
Allen Browne - Microsoft MVP (Most Valuable Professional)
Allen Browne's Database And Training - Perth, Western Australia.
Tips for MS Access users - http://allenbrowne.com/tips.html
Reply to the newsgroup. (Email address has spurious "_SpamTrap")


Quote:
> I am not familiar enough with access to handle this on my own, any help is
> greatly appreciated.

> I have a problem in trying to populate a combo box based on the value from
> another combo box.  I cannot use the default value property because the
> entire record is blank until I enter data into the first combo box.  The
> person using the form must have the ability to overide the automated entry
> and select from a dropdown list.  This is why I am using a second combo
box.

> The value needed for the second combo box is obtained from the same table
as
> the first combo box.  Method:  From the first combo box, I select the
> guidelist value (field name: Guidelist) that I want.  What I need done is
a
> lookup where the second combo box titled: ActivityCode is populated with
the
> ActivityCode value that corrosponds to the Guidelist value selected.  I
> assume that this is done using the AfterUpdate event.

> Table:  Guidelist
>     Field: Guidelist
>     Field: ActivityCode
> Form: frmLocalData
>     SubForm: subfrmDailyInput
>         combo box: combo14 = [guidelist]
>         combo box: combo20 = [ActivityCode]

> Thanks Again
> Roger



Mon, 16 May 2005 01:03:42 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Combo Box like Data Bound Combo Box?

2. Adding valuse to a combo box base on a value list

3. Cetting A Report To Select Records Based Upon A Value Selected In A Combo Box

4. Limit subform combo box by selection in parent combo box

5. Want Access combo box to filter rowsource of another combo box

6. Populating a combo box from another combo box

7. Populate a combo box from another combo box selection

8. selecting records for 2nd combo box dependant on first combo box

9. Help filling second combo box from fist combo box

10. Combo box selection narrows next combo box choices

11. load 2nd combo box - depend on first combo box

12. Setting Combo box ListIndex initiates Combo box Click event

 

 
Powered by phpBB® Forum Software