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

Featured Replies

  • Newbies

I am hoping someone can help me and that I can make some sense. I am trying to create a script that will do finds based on a range of numbers. Basically, if the record is part of group 13. I need it to find all records in groups 1-15. If it part of group 23, i need it to find all records in groups 16-30, and so on. I tried an If function like so- If (1 < House Number < 15) then go into find mode, paste 1...15 in house number, perform find, then I have else, If 16<House Number<30, go into find mode, etc, etc. (And I'm using greater than or equal to, not just greater than) The problem seems to be in the if functions because everything else seems to work ok. How do I structure the If function to determine what group of numbers the entry falls into???

Your on the right track.

Just don't use paste in find mode.

Use the Insert Calculated Result [ "1..13"] then preform the find, see if that works better.

.... and one more thing.

with the if logic.

Try something like this

if ( (houseNumber > 1) and ( houseNumber < 13) )

Once you're using the "insert" commands properly, you'll have it working.

But here's another suggestion... assuming you may have large numbers of records, coding an "if" test for every range of 15 will get tedious and slow. And then if you ever change to groups of 20, you'll have tons of work to do.

Instead, use a little math...

SetNumber = Int(MyNumber / 15)

FindRange = NumToText((SetNumber * 15) + 1) & "..." & NumToText((SetNumber+1)*15)

Then Insert FindRange into the appropriate field in Find Mode.

HTH.

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.