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.

Scripting with Boolean Operators - Huh?

Featured Replies

  • Newbies

Hi,

I'm new to FM and FMM, any help you can give will be appreciated. I used to use Access and was probably a novice user with that.

I am building an inventory db and am trying to write a script that will alert me when product levels are low and when I need to re-order. The on-hand field and the re-order field are in the same table. Using the SM I was able to make an alert script with pop-up dialog box. I am now trying to figure out how to capture the items (records) that need to be re-ordered, so I can make a proper report to print-out. Right now, all the script does is let me know when to re-order, it doesn't tell what needs re-ordering or how many to order.

Here's what I've tried building:

Less than or equal to statements and including a preview command, that just leaves me with a preview with all the records. The problem seem to be that the less than and equal to doesn't want to run in the same table.

Find - but I can't get them to find in comparison to the re-order field below

Sorting - But that just gives me the information sorted by name or one set of numbers. I need them to cross reference another number.

How can I make this work?

You can make a calculation field that would be true if the On-Hand is <= Reorder level. You can then find all records where this is true.

You may want a reordered flag so you don't order more than once.

  • Author
  • Newbies

Thank you so much! I was very frustrated this afternoon about this challenge. Thank you! laugh.gif

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.