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?
|
|
0
|
|
|
|
Reply
|
jbpollock (8)
|
11/25/2005 11:05:39 PM |
|
Yes, by using a subsummary part.
You can't drop those into the middle of a text block like you can with a
merge field. But, they are designed for printing headings over groups of
records that have been created by sorting.
Bill
<jbpollock@gmail.com> wrote in message
news:1132959939.166011.190610@z14g2000cwz.googlegroups.com...
> 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?
>
|
|
0
|
|
|
|
Reply
|
Bill
|
11/25/2005 11:17:53 PM
|
|
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 by in 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.
|
|
0
|
|
|
|
Reply
|
John
|
11/26/2005 2:37:42 PM
|
|
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.
The groups are created when you SORT records. For example, if you lined up
all the children in a high school by age, then all the 14 year olds would be
together at one end, and all the 18 year olds would be grouped together at
the other end. FileMaker similarly can detect -- when a file is sorted --
the groupings created by that sort and will insert a subsummary part between
them. In this case, it would be a Subsummary by Age.
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).
3) If a given level of subsummary doesn't contain any data, it won't appear.
For example, you want a list of addressed sorted by State and City. There
are no addresses in Alaska, so that state does not appear:
Alabama
Aliceville
Address 1
Address 2
Anniston
Address 3
Ardmore
Address 4
Address 5
Address 6
Arizona
Cottonwood
Address 7
California
Arcadia
Address 8
Bel Air
Address 9
Address 10
Address 11
Concord
Address 12
Address 13
This example contains three parts:
- Subsumary by State
- Subsummary by City
- Body Part
Hope this helps clear up the issue a little
Bill
"John Pollock" <jbpollock@gmail.com> wrote in message
news:Wq_hf.1050$4r.741@trndny01...
> 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 by
> in 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.
|
|
0
|
|
|
|
Reply
|
Bill
|
11/26/2005 6:34:51 PM
|
|
> 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 to
do 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?
Cheers,
John
|
|
0
|
|
|
|
Reply
|
John
|
11/26/2005 7:39:31 PM
|
|
In article <TR2if.2786$hL3.1497@trndny05>, jbpollock@gmail.com says...
> > 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 to
> do 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?
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.
This will cause your app to pause while the preview is up, with the
status area visible you will have a 'continue' button.
(Set Allow User Abort Off for the script to remove the cancel button.)
-Dave
|
|
0
|
|
|
|
Reply
|
42
|
11/26/2005 8:10:48 PM
|
|
> 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.
Brilliant; works a treat! I also threw in a custom dialog box telling
the user to look for the "continue" button. Thanks again for the quick
response!
Cheers,
John
|
|
0
|
|
|
|
Reply
|
John
|
11/26/2005 8:27:23 PM
|
|
|
6 Replies
319 Views
(page loaded in 0.117 seconds)
Similiar Articles: Value list with multiple fields - comp.databases.filemaker ...On the booking layout, I need a value list showing all available screenings, i.e. s ... Show/Hide text and form field based on drop down selection - comp ..... of text and ... Re: URGENT - Mixed Models on Repeated Measurements - comp.soft-sys ...This is because the mean values in the linear mixed ... GMAIL.COM> > Subject: URGENT - Mixed Models on Repeated ... Hide quoted text - > > - Show quoted text ... updating a value list in a checkbox field - comp.databases ...I've set up a value list "category" and defined it to ... How can I get this behaviour or should I be using repeating ... checkbox and hide or show field - comp.text.pdf ... Report of Sub Summary TOTAL's without showing each record. - comp ...Showing an image, based on the value in a field - comp.databases ... Showing an image, based on the value in a field - comp.databases ... Report of Sub Summary TOTAL's ... mixed models with repeated measurements - comp.soft-sys.stat.spss ...Because it is a repeated design, I would want to allow for ... > > Ruben- Hide quoted text - > > - Show quoted text ... URGENT missing value in PROC MIXED - comp.soft-sys.sas ... sort records on invisible field - comp.databases.filemaker ...Sorting Repeating Fields - comp.databases.filemaker sort ... Having a list limit the choices based on value of ... How to hide schema and table structure for other user ... 10_Recommended Patches with Veritas - comp.unix.solaris... dev/rdsk/c1t1d0s6 BAD SUPERBLOCK AT BLOCK 16: BAD VALUES ... and needs to be restored.My concern is I will be repeating ... line left intentionally blank to confuse you. >- Hide ... [comp.publish.cdrom] CD-Recordable FAQ, Part 1/4 - comp.publish ...Archive-name: cdrom/cd-recordable/part1 Posting-Frequency: monthly Last-modified: 2008/10/09 Version: 2.71 Send corrections and updates to And... Throttling network traffic - comp.arch.embeddedWith repeated attacks, this will fill up the listening ... Hide quoted text - A number of firewalls can run ... blue pixel at screen > location (x,y) when the value ... Can a procedure contain only a SELECT statement? - comp.databases ...... want to do a simple select and just change the values ... ddf; > / > > --http://mgogala.byethost5.com- Hide ... Repeated SQL and ResultSet in a method - comp.lang.java ... NumericBase - Object Oriented Spreadsheet - Hide Repeating valuesHide Repeating values hide repeating values. If the formula at the base row is a constant value that does not change across the rows, then NumericBase only shows the ... Hide repeated values in excel? - Yahoo! AnswersBest Answer: Copy and paste Sub EliminateDupes() Dim iSRow, iSRows, iSCol, iRow As Long iSRow = Selection.Row iSRows = Selection.Rows.Count iSCol ... 7/26/2012 9:37:39 AM
|