Link to home
Start Free TrialLog in
Avatar of sherman6789
sherman6789Flag for United States of America

asked on

Need to select sub-list after selecting item from main-list

We have a database with records that list various organizations' information.  Each organization belongs to one of three "Main" groups (ex. Group A, Group B or Group C).  We have a pull down button which allows the user to select the correct main group (A, B or C). Each Main group has from 5 - 10 "Sub-groups" under it.  Once the main group is selected, we would like the list of the sub-groups for the one selected to appear on the screen.  At that time, the user will selected the proper sub-group.  Both the main group and sub-group selection will be stored in the main table.  There already exists a table of Main-groups.  I am sure that I must create a table of sub-groups.  I do not know how to have them both work together and how to make the correct list of sub-groups appear on the screen for the user to select from after chosing the main group. Having all of the sub-groups appear on the screen at all times will be a waist of space. I am not sure but this may be a place where sub-table lists must be used.  I am also guessing that once the user selects a main group, a pop-up-box listing the available sub-groups will temporarily appear for the user to select from and will dissapear after the selection is made. Any assistance that you can give will be appreciated.

WRS
Avatar of guptapiyush
guptapiyush

Can you please let us know the application in which you are showing lists.
ASKER CERTIFIED SOLUTION
Avatar of Scott McDaniel (EE MVE )
Scott McDaniel (EE MVE )
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sherman6789

ASKER

Thank you to guptapiyush: and LSMConsulting.  I have made a skelton of my database and entered some fake data into 8 records.  It is attached.

To: LSMConsulting.  I think that I have followed your advance and created the main and sub tables.  They seem to work but I have not been able to make the last part of your suggestion work.  I am using Access Windows version 2007.  However, I save it as 2000-2003 so that everyone in the office will be able to use it no matter which version they have.

The main and Sub Groups are real and use the actual information.
1.  I see Control Source rather then Row Source
2.  ColumnCount = 1 rather then 2
3.  Column Width 1 rather than 0;1
4.  Enabled: No rather than False

Are some of these names and numbers different because of the Access version?

If this can not be made to work as expected, we will be happy with the information and assistance that you have already given to us.

I will continue to work on the last problem.

Thank you.

TTAC-MarketingAsstant-EE.mdb
Please note:  The name of the Mail Group is: tblMainGroup
The name of the subgroup is: tblSubGroup

Please ignore the table named: tblGroup-Name.

Thanks.

WRS
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks to both LSMConsulting and guptapiyush.  LSMConsulting presented the complete solution and guptapiyush helped me to understand the last part of the solution.  I will divide the points between them.  I appreciate your assistance.

WRS