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

Fill-up Data automatically



 
 
Thread Tools Display Modes
  #1  
Old February 12th, 2009, 03:17 PM posted to microsoft.public.access.gettingstarted
binary romel
external usenet poster
 
Posts: 9
Default Fill-up Data automatically

I have two tables
School (sch_id, sch_name, type, cluster, address, phone)
Teacher (tch_id, name, designation, sex, birth_date, join_date, education,
sch_id, sch_name, type, cluster)
I want when i type sch_id in Teacher table Access fill up sch_name, type,
cluster from School table automatically.
Pls help.

--
binary romel
  #2  
Old February 12th, 2009, 03:48 PM posted to microsoft.public.access.gettingstarted
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Fill-up Data automatically

No, you don't. REALLY, you don't!

Access is a relational database. There's no need to duplicate the
[sch_name] and other data in multiple tables.

You might take that approach if you were using a spreadsheet, but Access is
NOT a spreadsheet.

A common reason why folks believe they need to duplicate data between tables
is because they are trying to create a table that they would then use for
reporting. Don't!

A well-normalized relational table design stores data about Schools in one
table, data about Teachers in another, and uses a third table to show which
[Teacher]s are associated with which [School]s. Then you use a query to
join these together and base your report on the query.

Good luck!

Regards

Jeff Boyce
Microsoft Office/Access MVP

"binary romel" wrote in message
...
I have two tables
School (sch_id, sch_name, type, cluster, address, phone)
Teacher (tch_id, name, designation, sex, birth_date, join_date, education,
sch_id, sch_name, type, cluster)
I want when i type sch_id in Teacher table Access fill up sch_name, type,
cluster from School table automatically.
Pls help.

--
binary romel



 




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


All times are GMT +1. The time now is 11:04 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.