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.

Reference data from omitted record

Featured Replies

I have a PROJECTS db that contains layouts for every type of document I use during a project, particularly contracts & change orders. Now, each contractor in a project has one CONTRACT record in the CONTRACT layout, and then will have multiple CHANGE ORDER records afterwards in the CHANGE ORDER layout. So, on my home screen when I select NEW CHANGE ORDER I am taken to the CHANGE ORDER layout and a CONSTRAIN FOUND SET script step isolates all records with rec_type CHANGE ORDER.

Now, when I select a contractor in a new CHANGE ORDER record I would like the contractor's CONTRACT data (from another record that is omitted via the constrain script step) to be auto-entered in some fields (contract date, contract amount, etc.).

So how do I call up specific data from a field in a record that has been omitted? I think another table would do it, but so far I have not been successful as I am still learning relationships and scripting.

Thanks for any help.

You need a relationship to the desired contract to pull its data (or merely display it) in the change order. It is irrelevant whether the related record is currently displayed or omitted. As long as there is a valid link to it, you can view or lookup its data.

Before you continue creating the system, I would highly suggest you continue learning about relationships. It will benefit you greatly and make it much easier to develop your solution correctly the first time, instead of having to clean it up later. :wink2:

I would agree with Queue. The Change Orders (of which there could be several per Contract) really belong in their own table, linked to Contract. You could try and do them the way you're doing, in the same table. But in FileMaker 7 it's easier to just put them in their own table.

View/create them in a portal on a Contract layout. You can export the ones you have now, then import them back into their own table. FileMaker 8 (even the demo version) can create the table for you during the import, with the field names (saves time). It's an option in the drop-down at the top right of the import dialog, for the target.

You would need to link the Contracts and their Change Orders. I'm not sure how you're doing it now. You may need some help with this. It is easier to set up related tables correctly at the start, but it can be done later.

  • Author

I'll work on developing the solution as you both illustrate. I know I need to get my relationship knowledge together. It's a concept I've been struggling with but am getting better as I spend more time developing them.

Unfortunately FM8 is not an option for me at the moment, but it sure sounds like they've been listening to their users.

Thanks.

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.