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.

Do related fields need identical content?

Featured Replies

This is kind of a newbie issue, but for some reason it's giving me more trouble than it should.

Basically I have a relationship between two databases. For my own purposes, these fields hold a serial-key type number. Each database has the same field, called accession number, both are text fields, and my relationship is based on these two fields.

In my master file, I have a serial number 1992.02.0008. I want this to find all records in the related file that BEGIN with those numbers, for instance 1992.02.0008A and 1992.02.0008B. It would seem to me that this would be fairly obvious, and Filemaker would do this without incident. However, it's not finding any related records.

Does the content of my related fields have to be identical in order to form a relationship between those records?

Does the content of my related fields have to be identical in order to form a relationship between those records?

As with any database engine, absolutely. Update your profile to let us know what version of FM you're using and we can suggest the best way for you to do this.

Also, you will typically get better results from this site if you post your question in the appropriate forum. The subject of this forum is: "Please provide feedback regarding the operation of FM Forums." Now you know. smile.gif

Jerry

  • Author

5.5, at the moment.

Is there any sort of wilcard character I can use?

Using * at the end doesn't do it.

Edit: Ha, and good point about the topic of the forum...I wasn't paying attention I guess!

You can use the wildcard for searches, but not relationships.

Is the initial string -- i.e., what you would like to put in before the wildcard character -- i.e., "1992.02.0008" in your example above -- is that always going to be 12 characters long? If so, you could make a key from a calc field, the calc for which would be:

Left ( SerialNumber , 12 )

Any relationship based on this field will match all records that have serial numbers that start with 1992.02.0008.

J

  • Author

Alright, I'll look into a solution on that route. Thanks for the help in the unrelated forum!

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.