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
|
|||
|
|||
Minimize Search
I have three tables. Countries, Schools, Groups. Countries table has a feild
called Country_Name which contain countries Names. Schools table has a feild called School_Names which contains schools of that country and has a relationship with the Country_Name feild in the Countries table via a Country_Name feild of its own. Groups table contains information about individuals groups in the schools. The problem is there are more than 7000 schools thus selecting the school in the Groups table by means of a relationship with the Schools table gives me more that 7000 schools to select from. Is there anyway I can limit the list of schools to pick from in the table by preselecting the country? |
#2
|
|||
|
|||
Minimize Search
You can programmatically set the RowSource of the combo to limit its list.
Details in: Limit content of combo/list boxes at: http://www.mvps.org/access/forms/frm0028.htm -- Allen Browne - Microsoft MVP. Perth, Western Australia. Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. "code_warrior" wrote in message ... I have three tables. Countries, Schools, Groups. Countries table has a feild called Country_Name which contain countries Names. Schools table has a feild called School_Names which contains schools of that country and has a relationship with the Country_Name feild in the Countries table via a Country_Name feild of its own. Groups table contains information about individuals groups in the schools. The problem is there are more than 7000 schools thus selecting the school in the Groups table by means of a relationship with the Schools table gives me more that 7000 schools to select from. Is there anyway I can limit the list of schools to pick from in the table by preselecting the country? |
#3
|
|||
|
|||
Minimize Search
Why don't you create an entry query where it prompts you to enter the name of
the country. It will then produce the schools only for that country... "code_warrior" wrote: I have three tables. Countries, Schools, Groups. Countries table has a feild called Country_Name which contain countries Names. Schools table has a feild called School_Names which contains schools of that country and has a relationship with the Country_Name feild in the Countries table via a Country_Name feild of its own. Groups table contains information about individuals groups in the schools. The problem is there are more than 7000 schools thus selecting the school in the Groups table by means of a relationship with the Schools table gives me more that 7000 schools to select from. Is there anyway I can limit the list of schools to pick from in the table by preselecting the country? |
#4
|
|||
|
|||
Minimize Search
An entry query would work. How do I do that. Do I create a query that looks
up the country name from the countries table then create a feild called country name in the groups table that looks up the query? Its been a long time. "Paul.S" wrote: Why don't you create an entry query where it prompts you to enter the name of the country. It will then produce the schools only for that country... "code_warrior" wrote: I have three tables. Countries, Schools, Groups. Countries table has a feild called Country_Name which contain countries Names. Schools table has a feild called School_Names which contains schools of that country and has a relationship with the Country_Name feild in the Countries table via a Country_Name feild of its own. Groups table contains information about individuals groups in the schools. The problem is there are more than 7000 schools thus selecting the school in the Groups table by means of a relationship with the Schools table gives me more that 7000 schools to select from. Is there anyway I can limit the list of schools to pick from in the table by preselecting the country? |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Integrate desktop search into office apps | AIM48 | General Discussions | 3 | April 2nd, 2006 08:35 PM |
Help performing a search | Someone | General Discussion | 14 | November 21st, 2005 10:22 AM |
Visible Property | Ben | General Discussion | 4 | September 14th, 2005 08:22 PM |
Search fields in form | spacerocket | Using Forms | 0 | August 25th, 2005 10:25 AM |