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.

have a calculation search a field

Featured Replies

I have a database that contains people and a related table that has their flight information in it. There are reports that need to be run where I pull information regarding their originating, arrival or departure flight information. I have created a field which tells us what type of field it is. It contains words originating, arrival or departure, with direct flights the field could contain both originating and arrival.

This is the calculation I am using to pull the name of the airline for the arrival flight. If the field contains both originating and arrival it doesn't work. Is there a different operator or calculation that I can use to evaluate the entire field for a particular word?

Case ( type_of_flight ="Arrival";airline;"" )

The other option is to make arrival, departure, and originating all their own fields.

Any suggestions?

Perhaps I'm missing something. How are you showing both "Arrival" and "Originating" in the same field? Are you allowing the user to type in the value rather than have a value field? If so, you are leaving the data exposed to all kinds of errors in spelling and the way the data is separated. Do you mean you are looking for a way to determine either/or ? See below.

Case (

type_of_flight ="Arrival";airline;

type_of_flight ="Originating";airline;

"" )

  • Author

It can be both the originating and arrival if it is a direct flight with no connections.

I think I just need to make Originating, Arrival and departure as three different fields. Not the cleanest way to do it but it will work.

Try the PatternCount() function.

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.