Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

Show current record in another database?


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

Recommended Posts

Posted

Sorry for a newbie question, but here goes:

Let's say I have a simple FM database and one record currently showing. Is there a way to set up a relationship so that if I create a new record in a second database, all of the relevant info from database #1 is inserted automatically without me having to type the related field info?

Thanks!

Russ Conte

Posted

In a good relational structure the data in your main file is displayed by not copied to your secondary file. There are instances where this isn't true, such as the address on a Invoice, which you don't want to change as the address on file in say a client file is changed.

First step, make sure every record in your main file has a auto entered record number which isn't displayed to the user, doesn't inherently "mean" anything, and can't be changed. When you create a new record in your secondary file, use scripting to associate the new record with the main file by entering the record number from the main file in a field in the reocord of the secondary file. Build a relationship FROM the secondary file TO the mail file using a match of the record number field in each file. Use this relationship to 1) display related fields from the main file in the secondary file (first choice) or 2) lookup fields from the main file into fields in the secondary file (only if necessary for historical reasons, as in above example).

-bd

Posted

Hi Guys,

I probably stand to be corrected.Lookups are easier to create and i guess faster, one major problem with lookups is duplication since when you copy information from one file to onother i, you freeze that data in the second file, unless of course you choose to make occasional updates incase

of any changes in the original file.

Nevertheless look ups are best when you dont need to do occasional updates.

I think creating auto entered records with built relationships works best.

rgds

anita.

This topic is 8417 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.