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.

Lookup value list with Abbreviations and descriptive text

Featured Replies

Sorry to bother with my neophyte questions...

Several years ago, I developed a fairly extensive database on another platform. It handled value lists mainly through a lookup table. One could add multiple fields through queries and set the data source field independent from the list displayed value. This technique became handy for saving abbreviations and displaying descriptive text in forms and reports. The query would form the basis for the drop-list; and the drop-down control would have its source value set to the appropriate column.

The simplest explanation relates to a State lookup table.

StateID => CA

StateName => California

The drop down control box would display California, yet when the user selected a value, the drop down control would save CA.

This technique is fairly straight forward in Filemaker (even for a newcomer). My question revolves around multiple layouts and utilizing a more descriptive text in one layout, which has more details about the status; and the abbreviation in another layout. My objective relates to tracking phases in a project. It would be like multiple check boxes tracking progress; yet the other layout would display the full descriptive status for all phases. In other words, the status could have ten steps summarized into in progress or done. Or the following stages below.

RS => Ready to Start

NA => Non Applicable

IP => In Progress

DN => Done

So IN PROGRESS is anything not DONE while the other layouts has a detail status; like ordered, received, verified, packaged, shipped, and receipt confirmed. Presently, a spreadsheet serves this purpose helping me get from start to finish. I hope to develop a similar layout in Filemaker.

One approach would be to create a calculation field, which I have less familiarity with calculations; Should it be a calculation in the value list, table field, or form control?

The other approach would involve using multiple fields; one for the descriptive status; another one for the status abbreviation. Then tie it together with a table occurrence. Again, both techniques require me to shift my mindset about value list for Filemaker.

Please let me know if anybody has crossed any tutorials or databases utilizing these two techniques. Any help pointing me in the right direction would be appreciated.

Edited by Guest

The first thing I'd do is create a table that supports this value list. Each stage would be a record, and would have a unique ID. You will always store the ID, so the words can change without breaking anything.

I see In Progress as a calculation that looks at the stage field. Basically, if Stage<>"5" (5 is the unique ID for Done from our value list table), then flag_InProgress =1.

See how I didn't store the word, "In Progress". I use flag fields, then a display calc. This further separates my logic from any text values.

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.