Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Help needed: duplicating information from fields in two different layouts

Featured Replies

First of all let me say that I'm going on my first steps on FM, although I wanted very much since I can't remember...but I really need some help in two points for now. (so I'm counting on you guys :worship:)

The facts:

I'm building a database to help me keep the records to my PhD thesis in Art History. I have several art objects (altars) that I need to save specific information, and the places where they are (churches) also need information saved.

In two (2) Layouts I'm able to save all the information I need, BUT, some fields are the same in the two tables. (about 5 fields)

For instance:

Layout A: Churches Registration

One record per church - in that layout I have one field with an automate serial number

Layout B: Altars Registration

One record per altar - in that layout I have one field to REFER to that automate serial number in the Layout A.

What do I want with this?

what I want is: when I enter, in Layout B, the number of the record from the Layout A, the repeating fields (from the Layout A) are automatically filled in the layout B!

What I've done so far:

-I'm created the same fields in the 2 Layouts

-I've created the relationships between the 2 Layouts (but don't know if they are correct)

-I've chosen the option "Lookup" in the repeating fields.

Status:

NOT WORKING :laugh::laugh::laugh: (off course, I'm just a newbie how could it work?)

The other thing, I think it's more simple: how can I reset the serial number to 0 or 1 (no records are there yet)?

Please don't forget about me or I'll be totally doomed :titanic:

I am assuming that an altar belongs to one church only - but are there churches that have more than one altar?

  • Author

You are absolutely correct.:thumbup:

I might have to do 3 (average) or 5 or 10 altar records per church, but that is not a problem to me because each altar got to have one inventory file. I just don't want to type the same boring information in those 3, 5 or 10 records... :bang:

You don't need to type the same information twice. In the Altars table, you need to enter the altar data only, and also the unique ID of the parent church record. The church data is available through a relationship matching the ID.

  • Author

Thank you!

In the meantime (actually just now) I was able to solve it. (that was it ??? )

But still...I cannot reset the serial to 0 or 1...

It depends on whether you have records that you want to re-serialize, or just start from scratch.

  • Author

From scratch. The number that my database have are just "shadows" of try-outs of records.

Go into Manage Database… and set the 'next value' in the field's options. Another way is to run a script that uses the Set Next Serial Value[] step.

  • Author

I've tried that in the first place...didn't work. Even if I erase all the records and set the next number to "1", still goes on the supposed next. If i need a script...what would that be?

Even if I erase all the records and set the next number to "1", still goes on the supposed next.

Are you sure you have the right field?

The script does the same thing you would do manually. It only needs the one step I have mentioned.

  • Author

you are again correct! :clap:

now it worked! i guess I was not selecting the right field before. :qwery:

Many many thanks! I solved the situation in only 2 hours...uau.

Before I was developing a access db and I took more than 2 days to do what I have done so far. I'm loving Filemaker!

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.