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.

is there a simple calculation formula for this?.....

Featured Replies

I'm wondering if there is a simple calculation formula for this:

I have field that auto-enters a unique calculated "tourcode" for a bus excursion on a particular date. The code always ends with the letter "A" when there is only one bus for that excursion on that date.

However, when there is more than one bus going to the same event, the code is the same except that it ends in "B", "C", etc., to identify the second, third or more buses.

Is there a simple calculation or function that I can use in this field to automatically place the appropriate letter "A" through "Z" at the end of the code based on how many buses have previously been assigned?

thanks in advance.

Well, I think you could do this with a combination of a relationship and a calculation. First off, I'd set up the number and the suffix as separate fields--TourCode and BusCode. They can be joined in another calc field easily enough.

Add a second Table Occurence of the table to your Relationship Graph (let's call the first TourBus and the second BusCount), and connect the two TOs using TourCode.

Finally, set your BusCode field to Auto-Enter a calculation (do not replace):)

Choose(Count(BusCount::TourCode); "A"; "B"; "C"; ... )

I think that might work for you.

David

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.