Mysterious formatting columns table
Hi all,
i don't post a problem, but a curiosity. I'm managing a Oracle BI environment developed by others, so many aspects are unknown for me. I've observed that if i make an Answers request dragging and dropping any columns from my subject area, any of them are still formatted. In detail, if i drag and drop a column that contains double values it is formatted, otherwise if (from same table) i drag and drop a column that contains integer values it isn't formatted. All columns have same class "TableHdg".
I ask me, where is specified this behaviour? In css style? But how a css style can distinguish between a double and integer values to decide how formatting columns?
Thanks
Giancarlo
Edited by: 832596 on 15-apr-2011 3.47
Hi,
thanks for your reply. I've formatted hundreds of tables but i've never noted these options. Incredible!!!!!!!!!. Can you tell me, when i click on "Save as the system-wide for this data type" (for example), where Oracle BI saves formatting options? In a css file? What?
Thanks
Giancarlo
Similar Messages
-
How to place multiple column tables in InDesign Layout by importing from XML
Hi,
I've an XML file that I need to import into InDesign Document. All the cell elements from Table tag turn out be a "single column Table"..! How do I place a 2x2 or 3x2 tables in InDesign document while importing from an XML?
Please help..!
Thanks,
BasavI might note that I am using InDesign CS 5, and importing from a document stored in docx format.
-
Content Server: Controlling layout in 2 column table
I have created an employee roster based on the news portlet template. I would like my "main page" to show the content items in a 2-column table so that they read from left to right like my graphic below. Does anyone know how I would do this in the main page's presentation template? Does it involve the <pcs:foreach> tag? Thanks. Elaine
Given the template you send me over email, I modified it and it should now give you the result you want. Let me know if you have any problems.
<!-- start Documents --><table width="100%" border="0" cellspacing="2" cellpadding="2"><pcs:foreach var="item" expr="filter(list.items, 'filtered.published ∧ !filtered.hidden')"><pcs:if expr="item_position ≤ maxitems"><!-- If the remainder of the position divided by two is 0, then start a new row. Otherwise, completethe row. NOTE: We need to add checks if there total number of items is odd, the table could look a little strange. --><pcs:if expr="item_position % 2 != 0"> <tr> <td width="50%"> <table> <tr> <td width="125" align="center"><img src="<pcs:value expr="item.clerkphoto.location"></pcs:value>"> </td> <td align="left" class="listSubtitle">This is item <pcs:value expr="item_position"></pcs:value>. </pcs:value>('<pcs:value expr='item.location'></pcs:value>'); return false;"><pcs:value expr="encode(item.firstname)"></pcs:value> <pcs:value expr="encode(item.lastname)"></pcs:value></a><br> <span class="listItalicText"><pcs:value expr="item.published" format="MMMM d, yyyy h:mma z"></pcs:value></span> </td> </tr> </table> </td><pcs:if><pcs:if expr="item_position % 2 == 0"> <td width="50%"> <table> <tr> <td width="125" align="center"><img src="<pcs:value expr="item.clerkphoto.location"></pcs:value>"> </td> <td align="left" class="listSubtitle">This is item <pcs:value expr="item_position"></pcs:value>. <a href="#" onClick="open_article<pcs:value expr="pcs_id"></pcs:value>('<pcs:value expr='item.location'></pcs:value>'); return false;"><pcs:value expr="encode(item.firstname)"></pcs:value> <pcs:value expr="encode(item.lastname)"></pcs:value></a><br> <span class="listItalicText"><pcs:value expr="item.published" format="MMMM d, yyyy h:mma z"></pcs:value></span> </td> </tr> </table> </td> </tr><pcs:if> <pcs:if expr="item_position == maxitems ∧ item_size > maxitems"> <tr><td align="right" class="listSubtitle"><a href="#" onClick="open_index<pcs:value expr='pcs_id'></pcs:value>();return false;">View All...</a></td></tr> </pcs:if></pcs:if></pcs:foreach></table><!-- end Documents --> -
Display Column & Table Headings in Pivote Table
Hi,
Can we display the Table Headings in Pivote Table ??
There is an option of displaying the same in Table view,is there any way of displaying the same in Pivot Table View??
ThanksHi,
Try this.
Table heading:-
We do not have any direct option to do this.
But as a workaround, we can achieve this using the following approach.
Add a column to the criteria. Use the following in the column formula.
'<table width="100%" align="center" bordercolor="#C9CBD3"
frame="void" rules="cols" cellpadding="0" cellspacing="0">
<tr>
<td align="center" width = "200">
'|| 'This Month' ||' </td>
<td align="center" width = "200">
'|| 'Accumulated YTD' ||'</td>
</tr>
</table>'
Where This Month & Accumulated YTD are the table headings.
Do not forget to change the Data Format to 'HTML'
Place this column on top of measures labels in Columns Section.
But, you need to fix the width of all the measure columns and adjust the <td> width accordingly.
"Display Column & Table Headings" equivalent for pivot tables?
Hope this help's
Thanks,
Satya -
Unable to add rows in Excel 2007 after 'Format as table'
Hi
The problem for me was that I had used the 'format as table' option in my spreadsheet, to alternate row colors. Apparently doing so creates a different kind of table where you cannot insert rows. Took me a while to figure out, surfed a lot of sites trying
to find answers, nothing worked. It seems impossible to undo whatever is done when you choose the 'format as table' option. Everything was visible, nothing was locked, nothing was protected, nothing was merged.
To fix it, I had to copy my data into a new table and use the conditional formatting option, with a formula that worked in prior versions of Excel.
Is there another way to fix this problem? What does 'format as table' does?
yoYou are correct. Selecting colums does use "all" of the available rows on the sheet and you can't add new rows because you get an error it would move data off of the sheet. Your workaround will work, but if you happen to just select the columns
and then format as table you can then select the last empty row, Ctrl+Shift+End to highlight all the rows to the end, then go to the Home menu and drop down Delete (from the Cells menu) and then select Delete Sheet Rows. This will free up all the space
you need. If you right click and select delete it will only delete the row that you right clicked on (trust me...trial and error). -
Help for Modifying the Code for display a 7 column table
Hi,
Is someone can help me to modify that code I have a 7 colomn table and as many row as their is results?
Right now, All my result are in a 1 colomn table and and 1 row,
thanks,
Roseline
DECLARE
vtemp varchar2(4000) DEFAULT ' ';
BEGIN
htp.p('<HTML>');
htp.p('<HEAD>');
htp.p('<TITLE>DISQUES C</TITLE>');
htp.p('</HEAD>');
htp.p('<BODY>');
FOR idx IN
SELECT DVD_ID, NomFichier,
row_number() over(partition BY DVD_ID ORDER BY NomFichier ASC) AS rna,
row_number() over(partition BY DVD_ID ORDER BY NomFichier DESC) AS rnd
FROM elements
WHERE PROJET_ID = 1
ORDER BY DVD_ID ASC, rna ASC
loop
IF idx.rna = 1
then
htp.p('<TABLE>');
htp.p('<TR>');
htp.p('<TD>' || idx.DVD_ID ||' </TD> ');
htp.p('</TR>');
htp.p('<TR>');
end IF;
vtemp := vtemp || '<TD>' || idx.NomFichier || ' </TD>';
IF mod(idx.rna, 7) = 0 OR idx.rnd = 1
then
htp.p(vtemp);
vtemp := ' ';
end IF;
IF idx.rnd = 1
then
htp.p('</TR>');
htp.p('</TABLE>');
end IF;
end loop;
htp.p('</BODY>');
htp.p('</HTML>');
end;Sorry:
I have a table contening PROJECT ID, DVD ID and FILES NAME (NomFIchier) that are on the DVD.
In my page result, I want the list of the DVD from a project with the following formatting ( 7 columns table), using PL/SQL.
1 DVD can contain from 5000 files
ex:
Ex:
select DVDNAME, NomFichier fromTABLE where project = 2
*85*
2635080 2636608 2637084 2637091 2637092 2637093 2637147
2637152 2637153 2637154 2637155 2637156 2637157 2637164
*86*
2639497 2639498 2639502 2639504 2639505 2639506 2639507
2639508 2639509 2639511 2639512 2639519 2639521 2639522
******* ******* ******* ******** ********* ******** ******** With this code following code,
DECLARE
vtemp varchar2(4000) DEFAULT ' ';
BEGIN
htp.p('<HTML>');
htp.p('<HEAD>');
htp.p('<TITLE>DISQUES C</TITLE>');
htp.p('</HEAD>');
htp.p('<BODY>');
FOR idx IN
SELECT DVD_ID, NomFichier,
row_number() over(partition BY DVD_ID ORDER BY NomFichier ASC) AS rna,
row_number() over(partition BY DVD_ID ORDER BY NomFichier DESC) AS rnd
FROM elements
WHERE PROJET_ID = 1
ORDER BY DVD_ID ASC, rna ASC
loop
IF idx.rna = 1
then
htp.p('<TABLE>');
htp.p('<TR>');
htp.p('<TD>' || idx.DVD_ID ||' </TD> ');
htp.p('</TR>');
htp.p('<TR>');
end IF;
vtemp := vtemp || '<TD>' || idx.NomFichier || ' </TD>';
IF mod(idx.rna, 7) = 0 OR idx.rnd = 1
then
htp.p(vtemp);
vtemp := ' ';
end IF;
IF idx.rnd = 1
then
htp.p('</TR>');
htp.p('</TABLE>');
end IF;
end loop;
htp.p('</BODY>');
htp.p('</HTML>');
end;I have the following result
85
2635080 2636608 2637084 2637091 2637092 2637093 2637147 2637152 2637153 2637154 2637155 2637156 2637157 2637164 2637169 2637170 2637172 2637173 2637202 2637203 2637213 2637214 2637215 2637216 2637217 2637218 2637219 2637220 2637234 2637235 2637236 2637237 2637239 2637240 2637241 2637242 2637244 2637246 2637247 2637249 2637250 2637251 2637252 2637253 2637257 2637263 2637266 2637269 2637270 2637274 2637276 2637279 2637284 2637290 2637291 2637292 2637293 2637294 2637295 2637296 2637301 2637303 2637304 2637305 2637306 2637311 2637320 2637322 2637324 2637331 2637333 2637336 2637352 2637353 2637354 2637358 2637359 2637360 2637361 2637362 2637363 2637364 2637371 2637378 2637383 2637384 2637385 2637386 2637387 2637388 2637391 2637392 2637395 2637400 2637405 2637412 2637418 2637419 2637423 2637443 2637446 2637453 2637461 2637470 2637483 2637484 2637485 2637494 2637502 2637506 2637507 2637519 2637532 2637536 2637537 2637539 2637540 2637541 2637544 2637553 2637554 2637555 2637557 2637575 2637578 2637579 2637580 2637581 2637582 2637583 2637587 2637588 2637589 2637590 2637591 2637592 2637593 2637594 2637595 2637597 2637604 2637605 2637606 2637611 2637619 2637628 2637629 2637630 2637631 2637632 2637633 2637637 2637645 2637647 2637648 2637650 2637651 2637657 2637658 2637659 2637661 2637662 2637668 2637674 2637676 2637677 2637679 2637680 2637681 2637684 2637685 2637686 2637688 2637689 2637691 2637692 2637694 2637696 2637700 2637701 2637702 2637703 2637704 2637705 2637706 2637707 2637722 2637725 2637741 2637749 2637751 2637752 2637753 2637762 2637764 2637771 2637777 2637779 2637781 2637783 2637785 2637789 2637793 2637809 2637810 2637811 2637812 2637823 2637827 2637836 2637837 2637838 2637845 2637850 2637854 2637855 2637857 2637858 2637859 2637860 2637861 2637866 2637867 2637870 2637874 2637875 2637876 2637877 2637878 2637879 2637880 2637881 2637884 2637885 2637886 2637887 2637891 2637892 2637893 2637894 2637895 2637897 2637898 2637899 2637900 2637901 2637902 2637904 2637906 2637907 2637908 2637909 2637913 2637914 2637916 2637917 2637918 2637919 2637920 2637921 2637923 2637926 2637928 2637929 2637930 2637933 2637935 2637936 2637937 2637939 2637940 2637941 2637942 2637943 2637949 2637950 2637951 2637952 2637954 2637955 2637958 2637965 2637967 2637969 2637970 2637971 2637973 2637978 2637985 2637986 2637987 2637990 2637991 2637992 2637993 2638001 2638002 2638005 2638007 2638009 2638016 2638018 2638020 2638023 2638027 2638029 2638033 2638034 2638035 2638036 2638039 2638043 2638044 2638045 2638046 2638048 2638049 2638052 2638053 2638055 2638057 2638058 2638063 2638064 2638065 2638067 2638068 2638069 2638072 2638076 2638080 2638081 2638082 2638083 2638084 2638087 2638089 2638096 2638097 2638098 2638099 2638100 2638101 2638102 2638103 2638105 2638106 2638108 2638110 2638113 2638117 2638118 2638120 2638121 2638122 2638124 2638126 2638128 2638134 2638135 2638136 2638137 2638139 2638140 2638141 2638143 2638146 2638147 2638148 2638149 2638150 2638151 2638152 2638153 2638154 2638155 2638157 2638159 2638167 2638168 2638172 2638173 2638174 2638175 2638181 2638184 2638185 2638187 2638192 2638193 2638198 2638199 2638200 2638202 2638203 2638205 2638207 2638208 2638209 2638210 2638211 2638212 2638214 2638218 2638219 2638220 2638221 2638223 2638230 2638232 2638236 2638243 2638245 2638246 2638247 2638248 2638258 2638264 2638265 2638268 2638279 2638280 2638281 2638283 2638284 2638287 2638305 2638309 2638310 2638311 2638312 2638316 2638317 2638318 2638319 2638321 2638324 2638330 2638331 2638332 2638333 2638334 2638335 2638336 2638337 2638338 2638339 2638340 2638341 2638342 2638344 2638347 2638349 2638352 2638353 2638364 2638372 2638374 2638376 2638379 2638390 2638391 2638392 2638393 2638394 2638395 2638402 2638405 2638407 2638414 2638421 2638422 2638429 2638430 2638432 2638434 2638438 2638442 2638444 2638457 2638467 2638469 2638474 2638478 2638479 2638480 2638484 2638486 2638488 2638489 2638491 2638506 2638507 2638508 2638510 2638511 2638512 2638513 2638514 2638515 2638516 2638517 2638518 2638519 2638520 2638521 2638522 2638523 2638525 2638527 2638529 2638530 2638531 2638532 2638536 2638537 2638563 2638564 2638567 2638568 2638569 2638618 2638628 2638629 2638634 2638644 2638647 2638649 2638653 2638658 2638666 2638671 2638675 2638677 2638679 2638680 2638685 2638687 2638689 2638691 2638692 2638693 2638694 2638695 2638696 2638697 2638699 2638701 2638702 2638703 2638704 2638705 2638706 2638707 2638709 2638710 2638711 2638712 2638713 2638714 2638720 2638721 2638725 2638726 2638728 2638731 2638732 2638736 2638737 2638739 2638740 2638741 2638744 2638745 2638747 2638748 2638753 2638754 2638755 2638756 2638757 2638760 2638763 2638764 2638768 2638777 2638781 2638782 2638783 2638791 2638793 2638795 2638796 2638798 2638799 2638801 2638810 2638811 2638813 2638814 2638815 2638816 2638817 2638818 2638832 2638833 2638834 2638835 2638836 2638846 2638847 2638848 2638849 2638850 2638851 2638852 2638854 2638855 2638857 2638858 2638859 2638860 2638861 2638862 2638864 2638866 2638867 2638868 2638869 2638870 2638872 2638873 2638874 2638876 2638883 2638884 2638885 2638893 2638895 2638900 2638923 2638927 2638928 2638929 2638931 2638932 2638935 2638936 2638937 2638939 2638942 2638943 2638949 2638952 2638954 2638955 2638956 2638957 2638958 2638959 2638960 2638961 2638962 2638968 2638976 2638978 2638979 2638980 2638983 2638984 2638986 2638988 2638994 2638995 2638998 2638999 2639001 2639002 2639003 2639006 2639011 2639012 2639013 2639014 2639016 2639017 2639018 2639024 2639025 2639030 2639036 2639038 2639039 2639043 2639045 2639046 2639049 2639055 2639057 2639064 2639066 2639067 2639068 2639069 2639072 2639074 2639076 2639079 2639080 2639081 2639085 2639086 2639092 2639098 2639099 2639100 2639101 2639103 2639104 2639105 2639106 2639107 2639109 2639110 2639111 2639112 2639125 2639128 2639129 2639131 2639132 2639133 2639134 2639137 2639138 2639139 2639144 2639146 2639148 2639149 2639159 2639162 2639164 2639165 2639167 2639177 2639179 2639186 2639187 2639188 2639191 2639196 2639197 2639204 2639205 2639208 2639214 2639217 2639218 2639220 2639221 2639223 2639224 2639225 2639226 2639227 2639230 2639236 2639237 2639238 2639239 2639241 2639242 2639246 2639248 2639260 2639262 2639263 2639264 2639270 2639271 2639292 2639293 2639296 2639298 2639299 2639300 2639302 2639303 2639304 2639305 2639306 2639307 2639308 2639309 2639311 2639315 2639316 2639317 2639319 2639321 2639322 2639323 2639324 2639325 2639326 2639327 2639328 2639329 2639330 2639331 2639333 2639336 2639338 2639339 2639341 2639342 2639343 2639344 2639345 2639346 2639348 2639349 2639350 2639356 2639358 2639359 2639360 2639361 2639362 2639364 2639365 2639367 2639368 2639369 2639370 2639373 2639374 2639376 2639378 2639379 2639381 2639386 2639387 2639388 2639389 2639391 2639394 2639396 2639397 2639398 2639400 2639401 2639404 2639405 2639406 2639409 2639410 2639411 2639412 2639419 2639423 2639426 2639427 2639429 2639434 2639437 2639440 2639446 2639448 2639450 2639457 2639465 2639466 2639467 2639468 2639469 2639472 2639473 2639474 2639475 2639478 2639485 2639486 2639487 2639488 2639489 2639491 2639492 2639495
86
2639497 2639498 2639502 2639504 2639505 2639506 2639507 2639508 2639509 2639511 2639512 2639519 2639521 2639522 2639523 2639525 2639527 2639530 2639542 2639543 2639552 2639553 2639554 2639555 2639559 2639560 2639561 2639563 2639564 2639565 2639567 2639574 2639575 2639578 2639579 2639581 2639582 2639584 2639585 2639586 2639587 2639588 2639589 2639591 2639595 2639596 2639597 2639598 2639599 2639605 2639618 2639621 2639623 2639624 2639627 2639628 2639637 2639638 2639639 2639644 2639647 2639648 2639649 2639650 2639654 2639658 2639662 2639665 2639669 I have some sample date here:
http://www.developpez.net/forums/attachments/p57656d1263922095/bases-donnees/oracle/pl-sql/html-affichage-tableaux-conditions/testcase.zip/
I want to know if it's possible to achieve what I want based on the code here.
I'm working on Application Express 3.1.2.00.02
thanks!!
Roseline -
How would I format my table to look like this?
Hi, I need to learn how to use tables to format the table to look like this.
http://img695.imageshack.us/i/screenshot20100206at945.png/
I've tried messing around and watching some tutorials. but I don't really see examples of this particular type of style. Most examples I saw only has the first row and first column high lighted.
Please explain to me how to get the "objective, weighing factor, parameter" separated without bars and making the stuff underneath that tile have a certain color.
Thank youfigured it out haha thanks
-
Title/Heading/Row-Align Multi-Column Tables
File under: Frame Annoyances, with a limited hacky work-around
In the two-column format we commonly work in, we often need a table that is column-wide, but may flow into multiple colums.
The problem is that the continuation heading (and TableTitle, if used), never align with the starting heading/title. This is because the continuations start at top of column, whereas the table itself starts (by "Anywhere" default) below the anchor line (presumed to be "In Column" for this discussion)..
OK, what if we change Table > Table Designer [Basic] Start to:
Top of Column: Oops, that becomes top of next column, leaving the anchor text column-widowed (but it gave me an idea).
Top of Page: Oops, that becomes top of next page, leaving the anchor text page-widowed.
Float: No effect
OK, what if we change the anchor text Format > Paragraph > Para Designer [Pagination] Format to:
[Pagination] Across All Columns (AAC): Oops, table appears only in left column on all pages, or;
[Basic] Space & Line Spacing, including negative values, appears to have no effect. Using a tiny font only minimizes the problem, and doesn't cure it.
I thought I had figured out how to solve this at one time, but could not recall it. I'm posting this in part to solicit some simpler solution. Web searching found only one solid candidate solution, and it was, of course, 404. Perhaps Frame versions later than the FM7/Win and FM7.1/Unix that I routinely use have enhancements to address this.
We normally just sidestep the problem by using an AAC format and a table that spans the page, with a fake center gutter, simulating a multi-column flow. But in a recent case, I wanted a real single-column-wide table of variable length (due to conditional rows and expected future growth), but I wanted the headings to align across columns. The table did fit on a single page, which is a limitation of the following hack.
Hack: This example presumes a normal 2-column page text frame that is 7.5in wide with a 0.24in gutter (3.63in columns), and table that needs no more than one page. It works for 3- and 4-column layouts as well.
Use an AAC anchored frame text line.
Create a full page width (7.5in) anchored frame (which can be Below, Top of Col, as desired).
Create a text frame inside the anchored frame. This frame is:
one more than your standard page (3-column for this example)
Same gutter size (0.24in for this example).
Initially draw the text frame to fit inside the the anchored frame, so you can easily grab it.
Make sure the default (anchored table) paragraph format of the first column is "In Column".
Use Graphics > Object Properties to adjust the inside text frame:
Set Width: to your standard text frame total width plus 1 column and 1 gutter (11.37in for this example).
Set Offsets: to 0 and 0 (this will push the rightmost column out of sight for the moment).
Insert your table at the anchored table text of the inside text frame.
In Table Designer, set Start: to Top of Column (this pushes the start of table to column 2).
Select the internal text frame again.
Set Offset From: Left: to negative one column + one gutter (-3.87in for this example).
The table now appears to start in page column one, and flows to additional columns with heading alignment.
This worked perfectly for my recent requirement. In fact, I used a 3-column layout (4 actual) for the text frame inside the anchored frame. Some math is required, sorry .I'm not sure if I followed that correctly, but if I read it right, you
have a single-column table that spans multiple columns, and the issue is
that the first column does not butt up against the top of the text
frame, while the additional columns do. You want the table in all
columns to butt up against the top of the text frame so that they are even.
If that is the case, the solution is this:
1. Create a paragraph format called "TableAnchor" in the Paragraph
Designer. Assign it with a negative Space Below of -12.0 pt, "Fixed"
line spacing, "Start Anywhere.," "In Column." Assign the font size as
12.0 pt.
2. Create your table format. Give it a Space Above of 12.0 pt.
3. Then, always insert your table into its own, empty TableAnchor
paragraph. You will get the alignment you seek.
NOTES: Anywhere I said "12.0 pt," you can use a different font size-- as
long as you use the same number in each place. You may also want to
create a TableAnchorAAC paragraph format, which is identical except for
the Across All Columns setting, to hold tables that span multiple columns.
I hope I understood the question correctly and was of help. -
Can you paste into a single column of a multi-columned table?
I have an 11 column table. The first column is dates I want to change periodically. I generate the dates in an Appleworks spreadsheet: write one date, write repeating forumula in next line, and fill down generates any number of dates beginning with the day provided.
I have pasted from Appleworks, then from a blank new Pages page. I have tried return and tab after the date. In every case Pages won't paste into the column I select, but insteads spreads itself left to right going down.
Anyone found a way to do this?
Daru
Dual 2 GHz PPC G5; MacBook Pro Mac OS X (10.4.9) Apple Computers since 1982From Bekins in another thread a few posts down (as I write this):
Format > Table > Fill Cells
If you search Pages' help for "fill", there's a topic Autofilling table cells.
I'm not sure that this will solve your problem though. I have also found that pasting from another table or a spreadsheet does what you found - Pages fills left to right & does not "respect" row endings. -
Internal key in formatted search table
How does the internal key field in the formatted search table get assigned?
(ouqr.intrnalkey)
Is this field taken from another SQL table that I'm not aware of?onnm - objectcode column.
160 for ouqr
111 for oqcn
(I think) -
CE function to get distinct values from Column table
Hi All,
Could you please let me know the appropriate CE function to get the distinct values from column table.
IT_WORK = SELECT DISTINCT AUFNR FROM :IT_WO_DETAILS;
Thank you.Hi,
If you have 10g, you can use Model( with model performance is better than connect by )
Solution
========================================================================
WITH t AS
(SELECT '0989.726332, 1234.567432, 3453.736379, 3453.736379, 0989.726332, 3453.736379, 1234.567432, 1234.567432, 0989.726332'
txt
FROM DUAL)
SELECT DISTINCT TRIM(CHAINE)
FROM T
MODEL
RETURN UPDATED ROWS
DIMENSION BY (0 POSITION)
MEASURES (CAST( ' ' AS VARCHAR2(50)) AS CHAINE ,txt ,LENGTH(REGEXP_REPLACE(txt,'[^,]+',''))+1 NB_MOT)
RULES
(CHAINE[FOR POSITION FROM 1 TO NVL(NB_MOT[0],1) INCREMENT 1] =
CASE WHEN NB_MOT[0] IS NULL THEN TXT[0] ELSE REGEXP_SUBSTR(txt[0],'[^,]+',1,CV(POSITION)) END );
=========================================================================
Demo
=======================================================================
SQL> WITH t AS
2 (SELECT '0989.726332, 1234.567432, 3453.736379, 3453.736379, 0989.726332, 3453.736379, 123
4.567432, 1234.567432, 0989.726332'
3 txt
4 FROM DUAL)
5 SELECT DISTINCT TRIM(CHAINE)
6 FROM T
7 MODEL
8 RETURN UPDATED ROWS
9 DIMENSION BY (0 POSITION)
10 MEASURES (CAST( ' ' AS VARCHAR2(50)) AS CHAINE ,txt ,LENGTH(REGEXP_REPLACE(txt,'[^,]+',''))+1 NB_MOT)
11 RULES
12 (CHAINE[FOR POSITION FROM 1 TO NVL(NB_MOT[0],1) INCREMENT 1] =
13 CASE WHEN NB_MOT[0] IS NULL THEN TXT[0] ELSE REGEXP_SUBSTR(txt[0],'[^,]+',1,CV(POSITION)) END );
TRIM(CHAINE)
3453.736379
1234.567432
0989.726332
SQL>
======================================================================== -
Hi all,
i am facing problem while generating Test Result word document after successful execution of TestStand.
The Problem is :
i want to add rows Formatted as table headings, table headings are repeated when a table spans more than one page(marked as Red).
Example:
Page No. 1
| Test case Number | Test Step number |
| 100 | 100 |
Page No. 2
| Test case Number | Test Step number |
| 200 | 300 |
Test Result word document should generate with Table headings(marked as Red) in every pages of the document, but i am not getting as per above example.
Please through light on this.
Regards,
Susa.Hi Santiago,
Thank you very much for your valuable reply.
i want to generate MS-word report for TestStand after successful testing using MS-word2000.
Test report contains Actual values, Expected values and Pass/Fail status.
In my program i have customized all fields i can able to generate test report which contains Verification engineer name , test mode, test date, start time, end time Actual values, Expected values and Pass/Fail status.etc....
To put all values of test case number, Test step number, Actual values, Expected values and Pass/Fail status in to table for each time, i will
insert a row into table every time values arrives, once the table exceedes its page size it moves to the next page, next page should start with table row header but it start with values of above said parameters.
so i'm not able to repeat table row header for each page.
Please find the attached file for your reference.
Attched file expected.doc : This file contains what i wanted to generate MS-word report. Here table row header "Test Case Number and Test Step Number " is repeated in second page.
Attached file Actual output from source code.doc : This report generated from the source code. Here table row header "Test Case Number and Test Step Number" is not repeated in second page.
Do you know any property to set "repeat as header row at the top of each page" using MS-word ActiveX in CVI/Labwindows.
i think this information is sufficient for you,
Still if you need some information please ask me.
Thanks
Susa.
Attachments:
Actual output from source code.doc 25 KB
expected.doc 26 KB -
How to identify missing records in a single-column table?
How to identify missing records in a single-column table ?
Column consists of numbers in a ordered manner but the some numbers are deleted from the table in random manner and need to identify those rows.Something like:
WITH t AS (
SELECT 1 ID FROM DUAL UNION ALL
SELECT 2 ID FROM DUAL UNION ALL
SELECT 3 ID FROM DUAL UNION ALL
SELECT 5 ID FROM DUAL UNION ALL
SELECT 8 ID FROM DUAL UNION ALL
SELECT 10 ID FROM DUAL UNION ALL
SELECT 11 ID FROM DUAL
-- end of on-the-fly data sample
SELECT '[' || (id + 1) || ' - ' || (next_id - 1) || ']' gap
FROM (
SELECT id,
lead(id,1,id + 1) over(order by id) next_id
FROM t
where id != next_id - 1
GAP
[4 - 4]
[6 - 7]
[9 - 9]
SQL> SY.
P.S. I assume sequence lower and upper limits are always present, otherwise query needs a little adjustment. -
DW CS6, two column table in form, changing font size in 1st col and can't change in 2nd
In DW CS6, I made a two column table in a form for label/data. I reduced the font size in the 1st col (label) from 12 to 10px but can't change in 2nd col (data).
Give data an ID or Class name and style it with CSS.
For better answers, we need to see your code.
Nancy O. -
how do I format a table in Pages so that I don't have to keep reformatting every time I go to a new cell?
Hello Fruhulda
Clicking a Pages table don't give the same result than clicking somewhere in the table then pressing cmd + a.
The first scheme selects the table (height square handles displayed)
The second one select every cells (no handle displayed).
If we try to fill cells with a color in case 1, only standard cells are filled.
If we try to do the same in case 2, every cells (headers included) will receive the color.
Yvan KOENIG (VALLAURIS, France) dimanche 12 février 2012
iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.3
My Box account is : http://www.box.com/s/00qnssoyeq2xvc22ra4k
Maybe you are looking for
-
How to read from a xml file(in String format) using a java program
hi friends i have a string , which is xml format. i want read the values and display it.can any one suggest how to read a xml file of string format using a javaprogram thanks
-
In BW, What is Program GP* ??
I want to know about Program GP* Example1 GPEL7YXUDTX4X30XTYM3KVBYEGJ Generated report for update: Business Information Warehouse Template......: RSTMPLUR InfoCube......: ZOCOPC05 InfoSource....: ZCOPC05 Author........: ZXXX Date.........
-
Hi Experts, We are working on PO 7.4 single stack. We want to trigger BPM process from another BPM process without involving PI. As we have huge data and multiple calls to different BPM process via PI. Any pointers on this would be helpful.
-
Can't use hotkey "Command+1" and "Command+2"
When I updated my iTunes 6 to iTunes 7, I found that the default hotkey settings "command+1" which to turn on/off list window and "command+2" which to turn on/off Equalizer. And I checked the Help information in the iTunes 7, but it show the same tip
-
Regarding the image at the bottom of this page: http://community.spiceworks.com/help/Help_Desk_Cloud_Edition Do you have a bigger image of the feature comparison? Crazy hard to read that tiny one. At least make it so I can click the one shown and see