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.

Relationship help needed...Before I go mad!

Featured Replies

I'm trying to set-up a mileages db and I figured that this might be best accomplished with a Portal...

The objective is to automate mileage entry in a trip-itinerary

Table 1 - Mileages

Field 1 - city1 [text] // from

Field 2 - city2 [text] // to

Field 3 - miles [number]

Field 3 - city_city [calc text]

(city1 & " to " & city2 & " " miles & " miles")

Table 2 - Itinerary

Field 1 - city [text] //insert city for match

Portal - city_city

The relationship is made between Field 1 = Field 1

This works...But I can't get to the next step...

By way of example...

San Francisco - LA

San Francisco - Seattle

LA - Seattle

In this example the portal shows both SF mileages but if you look for a match based on LA you only get LA-Seattle and if you search for Seattle nothing appears.

So the next relationship step ought to be Field 1 = Field 1 and Field 1 = Field 2

I've spent hours toying with this and I'm now officially snow-blind!

Offers of directional (!) guidance would be much appreciated.

Tim

Try creating a text calculation in the Mileages table =

City1 & ¶ & City2

and match the city in the Itinerary tabe to this field.

Edited by Guest
Misunderstood the problem

  • Author

Thank you!

Such a simple solution - I would never have thought of that, which is worrying!

I've now expanded this enormously and having spent all day on it, I can guarantee that the next problem is fast approaching!

Tim

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.