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.

ValueListItems(..) only record distinct item?

Featured Replies

Hi all,

I'm trying to use valueListItems(relatedField) to record data from a related field. However, this command only return distinct items. The function will ignore any item that is similar.

For example: If I have 2 items: "01/01/04" and "01/01/04", valueListItems only record one "01/01/04" and ignore the other.

Does anyone know how can I get around this problem?

Thanks,

H.P.

Hi

I had a similar problem just trying to bring up a list of values through a value list (not a related field). I ended up using a portal, but that happened to work nicely for my particular solution.

Off the top of my head, only other thing I can think of is to use a concatenation to combine that field with another which will make it unique. You'd have to figure out how to return it to the original value you want--with how you display your value list, through another calculation, etc. It's not necessarily pretty, but will it get thejob done? Maybe someone else has already discovered a more elegant solution.

-G

  • Author

Thanks for your help, Galen. Apparently valuelist will only return distinct value.

I just found the solution to my problem. Instead of pointing the value list to the item I want, I changed the value list so that first field of the value is based on unique id and the second field is based on the value item I want. Then I can filtered the unique ID out B)

Ah--that sounds good.

did you filter out with right words and a new calc field, or some other way? I _really_ dislike Access but I do like that you can choose which field to enter from a drop-down list.

Let me know if you can,

thanks,

Galen

  • Author

Actually, I used 2 fields to do that... the first field has the unique ID (which will be from a drop down list. The second field is related to the unique ID. I hided the first field by making it transparent and only display the second field.

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.