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 can I export 250 records over and over again?

Featured Replies

I have a database of 35,000 customers. I am tiring to get a single field (customer name) of 250 customers/records to export into a csv or tab file. so that the file looks like:

joe blogs

sam smith

jon johns

bill south

joe wiggin

ect

I want to take the first 250 names then the next 250 then the next 250, ect for the whole 35000. So instead of doing:

omiting 250 records

show omited

export field name

delete found records

omiting 250 records

show omited

export field name

delete found records

omiting 250 records

show omited

export field name

delete found records

omiting 250 records

show omited

export field name

delete found records

140 times to get all the customers names broken up into 140 csv files. I am looking for a script or some other way that would omit 250 records, show omited, export field name, delete found records or something like that for the whole 35000 customers. Please help!

  • Copy your current database to a new file, then edit new file as follows:

  • Export any number of records to a temp file to setup the file format you want to export to and your field export order.

  • Define a new field
    New1 as a calculation = Get ( RecordNumber ); Set Storage option to - Do Not Store Calculation Results

  • Make a new script:
    loop
    ...Show All Records
    ...Perform Find - Specify that New1 < 251
    ...Export Records - check Perform without Dialog, Specify your export order
    ...Delete All Records
    End Loop

  • Run the script. you will have to name each file but it will export 250 records at a clip.

  • Author

SBG I am using FMP 6 not 7 and the Get ( RecordNumber ) is not an option? Can you rewrite this for fmp6? Thanks

McBain:

Get(RecordNumber) in FMP7 is equivalent to Status(CurrentRecordNumber) in FMP 6.

-Stanley

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.