![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Let's say you have a simple list layout with a bunch of merge fields displayed. For the first merge field displayed, there are multiple records with the same value. Is there a way to tell Filemaker to only show the value for the first record with that value, and then not display the value again until there's a different value? |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Actually, I had tried using subsummary parts but they weren't working the way I thought they would, probably because I'm not using them correctly. I had added 2 subsummary parts and put the fields I wanted to sort byin those parts. But when I tried viewing the results, they weren't what I expected: 1) When viewed as a form, it shows only one single record at a time (which I expected from form view); 2) When viewed as a list or table, it's not sorted at all and the subsummary field doesn't show up; and 3) When viewed in Preview Mode, it shows all records underneath my first subsummary field, but not subsequent records. What I really want is something that looks like the following, all on one single page: Subsummary field 1 Subsummary field 2 record record record subsummary field 2 record record Subsummary field 1 subsummary field 2 record record subsummary field 2 record record If anyone has any suggestions for this, I'd appreciate this. Part of the problem is that the Filemaker help bits on using subsummaries is pretty thin. |
#5
| |||
| |||
|
|
A subsummary PART (there are no such things as subsummary fields) is a section of a layout that FileMaker will show between groups of similar records. They are based on "break" fields. |
|
1) Subsummary parts only work in Preview mode. |
|
2) You must sort by the fields the subsummaries are based upon for them to appear. If you want you "levels" of subsummary data, then you have to sort by two fields (in the same sort). |
I didn't realize I had to
#6
| |||
| |||
|
|
A subsummary PART (there are no such things as subsummary fields) is a section of a layout that FileMaker will show between groups of similar records. They are based on "break" fields. Sorry for using the term "subsummary field". I just meant it to mean the field that I intended to summarize by. 1) Subsummary parts only work in Preview mode. Aha. That was something I was missing. 2) You must sort by the fields the subsummaries are based upon for them to appear. If you want you "levels" of subsummary data, then you have to sort by two fields (in the same sort). That was the other piece I was missing. I didn't realize I had todo a sort once to get everything to show up, and now it works properly. That was a very clear explanation - thanks! But question: if you can only view subsummaries in Preview mode, how can you make that work smoothly for a novice viewer? For instance, suppose I create a button script that takes the user to the layout I want, auto-sets the mode to Preview Mode, and sorts the records. At that point, the user will be stuck in Preview Mode from that point on unless they know to go to the "View" menu and change the mode back to "Browse", especially since other navigation buttons I've placed on the layout being previewed won't work in Preview Mode. Is there a better way? |
#7
| |||
| |||
|
|
At the end of your script ... after its in preview mode, reveal the status area, add a 'pause script', followed by a goto some other layout & hide the status area again. |
![]() |
| Thread Tools | |
| Display Modes | |
| |