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.

How to script 750 different exports

Featured Replies

I have voter registration database and would like to know how I can script an export of all field contents into 750 different excel files.

Specifically, I want it to export all voters in Precinct 1100 to a file name 1100_Voters...then do next precinct 1101_Voters..and so on.

Any suggestions?

Thx..Jess

Hi Jess,

With FM8, script parameters and local script variables, this is relatively easy. I set up a similar system to export data files for two dozen locations in 3 different formats each (a PDF file for printing, a short Excel file for printing that matches the PDF file, and a long Excel file including more fields).

Start by reading the online FM help documents about file paths and script variables, you will eventually create something like:

file:/rootfolder/subfolder/exports/$precinct_Voters.xls

where $precinct is equal to the precinct you are exporting.

Then, just make a loop that does this once for each of the 750 precincts.

Edited by Guest

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.