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

Getting frustrated with lookupnext function

Featured Replies

Hi everyone,

I'm trying to understand lookupnext function and just can't fugure it out...

My database contains 2 tables.

One is a list of tasks with each task having an id number. The other table is named task, where I have 2 fields; the first being an id number field and the second the "supposed" lookupnext value field calculation.

My goal: I would like when I enter a task number to see in the other field what will be the next task.

ex:

table1

1 = wake-up

2 = breakfast

3 = work

etc...

table2

when I enter the number 2, i would like to get the description "work".

1 = breakfast

2 = work

Can anyone help me. I have attached the file.

Thanks,

Fred.

lookupnext_test.zip

LookupNext() looks up the next lower/higher ONLY when there's NO MATCH. If you'd enter 1.5, LookupNext( ... ; higher) would return the value matching 2. A good use for LookupNext() is when you need to lookup within a range.

In your example, you could add a calculation field = TaskNumber + 1 and base the relationship on that.

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.