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.

Conditional value list, THEN lookup

Featured Replies

I wanted to add a conditional value list then a lookup to my database, but I have thus far been unable to get it to work.

Here is the concept:

I have a category value list. After selecting the category, a relational value list is used for the item. I then want a lookup used for description and unit price. However, the lookup happens as soon as I seect the category.

Anyone know a way around this?

These are fun. In the data source file, build an index field that concatenates the categories you need like this:

Index Field:

Category 1 & "¶" &

Category 1 & Category 2 & "¶" &

Category 1 & Category 2 & " " & Category 3

In the destination file build a concatenated field like this:

Pointing or Aiming Field:

TrimAll(Category1 & " " & Category 2 & " " & Category 3; 2; 0)

Then create a relationship from the Aiming field in the destination file to the index field in the source file.

Pick lists for Category 1 is straightforward: any existing value in the Category 1 field.

Once a value for Category 1 is entered, that value is matched to all occurances of Category 1 in the index field by the relation you defined. You pick Category 2 from that list.

The pick list for category 2 is taken from the related Category 1 records that have Category 2 entries. The list will be all category 2 values with the same Category one value. The pick list will be all Category 3 values that have the same Category 2 and Category 1 values you selected.

You can extend this method as far as your classification system demands. Only one relationship is used! Eventually, you will come to a unique combination of entries from Category 1 through Category N. Three levels is about right for most situations.

A perfect analogy is the Taxonomic arrangement in Biology: kingdom. phylum, class, order, family, genus, and species (with genus and species usually appearing together). That categorically covers all living things in seven category levels. If you get past four, IMHO, you're gonna confuse people.

BFrost lost me going around the first corner. I have attached an example of how I might approach this.

MyDB.zip

BFrost lost me going around the first corner. I have attached an example of how I might approach this.

Sorry. Example attached

IndexDemo.fp7.zip

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.