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 » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Minimize Search



 
 
Thread Tools Display Modes
  #1  
Old June 5th, 2006, 01:19 AM posted to microsoft.public.access.tablesdbdesign
external usenet poster
 
Posts: n/a
Default 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  
Old June 5th, 2006, 05:18 AM posted to microsoft.public.access.tablesdbdesign
external usenet poster
 
Posts: n/a
Default 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  
Old June 5th, 2006, 10:23 PM posted to microsoft.public.access.tablesdbdesign
external usenet poster
 
Posts: n/a
Default 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  
Old June 6th, 2006, 04:04 PM posted to microsoft.public.access.tablesdbdesign
external usenet poster
 
Posts: n/a
Default 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

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
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


All times are GMT +1. The time now is 06:04 AM.


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