Filemaker: Build a text from text fields in child rows - filemaker

My Filemaker app wants to display a text build up from filtered child rows. It should be displayed in a scrollable text field in the layout of the parent row.
Essentially, I have a tree structure where each node contains a paragraph or two of text.
In the layout of any node, I want to display its own text plus the text of all its descendents.
But since these are text fields which can be one or more paragraphs long, the usual list view doesn't satisfy me, as it doesn't expand to show the full text, only one line. Also, it only shows the direct descendents.
I want to show the full text of all descendents, and pick two text fields from them - a headline (optional field) and the main text.
I'm new to Filemaker. Tried to google for an answer to this but could not find anything that fits. Finding the related rows is easy enough, but I can't figure out how to display them in the way I want.

You would need to display your related texts in a portal, since you want to indicate which ones you want to use. Make your portal rows tall enough for your needs and use a scroll bar on the text field if needed. You would need to gather all descendants in one table occurrence to display them in one portal as separate rows.
Alternatively, build up your list in a text field and show this field on the layout. You won't be able to mark any of the original records this way.

Related

How can I use Footnotes with Oracle BI Publisher

I am putting a footnote in an .rtf template, and before generating a report it seems ok,
but when I load an XML sample and preview the document (.pdf or .doc etc.)
the footnote content goes right into the body of my report (example is in the picture).
I've tried using text boxes, but it doesn't help.
I've also tried just making a paragraph look as a footnote, but since I have a lot of
tags in my template, the footnote-looking text doesn't stay at the
bottom of the page.
and I can't use footers/headers because I need only one footnote at one page.
Try to draw a borderless table with one column and two rows where the first row has fixed hight (exactly) of the size of body, and the second row fixed hight of the size you want to reserve for the footer. Then you place your xml data in those two rows of the table the same way as you put it on the page. I use that for different forms when the position of the data is fixed. There are also other table/row/column properties that you might want to use.

Suppress a field and its placeholder in Crystal Reports

I am working in Crystal Reports to generate a report, and I would like to add a note/remark for some records, so the record should be double-lined for these specific records and a single-line for others
the issue is that the row should be in its standard height unless a specific field has a certain value. In that case, the row should be expanded and field with red-colored note is placed in the expansion.
I tried suppressing the fields but it does not remove the placeholder
The attached is what I am aiming to do, the Zurich Record has a note in red color, announcing the trip is for ladies only.
I will be gratefull for anyone can give me a hand
There are multiple ways to accomplish the same.
Create a name field formula and append the "conditional text" based on logic
if condition then
text:=text + "*dummy text"; // this is just an example
//add conditional color logic for appended text
Create another detail section just below the existing detail, and add conditional show hide logic to suppress.
You have to check the alignment of fields in the previous detail section for "Can Grow" option- like you want "dummy text" to be aligned in height with other column data?. Because with this option, your text field will always appear to be below your row.
You can add another field and place it below Name, and add formula on its height to be suppressed, based on condition. (Again this will mess up if your name field grows into multiple lines, by overlapping this field in the process).
This could be done with a second DetailSection.
Create a new DetailSection below the existing one.
Put the note/remark in the new DetailSection
Edit the suppression-formula of the new DetailSection and insert the suppression-formula that's currently used on the note/remark-field

How to write formula to grow all dynamic text field in crystal report

