I am working with Crystal Reports XI and have a pretty basic report. It is formatted like this:
Report Header
Page Header
Group Header #1
Details
Group Footer #1
Report Footer
Page Footer
My issue is that the Details area is pulling records from a database and depending there can be enough records associated with the Group Header #1 that the report will span multiple pages. This appears to work except that the report after (this is a mass mailer type of a report for individuals) does not start on a new page, causing print issues.
The Report Footer and Page Footer both have New Page After turned on (they are grayed out and I cannot alter them. The Details (in the Section Expert) has Free-Form Placement and Keep Together turned on only.
Thoughts?
Try to turn on the group header new page before with a formula to skip the first group.
Right click the "group header #1"
Click "section expert"
Click "new page before" formula workshp button (on the right of the checkbox)
Write the formula
groupnumber > 1
This will put each group in a separate page. The formula is important to avoid a blank initial page.
Related
I'm new to alchemy-cms.
I created a fresh install from the guides. I did not add any concept or structure.
Going to localhost:3000 I have to add the first user and after that I have a clean site.
When trying to add a new page, I have to select a type (page-layout?) and type in a name.
The Type combobox remains empty, and therefore the website don't allow me to add a page. What am I doing wrong? I think I'm missing something very obvious here.
I have looked allready in the source code, and running the following:
rails console
Alchemy::PageLayout.all
and this results in:
=> [{"name"=>"index", "unique"=>true, "elements"=>["article"], "autogenerate"=>["article"]}]
So I would guess the combobox should be filled with this item.
The index page layout is marked as unique, so it can only be added once per language. And as the so called language root page (the first most page in your page tree) already has this page layout, no new page can be created using this page layout.
In order to fix your problem you need to add another page layout to your page_layouts.yml file. It is good practice to add an standard page layout that is not unique (default) and can therefore be added multiple times per language.
I am new to Specflow and need a way to reuse scenarios in multiple feature files.
I have a web application consisting of multiple pages that each share a many items such as footer content. Say my footer contains 3 links:
Help | Feedback | FAQ
I have a scenario to test the "Help" link functionality:
Scenario: Help link
Given I am on page1
When I click on the link containing text "Help"
Then I see the help popup
As the "Given" statement specifies which page to open, the scenario is tied to that page. In order to test the same help link functionality on page2, page3, page4, etc., I would need to:
1) Copy the scenario into another feature file
2) Change the given statement to reference the correct page
3) Repeat for all pages containing the help link!
This seems like an awful lot of duplication and there must be a better way to do this.
You can use a Scenario Outline, which is basically a data driven test:
Scenario Outline: Help link
Given I am on <Page>
When I click on the link containing text "Help"
Then I see the help popup
Examples:
| Page |
| Home |
| Contact Us |
| About Us |
You can't test everything when you work at this level. In fact you can only test a fraction of whats possible. So what you have to do is think about what benefit you get for testing the footer on each other page, and see if this is worth the cost of
Writing the tests
Running the tests
Secondly you don't need to repeat all the tests for each page. If the links work on one page then they will work on every other page, so you could test the links once, and then subsequently check that the footer appears on other pages e.g.
Feature: Footer checks
Scenario: Footer appears on pages
Given a selection of pages
When each page is visited
Then each page should have the footer
and have your selection of pages be a random small sample from all the pages.
I want to add a new page at the end of my report. I have tried but the new page is coming next to the first page.
I have some sections in reports in which I want 500 text/words to be written and when it exceeds, the remaining text should go to that new page.
Go to the Section Expert. In your report footer, set it to create a new page before it is printed (In 'Section Expert', select the Report Footer -> 'Paging' tab -> Check 'New Page Before' checkbox).
Following the above directions will give you one extra page at the end of the report.
I have a little problem.
I've build a report with 2 pages:
Page1 shows a general items with sum.
Page2 shows a detailed of each item.
In the form I choose which kind of page I want to see.
If I want general information I choose option 1 and I saw the "Page1".
But, if I want to see detailed information I saw "Page1" along with "Page2", instead of the "page2" content only.
I tried to set page1.visible := False but If I do that I saw nothing, but If I set page2.visible := False and choose option1 then I saw the content.
Why can't I have the same result ?
It seems to me that the "Page1" is set as the default page and I can't have this page not visible.
So I'm searching to change that. If it is possible, where can I alter that ?
Thanks.
you must sure if Page2 has MasterData band.
where Fast Report Page not Appear until it has MasterData.
Where Master Data band Represent Main engine.
and Then your Code will be run page1.visible := False.
I am new to Rave and I'm having a ridiculous amount of difficulty forcing page breaks between sections of my report. It's a master-detail report, with various types of detail sections (master = patient; detail 1 = visit history; detail 2 = medications etc.). I've got the detail sections working ok but need to: a) force a page header to carry over on every page and b) force each detail section to start on a new page. In other words, I want every page of the report to include a header with the patient name, ID etc., and I want each type of data (visits, meds, etc.) to appear as its own section.
I've tried the different Band styles and checkboxes for having the bands appear on every new page, etc., but I can't get a header or a page break for the life of me.
Can anyone provide the settings I should use for the page header band and the bands that should begin a new page with each section? Many thanks!
Clicking "New Page (P)" in Band Style Editor should force it to be printed on each page. If not, maybe verify that the Header band style (Group/Body etc) has the ControllerBand set to the Detail databand of your DataView.