Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3881 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Hi,

 

Im stuck with something really simple, please can you give me some assistance as I'm having a brain block.

 

I have two tables,

 

Lets say they are called cars and customers.

 

In the car table it will contain the following.

 

Registration number

Model

Engine size

no of seats.

 

In the customer table it contains information about the customer but also the info about the car that they own (using same field names as above). I want to be able to type in the registration number in the customer layout and for it to look this up in the cars table and 'autofill' the fields (model,engine size and no of seats) in the customer table based on what it reads from the car table.

 

hope this makes sense, I know its simple but im stuck...
 

Any pointers would be appreciated.

Posted

Hi!  Welcome to FMForums!

 

The whole purpose of relational databases is so that you do not need to duplicate information in two places.  Not only does proper relational eliminate redundancy but when you have duplicate information in two places, you risk that you will change the data in one place and not the other.

 

Here is a sample of how you should be structured.  And this allows a Customer to have more than one car.

The606.fp7.zip

  • Newbies
Posted

That's great, thanks for spending the time to do this. Ill have a play and come back. Much appreciated.

This topic is 3881 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.