Hi Experts,
Is there any way to automatically grow the content of dynamic text
field in crystal report. I will give you an example this way.
I have values to display in crystal report as (which we fetch dynamically fromt the database)
Employee_ID, Employee_name, Employee_address
Now, the Employee_ID, Employee_name would be ok. But for
Employee_address the value can be anything from the database, i.e. it
can be lengthy also(like with 80 charectors also). That is it will come in next row and
overlap the below the row column ('address') value.
Now, is there any way(or formula), when one dynamic text field grows
like address, then previous two Employee_ID and Employee_address
should grow automatically and for next row the data should not overlap
also.
Please give ideas.
Thanks in advance.
If you mark the three fields can grow, then each field will expand (vertically) as necessary to accommodate the data. If the field does NOT need to expand, it won't. Moreover, if the three fields are arranged side-by-side in the same details section, there will be no overlap--either horizontally or vertically.
If you are trying to always bottom-align the three fields, regards of the vertical size of any of the fields (the address field in your example seems to be the issue), then you have a different problem:
Relative Positions
This option allows you to lock the relative position of a report object next to a grid object within a section. For example, if you place a text object one centimeter to the right of a cross-tab object, during report generation the program will push the text object to the right, so that the one centimeter space is maintained regardless of the width of the cross-tab object.
Note:
Only horizontal locking is possible. If you need to preserve relative vertical positioning, you should create a new report section.
Once Relative Positions is selected for a section, you can no longer drag objects to new positions within that section. To change an object's position, use the Object Size and Position dialog box.
Relative positioning applies only to objects placed to the right of grid objects (that is, objects that can grow horizontally).

SSRS unusual Pagebreak in a long text

i am creating a report for SQL Server 2008.
i have a table with some rows. One of the row has a long text which will be displayed. If the text has a certain length, the whole row will be displayed on the second page and the half of the first page is empty.
If the text is a bit shorter, the text will be displayed correctly on the first page.
If the text is a bit longer, the text will also be displayed correctly (the first part of the text on the first page, the second part on the second page).
I cant find any settings for this problem.
Does anyone have a solution?
Thanks
Alex
You could look at the Keep together on one page if possible setting at the Tablix level.
You can also look at the KeepTogether property at the row level and at other levels, e.g. Group.
Another option is to insert any objects to be kept together in a parent Rectangle object; this will always keep items together where possible.

Prevent a text field within a portal from being truncated, filtering portal contents to display in another layout

I am already using Filemaker Pro 10, I have two questions:
I have a text field in a portal, and whenever I am entering values like "B12C45" in it, it works well, but when the string is longer like "BC12F42, B45z87" it doesn't show whole the strings and omits the letters from it. what Can I do?
My second question is that: I have a portal in a layout, in this portal every row has an id sometimes the id is repeated in other rows but the value of another field called Position is changing. Now I want to have those rows of this portal which have the same id in another layout. I have tried using scripts for it, but scripts don't work well in this case, and they are entering whole the portal in the new layout not the parts I want . How can I write a script which does this?
I will really appreciate any help.
For the first question there are many ways you could display more data in a field and the best one will depend on the particular implementation in your database. There are three main ways to solve this problem: field-size adjustments, text-size adjustments and programming adjustments to dynamically change the text-size.
Field-size adjustments include:
Making the field longer
Using the autosizing aspect of a field so that as the window grows, so does the field
Text-size adjustments include:
Making the font size for that field smaller.
Setting the font style for that field to condensed.
Programatically, though, three things stand out to me as possibilities. I like the third one the best for most of my solutions:
Set the tooltip for the field to "Self" (without the quotes). A user can see the entire contents of the field by hovering the mouse over the field.
In "Define Database" set the field's calculated value to: "TextStyleAdd(self;Condense)" (without the quotes) and make certain that "Do not replace existing value of field" is turned off
Use Conditional formatting to add the Condense style or use a smaller font when the number of the characters in the field gets long.
The steps for using conditional formatting are as follows:
In layout mode select the field and select 'Conditional Formatting...' from the pop-up menu
Add a new condition
Change the condition to 'Formula is'
In the text field enter "Length(Self) > 8" (without the quotes)
Press the "More Formatting..." button
Select "Condense" as the Style from the text
You can add multiple conditions, so you might have "Condense" only for Length(Self) > 8 and another condition for Length(Self) > 16 where you set both "Condense" and reduce the Font Size.
As for your second question, I'm not able to get a picture of what you're trying to do from the question you asked. You might be able do the following in a script:
Go to Related Record [the portal relationship]
Sort Records [by ID]
And then use a summary field (Count of ID) to determine how many of each ID you have.
If you clarified what you were trying to do, gave more information about your tables and table occurrences, we might be able to provide a better answer for this instance.