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.

Relate to calc field not working in 7

Featured Replies

Hello everyone

I am still feeling my way around 7 so be gentle with me.

In FM5 I set up a constant by having a calc field set to 1 in each side of my relationship.

I am obviously missing something in 7 cos when I have the same calc fields my relationship doesn't work ie I cannot display related data using the constant relationship. If however I change the match fields to simple fields (not calcs) with a 1 in each of them, hey presto, my relationship works fine.

Can anyone guide me as to what I am missing or doing wrong

TIA

Phil

Phil, you no longer need a constant on both sides to produce an 'all' join (although I use constants on one side at times for other things). You can use a Cartesian join which is represented by an 'X' symbol in the relationships dialog. This allows all records in one table to be related to all records in another. Join any two fields except (I think) containers and it will work.

If relating a 1 calc to a 1 calc isn't working, it's probably because you have one calculation (in the related side) set to be unstored.

  • Author

Wow Shadow that was a quick reply, thank you very much.

I wish I had asked sooner now. I have been trying to bottom that one for about 2 hours now.

If it is not too much trouble just one more thing. If a cartesian join joins all to all can you use any two fields as the match fields then - even if they don't match?

Phil

You can join LastName to City if you wish. That's the beauty of it. wink.gif

I confess ... every time I drag a line and 'misplace it' - joining two non-matching fields, it makes me grin like a fool. grin.gif

  • Author

MoonShadow

Not only did you put me right on my calcs (you were right about the storage) but taught me about cartesian joins at the same time - Brilliant!!

Thank you so much.

Phil

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.