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.

3 newbie questions

Featured Replies

  • Newbies

I'm new to FM scripting, but an experienced programmer...here are the things I hope to script but cannot figure out:

(1) how to sort on a particular field

(2) how to import a graphic into a container given that I have the file name and path

(3) how to export a text file which combines the contents of fields along with my own text

To be clear--I know how to do these things in FM but I want to automate the tasks with scripts without the user needing to specify anything (just click the button).

quote:

Originally posted by dnatal:

I'm new to FM scripting, but an experienced programmer...here are the things I hope to script but cannot figure out:

(1) how to sort on a particular field

(2) how to import a graphic into a container given that I have the file name and path

(3) how to export a text file which combines the contents of fields along with my own text

To be clear--I know how to do these things in FM but I want to automate the tasks with scripts without the user needing to specify anything (just click the button).

Use the Sort [] command to perform the sort.

You will need to use AppleScript/Winbatch or some plugin to do the import based on path/filename.

For combining fields with text in an export you will use some combination of global fields containing your text and position them in the export format in the places where you want your text to appear.

------------------

=-=-=-=-=-=-=-=-=-=-=-=-=

Kurt Knippel

Consultant

Database Resources

mailto:[email protected]

http://www.database-resources.com

=-=-=-=-=-=-=-=-=-=-=-=-=

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.