![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
This should easy but I'm stuck. I've read and re-read the missing manual but I can't find how to do this. I'm using filemaker 8.5. Basically, I want to hide field labels (and the fields themselves) in reports that have no data attached to them. It sounds like a "sliding" function, but it's more like "hiding". Example: (label) Title (field XXXXXXXXX(label) Author (field [no data](label) Publisher (field YYYYYYYOn the report, I want it to look like: (label) Title (field) XXXXXXXXXXX (label) Publisher (field) YYYYYYYYY Is this a scripting scenario or am I missing something really easy here? Thanks in advance. R Kelly |
#3
| |||
| |||
|
|
This should easy but I'm stuck. I've read and re-read the missing manual but I can't find how to do this. I'm using filemaker 8.5. Basically, I want to hide field labels (and the fields themselves) in reports that have no data attached to them. It sounds like a "sliding" function, but it's more like "hiding". Example: (label) Title (field XXXXXXXXX(label) Author (field [no data](label) Publisher (field YYYYYYYOn the report, I want it to look like: (label) Title (field) XXXXXXXXXXX (label) Publisher (field) YYYYYYYYY Is this a scripting scenario or am I missing something really easy here? Thanks in advance. |
(
#4
| |||
| |||
|
|
In article <1178489652.439955.246... (AT) u30g2000hsc (DOT) googlegroups.com>, bowriter <roberteke... (AT) gmail (DOT) com> wrote: This should easy but I'm stuck. I've read and re-read the missing manual but I can't find how to do this. I'm using filemaker 8.5. Basically, I want to hide field labels (and the fields themselves) in reports that have no data attached to them. It sounds like a "sliding" function, but it's more like "hiding". Example: (label) Title (field XXXXXXXXX(label) Author (field [no data](label) Publisher (field YYYYYYYOn the report, I want it to look like: (label) Title (field) XXXXXXXXXXX (label) Publisher (field) YYYYYYYYY Is this a scripting scenario or am I missing something really easy here? Thanks in advance. For a printed report (or one to be viewed in Preview mode) this is fairly easy. Sliding is exactly what you want, but you'll also need at least one extra Calculation field. If the above example is for one record, and the report has multiple records, then all you really need is one Calculation field that brings together the text needed on the report using If statments and the concatenation (&) function. eg. Something like: ReportField Calculation, Unstored, Text Result = If (IsEmpty(Title), "", "Title{rt}" & Title & "{rt}{rt}") & If (IsEmpty(Author), "", "Author{rt}" & Author & "{rt}{rt}") & If (IsEmpty(Publisher), "", "Publisher{rt} & Publisher) where {rt} is the Return symbol (the "backwards P" on one of the buttons in the Define Calculation window). This assumes any of the fields may be empty and therefore the field and label is not wanted. Put this one field onto the Layout instead of all the separate labels and fields. Set this field (and any objects below it in the same Layout Part) to Slide Up AND Reduce Size of Enclosing Part. Note: That's a quick untested Calculation. It propbably needs a little tweaking to remove extra unneeded {rt} characters, but it is the general idea. Sorry, I'm a bit rushed today. (Helpful Harry Hopefully helping harassed humans happily handle handiwork hardships ;o)- Hide quoted text - - Show quoted text - |
![]() |
| Thread Tools | |
| Display Modes | |
| |