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.

Using a complicated script with Related Databases

Featured Replies

I am working with FM 4.0. I have 3 main databases that are interrelated. Customers, Inventory, and Orders. Each database has some data that the other database does not contain. I've been trying to make the system more efficient since I started this job.

What I need to do:

(I am using a field that has data in all 3 databases as the defining relationship comparison. It is the ISBN number of the inventory)

I want the script to tell me which ISBNs are in stock but that the customer has not already recieved. Then I will use this list to define types of items within those ISBNs to determine the shipment.

I need a script to:

Perform a find in Inventory then

compare the data in another found set in Orders.

It must then eleminate any records that appear in both found sets but keep the records from the Inventory found set that are unique.

It then must use those records to perform a user defined find.

I have the basic idea, but the problem is that some of the records are listed more than once in one or both databases. How do I make it eliminate all duplicate records?

Any help would be appreciated!

Start by showing what you have already done. There are about 1 billion ways to accomplish what you want to do and I am sure that the way any of us will explain it will be totally opposite of what you have already started.

My guess, from what you have already written, is that you have a VERY SMALL problem, possibly even just one step, and if we can see what you already have we might be able to spot it.

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.