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.

How do I link database information?

Featured Replies

  • Newbies

I'm trying to build a button in my 'address book' database that automatically creates a new record and fills in common data (name, address, company name etc.) into my 'jobbook database'. I've been playing around with relationships and field lookups but to no avail. Does anyone have any suggestions as to how to make this work?

Thank you.

Andy

Can you give more detail as to how you use those 2 databases?

  • Author
  • Newbies

Hi Eric,

They're both quite simple, the address book is self explanatory and the job book registers and assigns job numbers and client details once we have an order from a client. I see the address book as the central hub (parent?) of the system with other databases such as estimates, job book, invoices etc linked as children. I've managed to create (I've only been working with filemaker for two days so bear with me) a lookup field (company) within the job book database that links to the 'address book' and autofills shared field info; client names, comapany name, address etc when company name is entered. This works OK and we could live with it but ideally what I want is a button in my address book that creates a new job book page with all shared data filled in based on the individual selected in the open address book window.

In short responsibility for creating a new job entry is fulfilled from the address book with one click as opposed to the three step process I'm performing at the moment.

best,

andy

The easiest way would be to script the following in the address book:

Copy contents of your lookup field to the clipboard.

Run external script, "New Job from Address Book"

The external script is in the Jobs Database and looks something like this:

Enter browse mode

create new record

"paste" into the lookup field here.

Refresh window (bring to front)

The slightly more complicated way would be to forget about copy/pasting and use a global field setup instead.

One more thing... I recommend against using company name as your lookup field. If you ever have to change the company name (even slightly), the "link" between the records will be lost forever, so you'll never be able to run historical reports by company for example.

It is much wiser to use a "serial number" as your lookup field. They will never be duplicated, and they can never be changed.

Good luck!

--

Jason Wood

HeyWoody.com

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.