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.

Featured Replies

perhaps, this subject has been made before. But I couldnt fınd in  forums. and my brain has stopped for now.please help

 

I have a field "city" named. there are so many records in city field. for example 1 paris, 2 newyork  and 3 istanbul records.I want to see this result in portal thank you so much.

Example.zip

Solved by LaRetta

Go to solution
  • Author

I think I couldnt explain what  my problem is.

 

I want to make a summary in portal within the same table, ıf you examine my Attached File you understant better.

Of course I examined your attached file.   :hmm:

 

Did you examine the attachment in the link I provided?  There is no difference between relating to another table or to the same table; principle is the same.  

 

What part are you stuck on?  We can help you with it.  

  • Solution

Here is a sample, since it can be easier in your case than the link I provided.  

 

1) Create another table occurrence called Cities 3.

2) Join Cities 2 to Cities 3 on City

3) Portal should be based upon Cities 2 as you have it.

4) Summary count field within the portal must be based upon Cities 3

5) Portal filter should be:  Cities 3::id = Cities 2::id

 

By looking through to another table occurrence, we can isolate the entries in the portal to only one each since Cities 2 can only *see* the first related Cities 3 record.  Then summary from that new table occurrence counts all related.

ExampleMOD.fmp12.zip

  • Author

thank you LaRetta

I just thought ... you could also use ExecuteSQL() to generate a unique list of counted cities.  It would not produce a portal but you could get a columnar list displayed in a field with a scroll bar - no extra table occurrences needed. 

 

I mention it because filtered portals are resource-intensive if there are a lot of related records and/or if the filter criteria is not static (which this is not).  If this is a customers table with several thousand records, for example then the ExecuteSQL() method might be faster.  And it would decrease graph clutter since two extra table occurrences wouldn't be necessary.

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.