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.

Finding the same sets in related dbs?

Featured Replies

I have a related orders database and customers database. The customer databse populates the order database with the customers address, etc based on a relationship of first name, last name, and email address.

What I want a script to do is this:

Go to a related found set.

So, for example, I have a found set of a hundred orders in the orders database. I want my script to jump me to a found set of the customers in the customer database.

Not an answer, just some further questions:

Is there always one (and only one) customer for each order?

Can several orders in any given found set have the same customer?

Now the big one: Under what circumstances, and for what purpose, do you want to do this? I ask because there may be another way to accomplish your task.

  • Author

Is there always one (and only one) customer for each order?

Yes, there is only one customer for each order.

Can several orders in any given found set have the same customer?

Yes. One customer could have 5 different orders.

Now the big one: Under what circumstances, and for what purpose, do you want to do this? I ask because there may be another way to accomplish your task.

This is the reasoning. I sometimes want to do a search on all customers who purchased certain items and then go to those customers records in the customers database.

An alternative way to do what I want would be to create some kind of portal from the Customers db to a purchasing history. This would however, get a little complicated since there is another db involved (lineitems). So I figured there would be a way to maybe do a loop search on customer ids or something.

You could create another "Items" DB that shows each item in a separate record, then has a portal for each time the item is ordered.

Come to think of it, you probably already have one -- it forms the line items in the "Orders" DB. In which case, a portal probably wouldn't do; use a sub-summary part when sorted by Item. Yeah, it would only be viewable in Preview mode, but it's there.

Or you could do a find in the Items DB for the item you want to look up, then just see what records are there (maybe sort them by customer).

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.