473,503 Members | 4,272 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problems with tables

Hello,

I created an Access database, with information about Cars & Producers.
I've got two tables:
- Cars ( GOLF, Chayenne, Beetle etc...)
- Producers ( Volkswagen, Ford, GM, Porsche etc...)
My goal is that when I click in the 'table Cars' a Golf, there
automatically is made a connection with Volkswagen. And when I click
at Chayenne that there is established an connection with Porsche
etc...

I hope anybody can help me with this problem.

Because I am new here I am glad with any feedback. And if I am doing
something wrong I would like to hear it.

Thanks for any help.
Nov 13 '05 #1
1 1260
Producers to Cars is really a one to many relationship.
That is - One Producer will make Many Cars.

I suppose we should say Models rather than Cars though
that's not really important.

Make sure you have a unique primary key on each table - let
Access do it's own thing and put Autonumber PK's in. Next
add a Long Integer field to Cars call it fkProd and make it
a NON unique index. The idea is that the PK of Producer
will get copied to fkProd for each appropriate row in Cars
when a record is created.

Then set a one to many Relationship on those two tables from
the PK of Producers to the fkProd of Cars.

You'll probably need to write an update query to fill in the
fkProd's for Cars that are already there.

Good luck... :-)

--
Nick Coe (UK)
AccHelp v1.01 Access Help File Builder
http://www.alphacos.co.uk/html/acchelp
Download Free Demo Copy

---

"Matthias" <cl*****@hotmail.com> wrote in message
news:dc**************************@posting.google.c om...
Hello,

I created an Access database, with information about Cars
& Producers.
I've got two tables:
- Cars ( GOLF, Chayenne, Beetle etc...)
- Producers ( Volkswagen, Ford, GM, Porsche etc...)
My goal is that when I click in the 'table Cars' a Golf,
there
automatically is made a connection with Volkswagen. And
when I click
at Chayenne that there is established an connection with
Porsche
etc...

I hope anybody can help me with this problem.

Because I am new here I am glad with any feedback. And if
I am doing
something wrong I would like to hear it.

Thanks for any help.

Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2419
by: Marko Poutiainen | last post by:
Situation: We had to make our SQLServer 2000 database multi-lingual. That is, certain things (such as product names) in the database should be shown in the language the user is using (Finnish,...
1
2317
by: jdola | last post by:
I have a customer that is using Access to create reports from FoxPro tables. We started noticing problems with the indexes on the FoxPro tables. It is to the point where we have to delete and...
8
1988
by: Steve Jorgensen | last post by:
Hi folks, I'm posting this message because it's an issue I come up against relatively often, but I can't find any writings on the subject, and I haven't been able to figure out even what key...
5
3984
by: Scott | last post by:
I have a customer that had developed an Access97 application to track their business information. The application grew significantly and they used the Upsizing Wizard to move the tables to SQL...
4
2242
by: Marcin Zmyslowski | last post by:
Hello! I have a few tables in MS SQL Server 2000, where I have admin permissions for these tables. I have created a blank database in MS Access 2003, where I linked a table from MS SQL Server...
1
335
by: James Bird | last post by:
Hello In order to perform a hetrogeneous join (I think that's what they're called) between MySQL and another database, I've created an Access database containing linked tables from each...
0
1931
by: Zlatko Matić | last post by:
I have experienced some problems with total operations (sum, min, max, avg etc) in pivot tables nad pivot charts in .mde. In .mdb I can activate any totals operation. on both notebook and desktop...
7
1782
by: koonda | last post by:
Hi guys, I am trying to create a web interface in C# using ASP.NET. The database being used is SQL Server. I have some problems loading the tables in the datalist controls. When I run the program...
3
2459
by: k2storm | last post by:
I'm having problems with Reports and I'm seeking some help, or advice on how to solve this problem. Any help will be much appriciated! It’s hard to explain but I will try to do my best: In my...
0
7194
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7070
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7316
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6976
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7449
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1495
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
729
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
372
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.