How to increase height of the row in template in smartforms
dear friends,
i have developed a smartform with template. i have 7 no of paragraphs in that.
my problem is,
i want to give equal row heights for 3 paragraphs and different heights for other 4 paragraphs as per the text of those paragraphs depends
how can i do this
it s urgent. help me. (don't suggest me manual dragging)
regards
saathi
DEar Saathi,
1. In the left pane, When u db.click on the template,
in the right pane, a tab strip will be displayed, in that select the tab Template..
2. When u create each column, there try by giving LN instead of MM/CM/inches
after checking tel me if it works or not..
With Rgds,
S.Barani
Similar Messages
-
How to set row height of the row in the interactive report?
Some of the values in the columns of my interactive report are wrapped up changing the height of the row to 2 or 3 characters.
Is there any way to change it? I would like to have all rows set to 2 characters height.
RobertAdd the following style sheet to the page HTML Header.
<style>
table.apexir_WORKSHEET_DATA td {
height: 2.8em;
</style> -
Financial Reporting 9.3.1 automatically change the height of the row
How can I make the reports generator automatically change the height of the row if the text does not fit into the cell? I tried different PDF generators (AFPL Ghostscript 8.51, Adobe Acrobat Distiller 6.0) but result was the same: http://sql.ru/forum/actualfile.aspx?id=6396177
Hi,
In HFR if you are not allowing expansion on the row or column, it wont expand itself according text length.
So you need to anticipate the row hight and width according to your need. You can define this in the property sheet.
Thanks,
aly -
HT4437 How to increase frame of the picture when mirrorring ipad on apple tv
How to increase frame of the picture when mirrorring ipad on apple tv ??
Contact photos assigned in your Mac's Address Book and synced to the iPhone will be thumbnails.
Photos assigned on the phone itself will be full screen.
You can edit the photo in your contacts on your phone to use a full-size photo.
Go to the contact with the small photo. Tap the "Edit" button at the top right.
Then tap the photo. From the list that pops up, choose the "Edit Photo" button.
Move and scale as you like and tap "Choose".
Finally, tap the "Done" button at the top right to save your change. -
How to add subpartitions to the existing subpartition template
Hi All,
My Question is ,how to add Subpartition to the exiting subpartition template. e
like i have created a table with subpartition template with with 5 subpartitions like
subpartiton one_1 value (121)
subpartition two_2 value(122)
and now i one to add one more subpartitin to the existing subpartition template(Like modify the existing subpartition templete).
subpartition three_3 value(123)
Could any suggest me.
Thanks
Sree>
My Question is ,how to add Subpartition to the exiting subpartition template.
>
Follow the example in the section for 'Modifying a Subpartition Template' in the VLDB and Partitioning Guide
http://docs.oracle.com/cd/E11882_01/server.112/e25523/part_admin002.htm#i1007904
>
You can modify a subpartition template of a composite partitioned table by replacing it with a new subpartition template. Any subsequent operations that use the subpartition template (such as ADD PARTITION or MERGE PARTITIONS) now use the new subpartition template. Existing subpartitions remain unchanged.
If you modify a subpartition template of an interval-* composite partitioned table, then interval partitions that have not yet been created use the new subpartition template.
Use the ALTER TABLE ... SET SUBPARTITION TEMPLATE statement to specify a new subpartition template. For example:
ALTER TABLE emp_sub_template
SET SUBPARTITION TEMPLATE
(SUBPARTITION e TABLESPACE ts1,
SUBPARTITION f TABLESPACE ts2,
SUBPARTITION g TABLESPACE ts3,
SUBPARTITION h TABLESPACE ts4 -
How to increase or decrease the width of af:inputText
Hi,
I want to increase the height & width of the <af:inputText>.
To increase the Height, i made rows attribute value as "2". But i am not able to increase the width of that component.
I have increased the "style--> box ---> Width” but it is not working.
Please help me,
Thanks in advance.Hi user,
Post your ADF faces questions at
JDeveloper and ADF
--Prasanna -
How to hide or make the row invisible in RTF report?
Hi ,
I am setting a flag = 'Y' in one condition as i want to display records only if flag = 'Y'. It is not displaying data in case flag != 'Y'.But it is displaying empty row in report for the record which does not have flag = ' Y'. How to hide those empty rows?
See following code for example:
<?for-each: LIST_G_STORE_ID/G_STORE_ID?>
<?xdofx: if STORE_ID = '' then '-' else STORE_ID?>
<?for-each: LIST_G_TRANSACTION/G_TRANSACTION?>
<?for-each: Q1?><?if: PLAN_CODE = 'PLN'?><?xdoxslt:set_variable($_XDOCTX,'flag', 'Y')?><?end if?><?end for-each?>
<?if: xdoxslt: get_variable($_XDOCTX,'flag') = 'Y'?><?xdofx: if TRN_DATE = '' then '-' else TRN_DATE?><?end if?>
<?for-each@inlines:LIST_Q1/Q1?>
<?if: xdoxslt: get_variable($_XDOCTX,'flag') = 'Y'?><?xdofx: if INVC_NUM= '' then '-' else INVC_NUM?><?end if?>
<?for-each@inlines:LIST_Q1/Q1?><?if: xdoxslt: get_variable($_XDOCTX,'flag') = 'Y'?><?xdofx: if substr(PLAN_CODE,1,3) != 'PLN' then PRODUCT_CODE?><?xdofx: if PLAN_CODE!= 'PLN' then ','?><?end if?><?end for-each?>
<?end for-each?><?xdoxslt:set_variable($_XDOCTX,'flag','N')?>
<?end for-each?>
<?end for-each?>
please advice or let me know if more detail is needed.
Thanks in Advance!!<?for-each:LIST_G_STORE_ID/G_STORE_ID [PLAN_CODE ='PLN' ]?> will only show the rows where that value of xml field PLAN_CODE is equal to 'PLN'.
Hope this helps
Domnic
Edited by: Domnic_JDE_BIP on Apr 12, 2010 5:47 PM -
Can you please explain how this query is fetching the rows?
here is a query to find the top 3 salaries. But the thing is that i am now able to understand how its working to get the correct data :How the data in the alias table P1 and P2 getting compared. Can you please explain in some steps.
SELECT MIN(P1.SAL) FROM PSAL P1, PSAL P2
WHERE P1.SAL >= P2.SAL
GROUP BY P2.SAL
HAVING COUNT (DISTINCT P1.SAL) <=3 ;
here is the data i used :
SQL> select * from psal;
NAME SAL
able 1000
baker 900
charles 900
delta 800
eddy 700
fred 700
george 700
george 700
Regards,
Renu... Please help me in understanding the query.
Your query looks like anything but a Top-N query.
If you run it in steps and analyze the output at the end of each step, then you should be able to understand what it does.
Given below is some brief information on the same:
test@ora>
test@ora> --
test@ora> -- Query 1 - using the non-equi (theta) join
test@ora> --
test@ora> with psal as (
2 select 'able' as name, 1000 as sal from dual union all
3 select 'baker', 900 from dual union all
4 select 'charles', 900 from dual union all
5 select 'delta', 800 from dual union all
6 select 'eddy', 700 from dual union all
7 select 'fred', 700 from dual union all
8 select 'george', 700 from dual union all
9 select 'george', 700 from dual)
10 --
11 SELECT p1.sal AS p1_sal, p1.NAME AS p1_name, p2.sal AS p2_sal,
12 p2.NAME AS p2_name
13 FROM psal p1, psal p2
14 WHERE p1.sal >= p2.sal;
P1_SAL P1_NAME P2_SAL P2_NAME
1000 able 1000 able
1000 able 900 baker
1000 able 900 charles
1000 able 800 delta
1000 able 700 eddy
1000 able 700 fred
1000 able 700 george
1000 able 700 george
900 baker 900 baker
900 baker 900 charles
900 baker 800 delta
900 baker 700 eddy
900 baker 700 fred
900 baker 700 george
900 baker 700 george
900 charles 900 baker
900 charles 900 charles
900 charles 800 delta
900 charles 700 eddy
900 charles 700 fred
900 charles 700 george
900 charles 700 george
800 delta 800 delta
800 delta 700 eddy
800 delta 700 fred
800 delta 700 george
800 delta 700 george
700 eddy 700 eddy
700 eddy 700 fred
700 eddy 700 george
700 eddy 700 george
700 fred 700 eddy
700 fred 700 fred
700 fred 700 george
700 fred 700 george
700 george 700 eddy
700 george 700 fred
700 george 700 george
700 george 700 george
700 george 700 eddy
700 george 700 fred
700 george 700 george
700 george 700 george
43 rows selected.
test@ora>
test@ora>This query joins PSAL with itself using a non equi-join. Take each row of PSAL p1 and see how it compares with PSAL p2. You'll see that:
- Row 1 with sal 1000 is >= to all sal values of p2, so it occurs 8 times
- Row 2 with sal 900 is >= to 9 sal values of p2, so it occurs 7 times
- Row 3: 7 times again... and so on.
- So, total no. of rows are: 8 + 7 + 7 + 5 + 4 + 4 + 4 + 4 = 43
test@ora>
test@ora> --
test@ora> -- Query 2 - add the GROUP BY
test@ora> --
test@ora> with psal as (
2 select 'able' as name, 1000 as sal from dual union all
3 select 'baker', 900 from dual union all
4 select 'charles', 900 from dual union all
5 select 'delta', 800 from dual union all
6 select 'eddy', 700 from dual union all
7 select 'fred', 700 from dual union all
8 select 'george', 700 from dual union all
9 select 'george', 700 from dual)
10 --
11 SELECT p2.sal AS p2_sal,
12 COUNT(*) as cnt,
13 COUNT(p1.sal) as cnt_p1_sal,
14 COUNT(DISTINCT p1.sal) as cnt_dist_p1_sal,
15 MIN(p1.sal) as min_p1_sal,
16 MAX(p1.sal) as max_p1_sal
17 FROM psal p1, psal p2
18 WHERE p1.sal >= p2.sal
19 GROUP BY p2.sal;
P2_SAL CNT CNT_P1_SAL CNT_DIST_P1_SAL MIN_P1_SAL MAX_P1_SAL
700 32 32 4 700 1000
800 4 4 3 800 1000
900 6 6 2 900 1000
1000 1 1 1 1000 1000
test@ora>
test@ora>Now, if you group by p2.sal in the output of query 1, and check the number of distinct p1.sal, min of p1.sal etc. you see that for p2.sal values - 800, 900 and 1000, there are 3 or less p1.sal values associated.
So, the last 3 rows are the ones you are interested in, essentially. As follows:
test@ora>
test@ora> --
test@ora> -- Query 3 - GROUP BY and HAVING
test@ora> --
test@ora> with psal as (
2 select 'able' as name, 1000 as sal from dual union all
3 select 'baker', 900 from dual union all
4 select 'charles', 900 from dual union all
5 select 'delta', 800 from dual union all
6 select 'eddy', 700 from dual union all
7 select 'fred', 700 from dual union all
8 select 'george', 700 from dual union all
9 select 'george', 700 from dual)
10 --
11 SELECT p2.sal AS p2_sal,
12 COUNT(*) as cnt,
13 COUNT(p1.sal) as cnt_p1_sal,
14 COUNT(DISTINCT p1.sal) as cnt_dist_p1_sal,
15 MIN(p1.sal) as min_p1_sal,
16 MAX(p1.sal) as max_p1_sal
17 FROM psal p1, psal p2
18 WHERE p1.sal >= p2.sal
19 GROUP BY p2.sal
20 HAVING COUNT(DISTINCT p1.sal) <= 3;
P2_SAL CNT CNT_P1_SAL CNT_DIST_P1_SAL MIN_P1_SAL MAX_P1_SAL
800 4 4 3 800 1000
900 6 6 2 900 1000
1000 1 1 1 1000 1000
test@ora>
test@ora>
test@ora>That's what you are doing in that query.
The thing is - in order to find out Top-N values, you simply need to scan that one table PSAL. So, joining it to itself is not necessary.
A much simpler query is as follows:
test@ora>
test@ora>
test@ora> --
test@ora> -- Top-3 salaries - distinct or not; using ROWNUM on ORDER BY
test@ora> --
test@ora> with psal as (
2 select 'able' as name, 1000 as sal from dual union all
3 select 'baker', 900 from dual union all
4 select 'charles', 900 from dual union all
5 select 'delta', 800 from dual union all
6 select 'eddy', 700 from dual union all
7 select 'fred', 700 from dual union all
8 select 'george', 700 from dual union all
9 select 'george', 700 from dual)
10 --
11 SELECT sal
12 FROM (
13 SELECT sal
14 FROM psal
15 ORDER BY sal DESC
16 )
17 WHERE rownum <= 3;
SAL
1000
900
900
test@ora>
test@ora>
test@ora>And for Top-3 distinct salaries:
test@ora>
test@ora> --
test@ora> -- Top-3 DISTINCT salaries; using ROWNUM on ORDER BY on DISTINCT
test@ora> --
test@ora> with psal as (
2 select 'able' as name, 1000 as sal from dual union all
3 select 'baker', 900 from dual union all
4 select 'charles', 900 from dual union all
5 select 'delta', 800 from dual union all
6 select 'eddy', 700 from dual union all
7 select 'fred', 700 from dual union all
8 select 'george', 700 from dual union all
9 select 'george', 700 from dual)
10 --
11 SELECT sal
12 FROM (
13 SELECT DISTINCT sal
14 FROM psal
15 ORDER BY sal DESC
16 )
17 WHERE rownum <= 3;
SAL
1000
900
800
test@ora>
test@ora>
test@ora>You may also want to check out the RANK and DENSE_RANK analytic functions.
RANK:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions123.htm#SQLRF00690
DENSE_RANK:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions043.htm#SQLRF00633
HTH
isotope -
How to increase height of IFRAME without refreshing its contents.
Hi,
I want to increase height of an IFRAME inserted in HTML,
presently i am doing this by specifying
var frameSrc = myFrame.src;
myFrame.height = newHeight;
myFrame.src = frameSrc;
but as this refreshes the IFRAME i can see the time lag in the loading of page specified as src of IFRAME.
Is there any better way to resize the IFRAME without reloading its contents.
Thanks in advance.Why don't you add width and height where you had IFRAME tag?
<iframe id="hiddenFrame" name="hiddenFrame" src="/myWeb/blank.html" style="width: 100; height: 300; visibility: hidden"></iframe> -
How to know Number of the Row which is selected in Advanced table
Hi All
I have a requirement where in an advanced table, when user clicks on copy icon against a row..a new row is created with copied values of the row against which copy action is performed.My issue is: assume in table i have got 5 rows..when user clicks on copy..my copied row gets created in the end..but i want tht row to be created directly under the row against which copy action is performed.I think somehow if i am able to know the position number of the row against which copy action is performed..i should be able to achieve it...can you please help me on this.
Thanks
Rajhi raj,
create a fire action to the copy image.
and then copy this method in to u r AM,
public void copy action(String s)
PwrPosViewShipmentsVOImpl sVO = getPwrPosViewShipmentsVO();
RowSetIterator rowsetiterator;
OADBTransaction oadbtransaction;
rowsetiterator = sVO.findRowSetIterator("ships");
int i;
int j;
if(rowsetiterator == null)
rowsetiterator = sVO.createRowSetIterator("ships");
oadbtransaction = getOADBTransaction();
rowsetiterator.reset();
i = 0;
if(!sVO.isPreparedForExecution())
rowsetiterator.setRowValidation(false);
String s1;
PwrPosViewShipmentsVORowImpl sVORowImpl1;
PwrPosViewShipmentsVORowImpl sVORowImpl=null;
do
if(!rowsetiterator.hasNext() || i >= sVO.getFetchedRowCount())
break;
i++;
sVORowImpl = (PwrPosViewShipmentsVORowImpl)rowsetiterator.next();
s1 = copyServerUtil.replaceNull(sVORowImpl.getAttribute("view attribute of the referenced column"));
} while(!s.equals(s1));
j = sVO.getRangeIndexOf(sVORowImpl);
sVORowImpl1 = (PwrPosViewShipmentsVORowImpl)rowsetiterator.createRow();
sVO.insertRowAtRangeIndex(j + 1, sVORowImpl1);
rowsetiterator.closeRowSetIterator();
* create a new class file under the server folder and paste the below into that. and then import that class file into u r AM. and then try to run as a whole. u will get ur required work.
public static final String replaceNull(Object obj)
if(obj == null || obj.equals("null"))
return "";
} else
return obj.toString();
} -
How to get rank within the row in SQL
I have an a key orderid and 4 other columns with orderdate&time in (16/12/2011 16:15:24 format) within a table.
the orderid has an average of 1million rows every week hence could not do this in excel for a 15 day period .
ORderid.........: mail........................................ : telephone ............................:online ........................................ store.......................... Agency
A3456...........15/12/2011 16:15:24 ............... 16/12/2011 14:12:01.............16/12/2011 16:14:00..........17/12/2011 11:22:55 ............12/12/2011 22:20:30
B678
C555
i want to create a new table which ranks each row according to the max orderdate and time say in another table
i want to capture the rank
KEY.......Mail............Tel............online.........store..........Agency
A3456.....4 ...............3...............2...............1............... 5
Is there any way either within the same table or in other table i wiould be able to get the rank based on the rows in SQL.
thnks
Edited by: UOOLK on 29-Dec-2011 06:46Something like this I think:
create new_order_table as
select order_id
,rank() over (order by mail desc) mail
,rank() over (order by telephone desc) telephone
,rank() over (order by online desc) online
,rank() over (order by store desc) store
,rank() over (order by agency desc) agency
from old_order_table;Assuming you want the most recent date to be ranked number 1. If you want number 1 to be the oldest then remove all the 'desc's from the order by clauses. -
JDev 10.1.3.4: How to properly loop through the rows of a VO?
Hi,
This is a newbie question. Using JDeveloper 10.1.3.4 I am trying to loop through the rows of a view object. I am sure that the VO returns the following rows in that order:
200809
200902
200906If I use this code (where termsOpen is the VO instance):
while (termsOpen.hasNext()) {
System.out.println(termsOpen.getCurrentRow().getAttribute("Term"));
}it proves to be an endless loop and I get "200809" printed on the console endlessly. The API says that hasNext() "does not move the current row". A book says that the pointer initially is at row 0. I wonder why it prints the first row. So the code is changed to:
while (termsOpen.hasNext()) {
Row currRow = termsOpen.next();
System.out.println(currRow.getAttribute("Term"));
}But now I get only the last two rows printed on the console, and do not get to see the first row:
200902
200906What's wrong?
Thanks for helping!
NewmanHi, Branislav,
Thank you for the suggestion.
I tried that also. When the code is
while (termsOpen.hasNext()) {
System.out.println(termsOpen.getCurrentRow().getAttribute("Term"));
termsOpen.next();
}I get only the first two rows and last row is dropped:
200809
200902To get all the three row, I end up using this code:
System.out.println(termsOpen.first().getAttribute("Term"));
while (termsOpen.hasNext()) {
Row currRow = termsOpen.next();
System.out.println(currRow.getAttribute("Term"));
}But that shouldn't be the way of doing the work. If I use a block of 50 lines of code to process each row, the code will have to be written once before the while loop and another time inside the while loop.
The book which says that the pointer starts at the row slot before the first row is found on the internet, on p.469. It makes sense to me that the pointer starts at row 0. But unfortunately the actual copy of JDev 10.1.3.4 I am using behaves otherwise.
Newman -
How to find and edit the seeded invoice template from receivables
Hi,
I want to edit the seeded invoice template which comes from receivables. How can I see the name of the template, as I run the invoice from Transaction -> Transactions -> Open an Invoice and then click on the button next to the Transaction Number. I have tried finding it in XML Publisher responsibility, but I cannot find that particular template.
Thank you in advance!Hi,
I believe I have my answer now, or at least a good thread on the subject going hear:
http://forums.java.net/jive/thread.jspa?threadID=45148
Thanks,
Mark -
Hi, everyone, how to add subject of the email by which my smartform is sent
I use the three interface parameters in smartform including mail_recepient_obj, mail_sender_obj, and mail_app_obj, and I use three function modules to import the three objects, does anyone know that which I should give value to to make the subject I want? thank you!
Hi,
Check this link. I am explaining the procedure of sending smartform output by mail.
https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-0010-eabe-82149bcc292e -
How to increase width of the complex table column in Agentry?
I am using Agentry 6.0.38.1 client and Smart service manager 3.0 and Agentry 6.0.32 plugin, developing for Android client
I increased no of characters for that complex table column in Agentry editor still its width is same in Android device.
How can I increase the displayed width so that values in that column will not truncate?
Tags edited by: Michael ApplebyHi Merten,
I'm using Agentry Android client v6.1.4.179 (latest one). In Work Manager Add Component screen, Plant and Item ID fields's edit type is Complex table drop down and Complex table search respectively.
Now we have requirement to fixed Column Width of this fields. Kindly let me know if there is any way to fix this. if than how?
Thanks-
Dipak Jotaneeya
Maybe you are looking for
-
I recently got an 8.0GB Memory Kit and a 1.0TB Hard Drive for my Macbook Pro. Is there a way to install both of these without losing my data? Can I transfer my data to the bigger hard drive?
-
Since Adobe insist on monthly payments, why make it difficult by not allowing modern payment methods such as Paypal? I have a Paypal UK account but this option is not displayed when I attempt to alter payment methods.
-
Hi All, I have one issue related to doubling key figure results in the query. The cube data initially had deleted and reload the data. So I am straggling how to shown the Key figure double value. We are not able to reproduce the issue. I came know wi
-
Applets and text...
I need a way to display text in an applet without needing coordinates. What I need to do is display a word with a number in front of it then a single space after and the same again only the number increases by 1. I have to use a looping structure for
-
Subvi execution issue after building .exe
Hi all, I've seen a lot related to this topic but haven't found anything specific to my situation. I built a simple wrapper to launch different subvi's depending on if it is saturday or not. The vi works perfectly fine as a vi in LV2012. But when I b