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.

if statement in export script

Featured Replies

I post this here, because it has more to do with scripting than with exporting.

I have a persons database

Each entry has a "details?" field with "yes" or "no" value.

I need to export this database to a tab delimited txt file for other sources

but for the entries with "details?"="no" i don't want to include some fields in this export.

say i have 10 fields for each entry

for the "yes" entries i need to export all 10 of them, for the "no" entries I only need to export 3 of them.

but there should be a space instead (so this exported file can be imported in excel)

I don't have a clue where to start

I hope this is a little clear

For the 7 fields that you want to export conditionally, create 7 calculated fields with these formulae:

cExportField1:= Case(Details="yes",Field1,"")

cExportField2:= Case(Details="yes",Field2,"")

cExportField3:= Case(Details="yes",Field3,"")

etc.

Then use these export fields instead of the originals.

  • Author

thx bob

very simple, but very usefull

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.