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.

import filtering advice needed

Featured Replies

I am importing data from external DBF databases into FileMaker for reporting purposes. One particular imported field is text in the DBF but needs to be reported as a number from the FileMaker utility.

Two questions for those who are wiser than I:

- is it better to try validating or converting the field on/during import or

- is it better to leave the imported data and find a way to convert it after import.

If this helps the data is mostly numeric, but there are exceptions. The data is a student grade level indicator and the usual exeptions to numeric are Kindergarten (usually KA, KP for AM class and PM class) and Graduated (typically G, GR, GD). The kindergarten indicators need to be changed to a 0 (zero) and the graduated indicators need to be changed to 13.

Bob Dunn

You can have the field with an auto-enter option of calculated value (Make sure 'Do not replace existing value' is Unchecked).

The calc should be something like:

Let ( f = Left ( field; 1 );

Case ( f="K"; 0; f="G"; 13; field)

)

Then on the import, there will be an option to 'Perform auto-entry option while importing'.

  • Author

Thank you, mr_vodka (prefer Scotch myself). Everyone else's code always looks more elegant than mine.

Bob Dunn

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.