Skip 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.

Using a value list in search criteria

Featured Replies

  • Newbies

I have a database which holds the name of organisations (field: ORG) together with the type of organisation (field: TYPE).

The TYPE filed is populated using a checkbox field created from a predefined VALUE LIST.

I want export lists from the database of organisations that match each of the VALUE LIST values.

I can do this manually by finding all ORGS that match first value, sorting, exporting, etc.

However, there are over 30 values in the VALUE LIST which proves incredibly labourious. Also the VALUE LIST grows as new types of orgs are added.

Is there any way to automate this in scriptmaker?

Any pointers would be useful.

Many thanks

This does basically what you want but you still have to manually name the files on export. If you move up to FM 8 Advanced you'll be able to take advantage of Script variables. These will allow you to lose the global field TempText and to dynamically name the export files, thus totally automating your process.

ValueListExample.zip

Just on the off chance you have FM 8 Advanced, here's an example that uses variables to replace the global field and to dynamically name the export file.

Hope these help!

ValueListExample2.zip

  • Author
  • Newbies

Kent_S

Thank for your prompt response. I have downloaded the files you posted and will attempt to apply the principles to my database. I will feedback when I get some results. Thank you again

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

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.