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.

Splitting value list into single records

Featured Replies

  • Newbies

Thanks for any advice you can provide.

I have a table of tour operators and the parks they can operate in: TourOperator = text, Parks = ValueList. The result is each tour operator record has a multivalued list of parks separated by carriage returns .

TourOperator1 ...... Park1Park2Park3

TourOperator2 ...... Park1Park2

I need to find a way to split the multivalued list into single records:

TourOperator1 ...... Park1

TourOperator1 ...... Park2

TourOperator1 ...... Park3

TourOperator2 ...... Park1

TourOperator2 ...... Park2

It doesn't seem too difficult at first glance, and I've made minor progress with a customised script, but after searching these forums I couldn't find any solutions so I'd appreciate any help.

Thanks :

You will need to write a script to loop through the records and parse out the info. This was a quick and dirty loop. Not really elegant but should do the job.

tour.zip

  • Author
  • Newbies

Fantastic! Thanks Mr Vodka you've just saved us a lot of time and heartache. I adopted your script to my tables and it worked fine :)

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.