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.

Lookup Problem with same values

Featured Replies

  • Newbies

I'm doing a lookup to pull information from a Contacts Database into the current database.

The matching fields for the relationship are the contact names.

When I enter a contact name it pulls in the persons email, mobile, phone and fax numbers.

Everything works fine for the most part but when there are a number of contact names the exact same (e.g two John Smiths) the lookup always picks the first John Smith it encounters in the Contact names database and pulls in their information.

How can I get the lookup to pull in the information from the correct record in the Contact Names Database

This is why we use Key fields. A key should be unique, it should not have any meaning other than being the key. You could add an auto-entered serial number and use the replace command to populate it. Or you could make a calculated field = Name & Address and use this a the key.

Do you really want lookups are do you want related data?

  • Author
  • Newbies

Thanks RalphL

Your suggestion solved my Problem.

I created a new calculation field (CombineKey) in both tables that combined our unique "Contact Code" for each company listed with their "contact name"

I then setup a relationship between these two new matching fields and now using the lookup it pulls in data from the correct record

Again Thank You for your help

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.