How to make my 4 articles (2 columns) have equal height?
Please take a look at my live example: http://jsfiddle.net/mdermez32/vTynd/
If you see my link you'll notice that the cells on the right are shorter than the left.. what is wrong in my code? how can I make their height equal?
HTML:
<table class="art-article" border="0" cellspacing="0" cellpadding="0" style="width:100%;">
<col width="50%" />
<col width="50%" />
<tbody>
<tr>
<td><table class="metaart" width="100%" border="0">
<tbody>
<tr>
<th class="titlebox" align="justify" background="./images/backgroundxa.png"; style="text-align:left" scope="col"><span style="text-align:left;"><span style="color:rgb(61,60,51);"><span style="font-size:20px;">LOREM </span></span><span style="color:rgb(235, 81, 5);"><a href="./services/operating-systems.html"><span style="color:rgb(61,60,51);"><span style="font-size:20px;">IPSUM</span></span></a><span style="color:rgb(61,60,51);"><span style="font-weight:normal;"><span style="font-size:20px;"><span ;">; </span></span></span></span></span></span><span style="font-size:20px;"></span></th>
</tr>
<tr>
<td> <img src="./images/win7-logo.jpg" width="100%" style="border-top-width:0;border-right-width:0;border-bottom-width:0;border-left-width:0;"/></td>
</tr>
<tr>
<td><p style="font-size:12px;">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</p>
<p style="text-align:right"><strong><a href="./services/operating-systems.html"><img src="./images/mores.png" width="119" height="32" alt="Διαβάστε περισσότερα" style="border:0;"/></a></strong></p></td>
</tr>
</tbody>
</table></td>
<td> <table class="metaart" width="100%" border="0">
<tbody>
<tr>
<th class="titlebox" align="justify" background="./images/backgroundxa.png" ; style="text-align:left" scope="col"><span style="text-align:left;"><span style="color:rgb(61,60,51);"><span style="font-size:20px;">LOREM IPSUM DOLOR</span></span><span style="color:rgb(235, 81, 5);"><span style="color:rgb(61,60,51);"><span style="font-weight:normal;"><span style="font-size:20px;"><span ;"> </span></span></span></span></span></span></th>
</tr>
<tr>
<td> <img src="./images/ubbuntu.jpg" width="100%" style="border-top-width:0;border-right-width:0;border-bottom-width:0;border-left-width:0;"/></td>
</tr>
<tr>
<td><p style="font-size:12px;">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p>
<p style="text-align:right"><strong><a href="./services/operating-systems.html"><img src="./images/mores.png" width="119" height="32" alt="Διαβάστε περισσότερα" style="border:0;"/></a></strong></p></td>
</tr>
</tbody>
</table></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td><table class="metaart" width="100%" border="0">
<tbody>
<tr>
<th class="titlebox" align="justify" background="./images/backgroundxa.png" ; style="text-align:left" scope="col"><span style="text-align:left;"><span style="color:rgb(61,60,51);"><span style="font-size:20px;">LOREM IPSUM DOLOR</span></span><span style="color:rgb(235, 81, 5);"><span style="color:rgb(61,60,51);"><span style="font-weight:normal;"><span style="font-size:20px;"><span ;"> </span></span></span></span></span></span></th>
</tr>
<tr>
<td> <img src="./images/brands.jpg" width="100%" style="border-top-width:0;border-right-width:0;border-bottom-width:0;border-left-width:0;"/></td>
</tr>
<tr>
<td><p style="font-size:12px;">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</p>
<p style="text-align:right"><strong><a href="./services/laptop.html"><img src="./images/mores.png" width="119" height="32" alt="Διαβάστε περισσότερα" style="border:0;"/></a></strong></p></td>
</tr>
</tbody>
</table></td>
<td><table class="metaart" padding=10px; width="100%" border="0">
<tbody>
<tr>
<th class="titlebox" align="justify" background="./images/backgroundxa.png" ; style="text-align:left" scope="col"><span style="text-align:left;"><span style="font-size: 20px; color: rgb(61,60,51)">LOREM IPSUM DOLOR </span></span></th>
</tr>
<tr>
<td> <img src="./images/farmacy.jpg" width="100%" style="border-top-width:0;border-right-width:0;border-bottom-width:0;border-left-width:0;"/></td>
</tr>
<tr>
<td><p style="font-size:12px;">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam</p>
<p style="text-align:right"><strong><a href="./services/medical-software.html"><img src="./images/mores.png" width="119" height="32" alt="Διαβάστε περισσότερα" style="border:0;"/></a></strong></p></td>
</tr>
</tbody>
</table></td>
</tr>
</tbody>
</table><br />
</div>
<div class="cleared"></div>
</div>
The css code for the shadow effect and the gradient in the title is in the css section at the btm.
What I am trying to do is to make my tables have equal height. As you can see the height of the right tables/cell is smaller than the left ones.
Second question.. where should I put code for padding in order to increase the space between text and it's box.
Not to disparage Jon's example in any way. It works great. But I prefer to use HTML5 tags wherever possible because they add semantic meaning & structure to your content.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Display Table</title>
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<style>
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
body {
background: #333;
color: #FFF;
font-size: 62.50%;
font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
#wrapper {
width: 900px;
margin: 0 auto;
background: #069;
header { border-top: 4px solid #F93 }
section { /**for equal height columns**/ display: table-row; }
article {
/**for equal height columns**/ display: table-cell;
text-align: left;
vertical-align: top;
background: #FFF;
color: #000;
footer {
position: relative;
text-align: center
footer aside {
width: 33.33%;
float: left;
color: #FFF;
background: #069;
text-align: center;
h1, h2, h3, p { padding: 0 12px 0 12px; }
h3 {
background: #F90;
color: #000;
width: 50%;
border-radius: 15px;
line-height: 26px;
</style>
</head>
<body>
<!--IE8 End of Life-->
<!--[if lt IE 9]>
<h2>You are using an out of date browser which limits your web experience.
For best results, please use a newer browser.<h2>
<![endif]-->
<div id="wrapper">
<header> <h1>XYZ Company Name</h1>
<h2>Demo of CSS Display: Table Properties</h2>
<nav>Your menu goes here...</nav>
</header>
<section>
<article> <h3>Heading 3 - Article</h3>
<p>Brevi vel toto est iunior anno. Utor permisso, caudaeque pilos ut equinae paulatim vello unum, demo etiam unum. Si meliora dies, ut vina, poemata reddit, scire velim, chartis perficit quotus pretium quotus arroget annus. Scriptor abhinc reddit</p>
<p>Brevi vel toto est iunior anno. Utor permisso, caudaeque pilos ut equinae paulatim vello unum, demo etiam unum. Si meliora dies, ut vina, poemata reddit, scire velim, chartis perficit quotus pretium quotus arroget annus. Scriptor abhinc reddit</p>
</article>
<article> <h3>Heading 3 - Article</h3>
<p>Brevi vel toto est iunior anno. Utor permisso, caudaeque pilos ut equinae paulatim vello unum, demo etiam unum. Si meliora dies, ut vina, poemata reddit, scire velim, chartis perficit quotus pretium quotus arroget annus. Scriptor abhinc reddit </p>
</article>
</section>
<section>
<article> <h3>Heading 3 - Article</h3>
<p>Brevi vel toto est iunior anno. Utor permisso, caudaeque pilos ut equinae paulatim vello unum, demo etiam unum. Si meliora dies, ut vina, poemata reddit, scire velim, chartis perficit quotus pretium quotus arroget annus. Scriptor abhinc reddit</p>
<p>Brevi vel toto est iunior anno. Utor permisso, caudaeque pilos ut equinae paulatim vello unum, demo etiam unum. Si meliora dies, ut vina, poemata reddit, scire velim, chartis perficit quotus pretium quotus arroget annus. Scriptor abhinc reddit</p>
</article>
<article> <h3>Heading 3 - Article</h3>
<p>Brevi vel toto est iunior anno. Utor permisso, caudaeque pilos ut equinae paulatim vello unum, demo etiam unum. Si meliora dies, ut vina, poemata reddit, scire velim, chartis perficit quotus pretium quotus arroget annus. Scriptor abhinc reddit </p>
</article>
</section>
<footer>
<aside><p>Footer aside</p>
</aside>
<aside><p>Footer aside</p>
</aside>
<aside><p>Footer aside</p>
</aside>
<p>© 2013 Footer text</p>
</footer>
<!--end wrapper-->
</div>
</body>
</html>
Nancy O.
Similar Messages
-
How can i indicate that the table columns have different size?
How can i indicate that the table columns have different size?
It is because i have a table that has several columns....but i would like to have the possibility to indicate the size for every column....could somebody help me please?
Thanks,
MaryHi,
don't know as much as I should about JTable, but it seems that using yourTable.getDefaultRenderer() could help you: if I clearly understood the javadoc notes, it returns an object inheriting from JLabel, so you should be able to use setHorizontalAlignment(int align) on it... no time to verify this, but I'd be thankfull if you tell me the results !!!
Regards -
How to make the display of custom column names in UWL(not bother abt values
Hi all
i want to make the display of custom column names in UWL ( for example GP)
i dont want or not looking about values for those custom columns . i know that thru custom connector we can achieve to retrieve the values for those custom columns. but currently i am looking only just to display the custom column names( for example GP custom column names, just i want to display the name of the columns ) in UWL .
Thanks
SunilHello Prashant,
You can add the control to your custom pagelayout, the following article has an example:
http://spandps.com/2012/02/22/showing-the-audience-target-field-in-an-editmodepanel-sharepoint-sp2010-in-projectserver-ps2010/
Btw, the SPFieldTargetToControl has a required property:
http://msdn.microsoft.com/en-us/library/microsoft.office.server.webcontrols.fieldtypes.spfieldtargettocontrol.required(v=office.14).aspx
- Dennis | Netherlands | Blog |
Twitter -
How to make the name of a column apear as many times as the column on page
Hi,
This is what i want to do:
I have a basic report looking like this:
<Column name>
value 1
value 2
value 3
value n
Since the column is small it can fit in a page more then one time. I know how to make it print more then once: i switch the repeating frame to print down and across and i modify the frame that contains it so the horizontal elasticity is variable.
After these changes my report looks like this:
<Column name>
value 1-----------------------value n+1-----------------------value m+1
value 2-----------------------value n+2-----------------------value m+2
value 3-----------------------value n+3-----------------------...
value n-----------------------value m
What i want is my report to look like this:
<Column name>-------<Column name>------------<Column name>
value 1-----------------------value n+1-----------------------value m+1
value 2-----------------------value n+2-----------------------value m+2
value 3-----------------------value n+3-----------------------...
value n-----------------------value m
Would welcome any advice on how to achieve this please.
Thank you.Hi,
I will suggest a solution which may appear not simple. I do not know. Il did use this method, because a Government pre-printed tax form can print six values (in colum way) each page and it was not just esthetique question.
1. Seams that you can know in advance the max number of column according to the width of the page and the length of the column.
2. You can assume that you have x column at max by ligne
3. Transforms your N rows in a table of M rows, each one with x columns : you will have N/x + N mod x
4. I did this transformation using PL/SQL piplined function to transform rows to columns (by x)
5. You base your report on the Pipelined function using select ... from Table (fnc_....) syntaxe
6. make your vertical elasticity to variable and horizontal to fixed
7. Put six labels on the top of your repeating frame (within a normal frame)
I agree, it's not the solution if the requirment is just esthetic.
Hope it helps.
Mohamed Dadi -
How to make a particular row and column field editable in ALV
Hi Experts,
I have a requirement to make a particular row and column field editable in ALV output. Like i need to make 2nd row - 4th column editable of ALV output.
Kindly help me out to solve this.
Any help would be appreciated.
Thanks,
AshutoshHi Ashutosh,
please check below, explained by some experts.
In the below link editing two columns MOD_RANK and TECH_RANK.
These two columns will be in edit mode once after selecting the required record
Editing single cell in a row of ALV table
And also look for more info
http://scn.sap.com/thread/884976 -
How to make a code in which i have to detect 3 objects
Hello everyone,
I am new in Labview. I want to make a code in which i have to detect 3 objects and they are in different shapes (rectangle, triangle etc).
1. How many objects in image.
2. What is the size of each object in image
3. At what position they are laying.
4. Data array of histogram of each object.
5. What is the color of each object.
Please help me out. I am confused with the tool. Which tool i will use for this Vision Assistant or Vision Builder AI or if i use labview directly to make the code what steps should follow to make this code.
Thanks
ZeeshanHello Zeeshan,
this is Vanessa, AE from Germany. I really like to help you with your project but like the other members already told you it would be easier if you have a certain problem.
Using your Shapes.jpg you have several options in the Vision Assistant. For identifiying circular objects of different size the tool "Find circular Edge" from the "Machine Vision" tab is the right choice (see screenshot attached). The result will be the center position and the radius so on. The pattern match function is not the right option because each of your objects has a different shape. In order to use this tool you need several copies of your object.
Do you really need colored images? For most application it is sufficient to use grayscale images. Be aware that some functions are only available for grayscale and your program will speed up.
Please tell us more details about your project.
Kind regards,
Vanessa
Attachments:
vision assistant.PNG 305 KB -
How to make allow null for a column in all table.
Hi,
I have a column "col1" in all tables (user made table) , i want to make it allow null
please tel me how can it be done using single script.
i mean in short way.
yours sincerely.yes. absolutely you can.
Look, what i got -
Ranit>> select 'alter table ' || table_name || ' modify("TIMESTAMP" null) ; ' from user_tab_columns where column_name='TIMESTAMP' and nullable ='N';
'ALTERTABLE'||TABLE_NAME||'MODIFY("TIMESTAMP"NULL);'
alter table FIXED_OBJ$ modify("TIMESTAMP" null) ;
alter table SUMPARTLOG$ modify("TIMESTAMP" null) ;
alter table SUMDELTA$ modify("TIMESTAMP" null) ;
alter table ALL_SUMDELTA modify("TIMESTAMP" null) ;
alter table DBA_EXP_FILES modify("TIMESTAMP" null) ;
alter table WRI$_DBU_CPU_USAGE modify("TIMESTAMP" null) ;
alter table DBA_CPU_USAGE_STATISTICS modify("TIMESTAMP" null) ;
7 rows selected.But, it is not over.
Either - You have to do an 'EXECUTE IMMEDIATE' over these 'alter' scripts.
OR - Take these scripts, put it into a <script_name>.sql file and then execute this file.
Hope you understand.
Edited by: ranit B on Dec 22, 2012 3:17 PM
-- code added -
How to make sqlldr handle mutliple NULL columns
I am using TRAILING NULL COLS in the control file to tell SQL*Loader to treat any relatively positioned columns that are not present in the record as null columns.
But the problem is occuring when there are multiple NULL columns one after the other. In that case SQL*Loader is treating continuous null column as 1 NULL column and then I am getting following message:
ORA-12899: value too large for column
And reason being wrong value is being tried to inserted in wrong column.
How can I stop SQL*Loader from combining multiple and continuous NULL columns and basically to make it treat each of them separately.I have been able to take care of the issue using the NULLIF attribute. Here is how my control file looks now:
LOAD DATA
INFILE 'tab_sal_ldr.tab'
INSERT INTO TABLE SQL_TAB_LDR
REPLACE
FIELDS TERMINATED BY "\t"
TRAILING NULLCOLS
(COL1 CHAR,
COL2 INTEGER EXTERNAL NULLIF COL2=BLANKS,
COL3 FLOAT EXTERNAL NULLIF COL3=BLANKS,
COL4 DATE EXTERNAL NULLIF COL4=BLANKS)
However it is rejecting the rows having all NULLs. Is it possible to upload rows having all column values as NULL.
Following is the snippet from the log:
2 Rows not loaded because all fields were null.
Edited by: Parag Kalra on May 4, 2010 3:31 AM -
How to make paragraphs line up between columns?
I want to make a 2 column chapter, with the text in each column in its own flow. But then I want some of the paragraphs to line up between columns.
So, like this:
xxxxxxxxxx yyyyyyyyy
xxxxxxxxxx yyyyyyyyy
xxxxxxxxxx yyyyyyyyy
yyyyyyyyy
yyyyyyyyy
xxxxxxxxxx
xxxxxxxxxx
xxxxxxxxxx
xxxxxxxxxx yyyyyyyyy
xxxxxxxxxx yyyyyyyyy
I'm assuming I can't use side heads to put the first column text in, because the info on the left goes on for multiple paragraphs, and I can't seem to line up a block of paragraphs with the baseline of the appropriate right column text.
I used to do this in tables, like this:
xxxxxxxxxx ! yyyyyyyyy
xxxxxxxxxx ! yyyyyyyyy
xxxxxxxxxx ! yyyyyyyyy
! yyyyyyyyy
! yyyyyyyyy
xxxxxxxxxx !
xxxxxxxxxx !
xxxxxxxxxx !
xxxxxxxxxx ! yyyyyyyyy
xxxxxxxxxx ! yyyyyyyyy
...where the gridlines between rows and columns would be hidden. However, I sometimes need to print just the right column, which meant I had to remove the table. It's a 600-page document, I was looking for a more elegant solution.
Any suggestions?
I am using FM8.0(266) on Windows XP.If you take the sidehead approach that Niels suggest, you could do
this, but it would be a bit of maintenance.
Have your "xxxxx" flow content sit in text frames within anchored
frames. The anchored frames are then in a special conditionalized
paragraph ("z") in the *sidehead* before every "yyyy" flow section,
e.g.
z
xxxxxxxxxx yyyyyyyyy
xxxxxxxxxx yyyyyyyyy
xxxxxxxxxx yyyyyyyyy
yyyyyyyyy
yyyyyyyyy
z
xxxxxxxxxx
xxxxxxxxxx
xxxxxxxxxx
z
xxxxxxxxxx yyyyyyyyy
xxxxxxxxxx yyyyyyyyy
The "z" paragraph is just a container for the anchored frames and
should contain no text.
When you hide the "z" tags, all of the "x" flow content will then
disappear as well. You'll have to manually customize the height of
each anchored frame/text frame pair though.
To adjust the spacings between the "y" flow to match at the bottom of
the anchored frames for the "x" flows, use the sidehead paratag ("Z")
and create space above overrides in this paragraph only to adjust the
vertical spacing to keep the x and y sections in sync. This way, you
have overrides confined to only one paratag.
To make maintenance easier, it might be worth creating a FrameScript
that would adjust the height of the anchored/text frame combo based
upon the amount of content in the instructor flow and then apply the
space above override to the anchoring paratag (z). -
How to make a field under Selection column in DataSource from dimmed to ...
We try to make an InfoObject shows up in Data Selection of an InfoPackage to restrict the data load based on the range of this InfoObject. In order to do this, we will have to go to the source system to run RSA6 to edit the datasource to make this field checked under the Selection column. However when we get to the screen, find this field's Selection column is dimmed. Is there anyway to make it from dimmed to editable that it can be checked?
Thankshi Kevin,
try to check table ROOSFIELD, fill OLTPSOURCE with your datasource name and OBJVERS 'A', what's the value for SELECTION ? you may change the value with 'X'.
use abap code :
UPDATE ROOSFIELD SET SELECTION = 'X'
WHERE OLTPSOURCE = 'datasource name' AND OBJVERS = 'A'.
can i know your datasource name (if it's business content) ?
Properties of a DataSource Field
If a request for a DataSource is scheduled in the Business Information Warehouse, selection conditions are specified across certain fields. The property that determines whether a selection in BW using a field
is possible or required is established in the DataSource in the Source System.
In addition, the visibility of the field in BW can be set.
A field that is not visible (or that is hidden) cannot be transferred into the transfer structure.
Definition of the individual values:
'A': Field is hidden in OLTP and BW, property cannot be changed the customer.
'M': The DataSource requires a selection across this field before it is able to extract data (Required field for the generation of a request); property cannot be changed by the customer
'X': The Data Source can select across this field. The customer can change selections and visibility (the field is currently visible and selectable, compare with 'P', '3')
'1': Pure selection field for the DataSource. The customer can change the selection, but not the visibility (the field is currently selectable , compare with '2').
'2': Pure selection field for the DataSource. The customer can change the selection, but not the visibility (field is currently no selectable, compare with '1').
'3': The DataSource can select across this field. The customer can change selection and visibility (the field is currently not visible not selectable, compare with 'P', 'X')
'4': The DataSource cannot select across this field. The customer can change visibility (the field is currently not visible, compare with ' ') -
How to make a script for expand column width
Hi experts,
Is that possible to make a script for expand the column width aim to let the columns show up all the overset text?
Regard
JohnHi John,
As Uwe advised it would be wise to put a stop on any while loop in case the condition is never fulfilled which would mean the script will break.
Without knowing what specifically you are working on you could make the below amendments to do this.
myTables = app.documents[0].stories.everyItem().tables.everyItem().getElements();
for (var t = 0; t < myTables.length; t++) {
BE_resizeColumnsToFitContents(myTables[t], 200);
function BE_resizeColumnsToFitContents(tableToEdit, tableMaxWidth) {
for (var i = 0; i < tableToEdit.columns.length; i++) {
while (tableToEdit.columns[i].overflows === true) {
if (tableToEdit.width < tableMaxWidth) {
tableToEdit.columns[i].width += 1;
tableToEdit.columns[i].recompose();
else {
alert("Column " + i + " contents too large for column.");
break;
I won't put any extra functions in this because it might not be what you're after. To use this you just define the table width as a second argument to the function (but you could change this parameter to something else, like page, column or cell width). And, if you want to have a fail action you just put it in the 'else' part.
Brett -
How to Make FUNCTION to return multiple column and multiple row output
Hi All,
Kindly Share ur Idea;Thanks in Advance;
i Have Table Demo.
table DEMO:
id name
1 a10
1 a11
1 a12
2 b10
2 b11
3 ccc
and the function is like:
create or replace function (p1 number) return varchar2 as
vid number;
vname varchar2(20);
begin
select id,name into vid,vname from demo where id=p1;
return v1;
end;
this function returns output for id=3;
BUT,
i need output as (for input as 1)
vid vname
1 a10
1 a11
1 a12A function returns a single datatype.
That datatype may be an atomic datatype (varchar2, number etc.) or it may be an object/record datatype, or even a collection datatype.
Where are you going to use this function? In PL/SQL or SQL?
If you are wanting to use it in SQL, then you would need a pipelined function e.g.
SQL> CREATE OR REPLACE TYPE myemp AS OBJECT
2 ( empno number,
3 ename varchar2(10),
4 job varchar2(10),
5 mgr number,
6 hiredate date,
7 sal number,
8 comm number,
9 deptno number
10 )
11 /
Type created.
SQL> CREATE OR REPLACE TYPE myrectable AS TABLE OF myemp
2 /
Type created.
SQL> CREATE OR REPLACE FUNCTION pipedata(p_min_row number, p_max_row number) RETURN myrectable PIPELINED IS
2 v_obj myemp := myemp(NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
3 BEGIN
4 FOR e IN (select *
5 from (
6 select e.*
7 ,rownum rn
8 from (select * from emp order by empno) e
9 )
10 where rn between p_min_row and p_max_row)
11 LOOP
12 v_obj.empno := e.empno;
13 v_obj.ename := e.ename;
14 v_obj.job := e.job;
15 v_obj.mgr := e.mgr;
16 v_obj.hiredate := e.hiredate;
17 v_obj.sal := e.sal;
18 v_obj.comm := e.comm;
19 v_obj.deptno := e.deptno;
20 PIPE ROW (v_obj);
21 END LOOP;
22 RETURN;
23 END;
24 /
Function created.
SQL> select * from table(pipedata(1,5));
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7369 SMITH CLERK 7902 17-DEC-1980 00:00:00 800 20
7499 ALLEN SALESMAN 7698 20-FEB-1981 00:00:00 1600 300 30
7521 WARD SALESMAN 7698 22-FEB-1981 00:00:00 1250 500 30
7566 JONES MANAGER 7839 02-APR-1981 00:00:00 2975 20
7654 MARTIN SALESMAN 7698 28-SEP-1981 00:00:00 1250 1400 30
SQL> select * from table(pipedata(6,10));
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7698 BLAKE MANAGER 7839 01-MAY-1981 00:00:00 2850 30
7782 CLARK MANAGER 7839 09-JUN-1981 00:00:00 2450 10
7788 SCOTT ANALYST 7566 19-APR-1987 00:00:00 3000 20
7839 KING PRESIDENT 17-NOV-1981 00:00:00 5000 10
7844 TURNER SALESMAN 7698 08-SEP-1981 00:00:00 1500 0 30
SQL> select * from table(pipedata(11,15));
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7876 ADAMS CLERK 7788 23-MAY-1987 00:00:00 1100 20
7900 JAMES CLERK 7698 03-DEC-1981 00:00:00 950 30
7902 FORD ANALYST 7566 03-DEC-1981 00:00:00 3000 20
7934 MILLER CLERK 7782 23-JAN-1982 00:00:00 1300 10
SQL>If you are using it in PL/SQL then just populating a collection datatype and returning that will do. Though you should question why you want to pass large amounts of data around like that first.
Explain your purpose and what you are intending to do and we can recommend the best way.
{message:id=9360002} -
How to Make All Events in One Calendar Have Alerts Automatically
I am a college student majoring in engineering, which means I always have lots of homework due at various times. So to help me keep better track of when my assignments are due, I have started putting the due dates into my calendar. The only problem with that is every time I enter in a new event I have to set up an alert for that particular event. This is extremely annoying having to do this for each assignment. What I am wondering is there a way to make it so that every event in my "Homework" Calendar sends me an alert two hours before the event starts? I know you can make it so that all events send you an alert, but I just want this one calendar to automatically send alerts for it's events. Any help is greatly appreciated!
Thread is closed.
'Twas simple, but problem was my lack of knowledge how winhelp is built.
I needed to Update (synchronizae) document after I linked it and built proper topics and link them with proper document section. -
How to make picture part of Excel and have siena take that image?
Hi,
I've got a gallery which is taking information from my excel sheet. It a name and picture column. For each name, I had image URL which directed to my pictures folder. (C:\C:\Users\exampleuser\Pictures\...).
This worked really well. But I recently tried to publish the program and ran it on my windows RT tablet to see how it looks - and the pictures are all missing. I realize this is because on the excel sheet refers to pictures that aren't there on the tablet,
but are there on the PC.
I've tried embedding the images themselves into cells but Siena doesn't take the picture.
Is there any other way this will work? Preferably, I would like the image not to be directed to any online links.
Thanks in advanced,
RT-XDHi RT-XD,
When you were publishing the app, did we ensure that "Download and include images, video and other media from Excel and SharePoint" was checked with the picture column as the path to the image on the file system? Siena should download the resources
specified in the Excel document and package with you app. -
How to make changes in deduction column in IT 2006
Hi All,
Scenario: Employee had a sick leave & casual leave quota 6 days in a financial year.
Now the employee had used all his sick leaves and casual leaves and the leaves got exhausted pertaining to this quota.
These days are reflecting in 2001 IT as leaves taken but the deduction did'nt happen in IT 2006
Can anyone tell how to make changes in the deduction column for specific employee code's
Regards,
SrikanthHi Megha,
The assignment is properly mapped to counting rule.. Issue is with the validity intervals. SInce the employee already availed the leaves the quotas cannot be deleted in the IT 2006. Issue resolved by making some changes in the deduction column through SQL table entry..
Really appreciate your response..
Regards,
Srikanth
Maybe you are looking for
-
How to set background color in a docking container?
Hi guys! Is it possible to set a background color for a docking container? I don't find any appropriate method to do that. Is there actually a way?
-
You may need an additional audio decoder to play the soundtrack of this file. This file contains a track in the Dolby AC3 Audio (code "8192") format. You may need to install a DirectShow decoder for this audio format in order to hear the soundtrack o
-
How to disconnect a USB device that auto-connects to my iMac
I have a third-party device that gathers medical data that can be uploaded to my computer via USB. Now, however, I want to upload it to a web-based application application that runs only on Windows. I run Windows 7 on a virtual machine via Parallels
-
All of a sudden, my Nano keeps repeating whatever song I've selected - it will not move to the next song in the playlist. I've no idea what I did to cause this and more importantly, have no clue how to fix it. Suggestions? Thanks in advance
-
FTP dictionary attack - how to prevent ?
I'm already searched the board but haven't found a solution for our problem: During the last weeks the server was being hit by attacks looking like a dictionary attack. Someone tries to log in by ftp thousands of times. This made the server to reboot