Oracle reports output like HTML table from single database cell - oracle11g

Is it possible to create HTML-like table in Oracle Reports (output format: .rdf) based on database cell content ?
Report is big, with lot of content, from which one should be formatted cell content.
What is currently:
current data displayed in ready report - database cell content
What is requested:
what should be displayed
Using HTML formatting in this case doesn't work,
https://docs.oracle.com/cd/E15523_01/bi.1111/b32122/orbr_concepts2008.htm#RSBDR481
HTML tags are very limited for an .rdf report.
Is there any way to achieve this functionality, using another technique?

If you used the Wizard to create a report (you should have; it does a lot of dirty job for you), it also creates layout and puts everything into its place, creating a "grid" (table), something very close to what you need.
Navigate to paper layout editor where you can choose to format lines (cells, frames) - in the vertical toolbar, pick a line color (for example, black). In (horizontal) menu, go to Format menu (and then Line and Border submenus), selecting borders you want (top, bottom, right, left).
Once you're done, run the report and you should see a pretty table.
Saying that "output format is .rdf", that's wrong. Report is saved as a .rdf file, but its output can be, for example, a PDF file.
Never mind that, it was just a side note.

Related

Wordpress: Cannot edit in a table

I am working in Wordpress version 5.4.1, in Gutenberg, with a table block and having trouble editing.
It is relatively simple setup. One column of images another of text. I need to edit and change one image and I find it cannot be edited through the visual editor. I cannot get to detail below table. See image from the bottom of the editor.
Is this a bug, or am I doing something basic wrong.
BTW, I can edit the text and I can edit the HTML to change the image, but that is of course defeating the intent of the visual editor.
You really should check out the guide, how to ask questions on stackoverflow: https://stackoverflow.com/help/how-to-ask
So I guess, you want to have a two column layout created with the Gutenberg Editor in Wordpress.
Gutenberg: Columns Block for multi-column layouts
There is the columns block for that (layout). This block is used to create multi column layouts. You can add it under "Layout Elements" -> "Columns" (https://wpdevelopment.courses/articles/a-list-of-all-default-gutenberg-blocks-in-wordpress-5-0/#layout). Use this block, it will ask you which column layout you want to choose. I think the two columns seperated in the middle will be your choice. You can also set if the content should be vertically top, middle or bottom.
Inside the columns you now have "+" and can add an "Image", found under the common blocks (https://wpdevelopment.courses/articles/a-list-of-all-default-gutenberg-blocks-in-wordpress-5-0/#common-blocks), and upload or choose an image from your media library. Inside of the other column you can add your paragraph.
Gutenberg: Table Block for tabular data in table format
There is the table block for that (formatting: https://wpdevelopment.courses/articles/a-list-of-all-default-gutenberg-blocks-in-wordpress-5-0/#formatting). The times using tables for layouting thankfully are over since a long time. You should not use tables to create the layout of your website. They are and were only for data in table format, not for creating layouts.
Is your image block not working?
If you are using your image block, you cannot upload or add images form the media library? Please try deactivating all your plugins and change to a default wordpress theme (i.e. twentytwenty). Is the problem still occuring when using Gutenberg? You should check the console in your browser inspector if there are any erros.
Your image block is just not working for one image?
Try to delete that block and save the page. Clear all your caches and reload the page. After that, insert a new image block in your layout. If it is working now, there just was something wrong with this one block element.
Your image is not working inside a table block?
Are there any errors, have you tried deactivting all plugins and change to default theme? Are you really wanting to show data in the table, or do you want to set up a column layout? Maybe it would be better to use the columns block, if you want to achive two column layout.

ssrs header for list which is repeating after page breaks

I have a layout for report services and subreports. My subreports are lists with headers. I need to get header for each subreport on pagebreaks. I've tried to use a table for this task but I didn't manage them to display headers on pagebraks though I was using repeat on each page or something like this and others (I'm really frustrated about whole of a lot those properties for silly task and not working). Maybe someone can suggest solution for this task without using a table? I've found solution to use header of subreport for this but this didn't work out as well.
I tried to Set "Repeat header rows on each page", "Repeat header columns on each row" and tried to set "RepeatOnNewPage" property of the header in the Advanced mode but everything was futile. All these things I tried to use even for a simple table without lists.
The report is rendered to PDF... maybe this repeating headers feature doesn't work for PDF?
Found the solution. The problem was that I've been adding rows to table outside of the group (the first row is marked with three horizontal lines at the row pane). After I added lines inside of this group - the header started to display after the page break.
As for lists... I found out that one can use table as list... If one adds source of data to the row then it will be multiplied if several data sets provided.

How to set report page size?

Maybe it is a newbie question, but I don't know how and where to set page size?
What is the difference between Generated Design and AutoDesignSpecs?
Why do I find the same object (label, text box etc) under either sections?
To set your page size right-click the design node of your report, then choose "printer setup" to select the printer and "page setup" to choose paper and orientation.
By googling around:
With the AutoDesignSpecs you give AX metadata of what you want to put
in the report, and AX renders this a runtime to get the layout. This
is a very flexible way to declare a report and should be used for most
regular reports.
With the GeneratedDesign you create the layout and control where to
put everything. This is something you'd need for documents like an
invoice or a packing slip.
You find the same object names in both because the generated design was initially created from the auto design yielding the same node names.
Also see Best Practices.

Microsoft Reporting WebForms Report Viewer - Exporting to Excel

I have a report viewer that I am using to export to PDF and Excel. Sometimes some of the data in the tables is longer than a singular line.
When exported to PDF the fields that need more height are automatically given it. Yet when I export to excel it remains in the original height and doesn't grow to display all the data.
I want the cell heights to automatically grow to display all the data on screen. I have set CanGrow to true but this has no effect (apart from working when exporting to PDF).
Has anyone had this problem before and can share a resolution?
Thanks
OK, after not receiving any answers I delved in to this one myself.
It appears that text doesn't wrap in excel when the cell is a number of merged cells together.
So in the report viewer if all text areas and items aren't lined up with one another or if one is twice as long as two others then they will be placed in merged cells to make up for the crossover.
It means that the chances are these isn't a solution to the problem, unless all your text areas are identical in width or you can alter the layout so that those that require wrapping to new lines will only take up a single cell.
I done this by putting everything in a table, and knowing that if I merged any cells then text wrapping would not be possible.
I hope this will help someone out there!

Issues with Exported Crystal Report to Word Document

I am having a minor issue playing with my exported Crystal Report, I can generate the reports just fine on our website, however when I attempt to export them to Word documents I don't quite get a document I can do much with.
i.e.:
I can't position the generated text anywhere in the document, it is almost 'frozen' in place. I would expect if I moved the cursor above the report text and pressed Enter a bunch of times I could remove the report down the page, however it just won't budge
All the text seems to be in its own box and I can't move it around or do anything with it.
Any thoughts? My expectation would be once it is exported to Word I could play with it like a Word document, move the text down the page, edit the document, do something with it.
Thanks!
btw, this question is similar to the one posted here, but this one wasn't tagged properly and I don't have enough karma to fix it:
https://stackoverflow.com/questions/434381/word-formatting-not-intact-when-exported-from-crystal-reoport
I'm afraid that you can't do much about it. Crystal Reports is very much orientated towards putting data in fixed positions on pages, so when it exports to Word it puts its data into text boxes because that's a similar thing that Word offers. You could make the Crystal Report page consists of a giant text field and using spaces and newlines to get the data into the right place, which will probably then give you a giant textbox in Word.

Resources