Skip 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.

Compare 2 fields in separate tables

Featured Replies

Couldn't find anything on this in searches. It seems like a simple task, but the way I'm thinking seems tedious.

The task:

I want to compare two lists of file names that should be identical (but aren't) to find out where the first difference occurs. I have table A with a field named "a". Ten thousand records with data (a file name) in field "a", alpha sorted. I have another table, B, with 10,000 records alpha sorted in field "b". The contents of these two tables should be identical. What's a simple way to compare record 1 in A with record 1 in B, etc., to find where they differ?

Thanks again, guys.

Does the order really matter? You could find all the discrepancies at once by linking the two tables, and adding a calculation field, such as:

Field ≠ Related::Field

Search for 1 in this field to find all records that don't have a matching value in the other table.

I would think a search on that calc would be slower since it would be unstored? I would link Field A to Field B. They both are indexable. Then GTRR from table1 to table 2 (it doesn't matter which direction unless the number of records is different then begin in the table with the largest number). Then show omitted to find the records which don't match. Would that work also, Michael?

Since you must go to the trouble of joining, it would eliminate the calc, I think. Good morning!

No, the calc is not really required. You could also put the related field on the layout and search for * in it, then show omitted. Using GTRR is likely to be faster than searching on unstored - if the records are indexed. I got the impression this is a one-time thing, so (a) speed wouldn't be so much of an issue, and (;) the records wouldn't be indexed yet.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.