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 to get data from 2 tables into 1 alpha list?

Featured Replies

What's the best/easiest way to get data (in this case, a list of names) from two separate tables (same file) into a single alphabetized list?

RDecker

The Troi Text Plug-in. http://www.troi.com

It has all the functions you need to do this.

  • Author

Is there no way to do this within FM7?!

My situation doesn't allow for the purchase of add-ons/plug-ins; this is a solution that will be provided at no cost in run time format to several small non-profits...

RDecker

Are the names static or will you be adding/editing them?

  • Author

The indiv names would normally be static (though if someone got married, they could change). There will be names constantly added to both tables, however.

RDecker

  • 3 weeks later...

Please sprinkle "I think" through this. Haven't tried it in V7 and memory is a bit shakey.

Define two valuelists for each of your two fields.

Define a AllNames = ValueListItems(dbname1, Field1 List) & para thingie & ValueLitItems(dbname2, Field2 List)

Define NewValList as values from the field AllNames. (Not sure if it can be a Global.)

  • Author

Thanks. Two weeks ago I'd have tried your idea. But since I couldn't figure it out then, and no one else had any ideas, I restructured the database so that what I had in two separate tables previously are now together. That created other problems in my situation, but I was able to work around those issues easier than my original.

RD

if the two tables are related in some way, u can make an unique id on both tables, and then on the third table where u wish the combined list to be, an ID field to identify.

then what u do is to use auto-enter of calculated results... i am a bit lost here but i have done it using this method, or step-script would do too.

be patient... and use ur brain, it took me some time to figure out a way too.

or use money to save ur extra brain work and time :-)

Combining the two tables is the right idea. Since both tables were dealing with people, then they really were holding a lot of the same data. Any extra data they held that they didn't share could be in another table and related to the People table.

It's a bit more object-oriented way of doing things, and it helps in a lot of situations. Creating a list is one, finding is another.

I agree with spankalee. It is usually not worthwhile to have two tables with the same data.

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.