Result row on the top..
Hi All
In my report the overall result row is displaying at the top of the report.In the result properies the result position is checked as below.
I used a hierarchy in this query.Even I checked root/totals appear below in the Hierarchy attributes in RSA1.Even i getting the same result.
Please advise me on this...
Thanks
Raghu
Hi Arun
We dont have any option in the display properties.
Thanks
Raghu
Similar Messages
-
Add a new row at the top of a table in GUI
Hi,
I am using JDev 11.1.1.1.0. I need to be able to let users add a new row at the top of a table and not anywhere else in the middle of table rows. I cannot seem to find a way to do it. note that it does not matter where a new row gets inserted in the db, i am only concerned about restricting the insert in the GUI to the topmost line/row.
Thanks,
AJHi
Can you try with writing your custom create method in application module and calling same from UI on command button action like
public void createNewRow()
ViewObjectImpl vo = getVO1();
Row newRow= vo.createRow()
vo.insertRowAtRangeIndex(0, newRow);
Vikram -
How to add a new row at the top of manual tabular form
I have a manual tablular form. I'm trying to add a row at the top of the form, instead of new row of being displayed at the bottom. any ideas are appreciated.
thanks,
SuryaThis will depend on two things:
1. sorting of the columns - needs to be a some kind of a descending sorting on a hidden column, enabled within the Report Attributes and not in the SQL Query
2. Report Attributes => Layout and Pagination => Sort Nulls First
You will need to play with those settings a bit. One thing to consider is that you should sort your report on a hidden column and you shuldn't enable the sorting on visible columns, because it will mess up your row positioning.
See this example:
http://apex.oracle.com/pls/otn/f?p=31517:215
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------- -
How to add new row at the top of the advance table.
Hi,
I have one advanced table.
I want to add new rows in advanced table. I can able to add rows using the AddMoreRows button in the footer of the advanced table.
This adds the row at the end. But I want to add the row at the top.
How to achive this? Please suggest.
Thanks & Regards,
RajaHi,
Yes you can do it...
Just set the add Rows automatically property to False of Add Row Button
and then in processForm Request capture the addRows event
and invoke a method in AM and then create a new Row in VO.
Use this code...it will insert row at the top...
if("addRows".equals(event))
am.invokeMethod("addrows");
public void addrows()
AddressesVOImpl vo1 = getAddressesVO1();
AddressesVORowImpl row1 = (AddressesVORowImpl)vo1.createRow();
vo1.insertRowAtRangeIndex(0,row1);
vo1.setCurrentRow(row1);
Thanks,
Gaurav -
Result Row in the query output
Hi,
If I restrict a characteristic by hierarchy then I cant have the result row displayed. If the hierarchy active is removed then the result row gets displayed. All characteristics are marked to show the result row.
This characteristic is Account Number. If in the query definition I remove the restriction on account numbers and just select hierarchy active and the required hierarchy in the properties then I get the result row in the output. But now it also displays all the unassigned account numbers in a separate node Not Assigned Account Number (s).
I cant even restrict it in the output with hierarchy active selected. When I do select filter value in the output the options Include in Selection and exclude from Selection are grayed out and hence cant select it.
Please advice on this issue
Thank you,
samHi Jaya,
I think you misunderstood my issue.
My problem is not that i do not want to see the field. But instead, i do not want to see only the results row in the query output.
I need to have the results to populate a calculation via sumct formula.
My question is, can sumct be populated if i hide/supress RESULT row ?
Regards,
Maili -
How to display the Overall result value at the top of work book
Hi,
How can i display the value of Overall result(Sum of the Total) column at the top of the work book in Text field.
Thanks
SreadharGo to Query Global properties in Query designer and you can find a setting to show result rows on top. This setting will show overall result as first row in the report. But I don't think you can show it in Text field in WB.
-
WAD result row in the name of the WAD report
Hi,
My requirement is we need to show summary of the result rows in front of WAD report output. Is it possible by any means please let me know.
amitour requirement is top management should get summary report like this e.g
WAD output as of now we have.
> costing report (Heading of the report) (compress)
> Query result (at the top or at the bottom)
I need Query result should appear at top level before clicking on heading costing report.
Please let me know if anything required above.
amit -
I have a request to create an extract and they need the header row to be written twice at the top of the file.
I thought maybe a for each loop with a script that reset the increment variable one time before looping through the rest of the dataset, I am curious to hear what other options there are.
Thanks,
PIf it is the same record twice then make it a variable and append twice before the details as per this blog post:
http://agilebi.com/jwelch/2008/02/08/adding-headers-and-footers-to-flat-files/
Arthur My Blog -
Getting descrepency in the result row of the Query
Hi All,
I am executing a query which is having 4 Keyfigures and 2 formulas.
I am getting wrong result in the query for formulas.
Below is the query structure
f1 f2 f2%f1 f3 f4 f4%f3
date
1
2
792 408 51.78 9647 8403 88.57
All the keyfigures - result is set as total
Formula - result -nothing is defined(under calculation tab)
The result I am expecting for column 3 is 408/792 = 51.51
The result I am expecting for column 6 is 8403/9647=87.10
To get the expecte result what changes i need to do to the formula.
Thanks
JagadeeshHi Anand,
Thanks for your reply.
If i change it to summation, it will give me sum in the result row.
I am not looking for summation, i want percentage for (overall result F2/overall result F1).
Thanks
Jagadeesh -
CreateInsert puts the new row at the top or second to the last
Dear All,
Just one question, is it possible to configure that when you create a new row in an
editable table, it will be place at the end of the rows of the table?
Use Case:
I have a view object coming from the HR schema's Departments table.
I then dropped this page as an editable table and enabled row selection.
To add new row, I drag the create insert option as a button.
<af:form id="f1">
<af:panelStretchLayout id="psl1">
<f:facet name="bottom">
<af:panelGroupLayout id="pgl1">
<af:commandButton text="Add Row" id="cb1"
actionListener="#{bindings.CreateInsert.execute}"/>
<af:commandButton actionListener="#{bindings.Commit.execute}"
text="Commit" id="cb2"/>
<af:commandButton actionListener="#{bindings.Rollback.execute}"
text="Undo" immediate="true" id="cb3">
<af:resetActionListener/>
</af:commandButton>
</af:panelGroupLayout>
</f:facet>
<f:facet name="center">
<af:table value="#{bindings.DepartmentsView1.collectionModel}"
var="row" rows="#{bindings.DepartmentsView1.rangeSize}"
emptyText="#{bindings.DepartmentsView1.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.DepartmentsView1.rangeSize}"
rowBandingInterval="0"
selectedRowKeys="#{bindings.DepartmentsView1.collectionModel.selectedRow}"
selectionListener="#{bindings.DepartmentsView1.collectionModel.makeCurrent}"
rowSelection="single" id="t1" partialTriggers="::cb1">
<af:column sortProperty="DepartmentId" sortable="false"
headerText="#{bindings.DepartmentsView1.hints.DepartmentId.label}"
id="c4">
<af:inputText value="#{row.bindings.DepartmentId.inputValue}"
label="#{bindings.DepartmentsView1.hints.DepartmentId.label}"
required="#{bindings.DepartmentsView1.hints.DepartmentId.mandatory}"
columns="#{bindings.DepartmentsView1.hints.DepartmentId.displayWidth}"
maximumLength="#{bindings.DepartmentsView1.hints.DepartmentId.precision}"
shortDesc="#{bindings.DepartmentsView1.hints.DepartmentId.tooltip}"
id="it4">
</af:inputText>
</af:column>
<af:column sortProperty="LocationId" sortable="false"
headerText="#{bindings.DepartmentsView1.hints.LocationId.label}"
id="c1">
<af:inputText value="#{row.bindings.LocationId.inputValue}"
label="#{bindings.DepartmentsView1.hints.LocationId.label}"
required="#{bindings.DepartmentsView1.hints.LocationId.mandatory}"
columns="#{bindings.DepartmentsView1.hints.LocationId.displayWidth}"
maximumLength="#{bindings.DepartmentsView1.hints.LocationId.precision}"
shortDesc="#{bindings.DepartmentsView1.hints.LocationId.tooltip}"
id="it2">
</af:inputText>
</af:column>
</af:table>
</f:facet>
<f:facet name="start"/>
<f:facet name="end"/>
<f:facet name="top"/>
</af:panelStretchLayout>But I notice that when I clicked the createinsert button, the new row is appended at the top of the table.
I then tried to click the last row, but when I click the CreateInsert, it is appended before the last row.
How can I configure this so that it will show at the last row?
Thanks.
JDEV 11G PS 3Ramandeep Nanda wrote:
* Insert new Rows at the end of RowSet.
* @param row
@Override
public void insertRow(Row row) {
//go to the end of Rowset if it has rows
Row lastRow = this.last();
if (lastRow != null) {
//insert new row at the end and make it current
int indx = this.getRangeIndexOf(lastRow) + 1;
this.insertRowAtRangeIndex(indx, row);
this.setCurrentRow(row);
} else { // empty Rowset
super.insertRow(row);
} The row will be added at the end. You actually override this method in your voImpl.Works like a charm..
Thanks Ramandeep..learned something new today... -
Result row at the end of the 2layouts
Hi All
We have 2 layouts in Web Interface builder. we have to calculate the values of 2 layouts and result will come into bottom line.
Ex: in layout 1 the value is 3000
in layout 2 the value is -3000
under these 2 layouts i need to get a result row as 0
Is it possible or not please explain. Please send any documents regarding the fancy changes and modifications of Web Interface Layouts.
I appreciate it.
RegardsHi Sunil & all
Will you tell me the process step by step please as i am new to this scenario. in Layout3 which Planning level, package, layout i must select to get this result row. As i am not good with ABAP and any other programming language. But somebody help me to get the coding i will do. I appreciate your help.
Regards, -
RichTable moves Selected Row to the Top of my tableview on refresh
When I issue a partialtrigger on a table with a selected Row, the selected row is repositioned to be the first Row that is available. The actual positions of the rows in the tables dont change, the selected row is just scrolled to the top... I need to suppress this behavior. Anyone have any Ideas?
Without an exact jdve version we can't do much.
Check these properties of hte table
activeRowKey, displayRowKey and displayRow. Then read the doc for the properties and set them according your use case.
Timo -
Fetching a partial range of selected result rows from the client side
It has been a while since I started trying to solve this Oracle puzzle.
Basically, what I need it is a way to fetch from the client side a run-time
defined range of result rows of a arbitrary SELECT query.
In low-end databases like MySQL I can do it simply by appending the LIMIT
argument to the end of the SELECT query statment passing the number of
the first row that I want to be returned from the server from the total
result rows available in the result set and the maximum number of rows
that it may return if available.
In higher end databases I am supposed to use server side cursors to skip
any initial rows before the first that I want to retrieve and fetch only
the rows I want up to the given limit.
I am able to achieve this with PostgreSQL and Microsoft SQL server, but I
am having a hard time with Oracle. The main problem is how do I fetch
result rows from a server side cursor and have their data returned to a
client side in a result set like in a straight SELECT query?
I was able to create a cursor and fecth a row into a server side record
variable with the following PL/SQL code.
DECLARE
CURSOR c IS SELECT * FROM my_table;
my_row c%ROWTYPE;
BEGIN
OPEN c;
FETCH c INTO my_row;
CLOSE c;
END;
I want to do this from PHP, so I don't have client side ESQL variables to
store the result set data structure. Anyway, if I can do it just with
SQLPlus I should be able to do it in PHP.
If I do straight SELECT I can get the result set, but in a PL/SQL script
like the one above I don't seem to be able to select the data in the
fetched row record to have returned to the client. Does a straight SELECT
query sends the result rows to a default client side variable?
If anybody can help, I would appreciate if you could mail me at
[email protected] because I am not able to access this forum all the time in
the Web. BTW, is it possible to access this forum by e-mail?
Thanks in advance,
Manuel Lemos
nullHello Jason,
On 03-Feb-00 05:34:14, you wrote:
I'm not sure I totally understand your problem, but I think you might be able
to solve it by using the ROWNUM variable. ROWNUM returns the sequenc number
in which a row was returned when first selected from a table. The first row
has ROWNUM = 1, the second has ROWNUM = 2, etc. Just remember that the
ROWNUM is assigned as soon as it's selected, even before an order by. So if
you have an order by clause, it'll mess it up. Here's an example. I hope
that helps.I though of that before but it doesn't help because if you use ORDER BY the
first result row might not have ROWNUM=1 and so on. Another issue is that
I want to be able to skip a given number of result rows before returning
anything to the client.
The only way I see to do it is to get the rows with server side cursor.
But how do I return them to the client? Where does a normal select returns
the rows? Isn't there a way to specify that the fetch or something else
return the rows there?
Regards,
Manuel Lemos
Web Programming Components using PHP Classes.
Look at: http://phpclasses.UpperDesign.com/?user=[email protected]
E-mail: [email protected]
URL: http://www.mlemos.e-na.net/
PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
null -
Repeat as header row at the top of each page --- in Footer of the table
I have a table
1st row contains column description.
I need the same column description in the last row of the page.
Is it possible
ThanksColumn names are hard coded in the first row ?
if so, create anther row after the "end for-each" put these columns description in that row. -
Hi for past 3 days i was thinking and breaking my head on how to add entire new at top table created in pdf report from c# windows forms with iTextSharp.
First: I was able to create/export sql server data in form of table in pdf report from c# windows forms. Given below is the code in c#.
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Text;
using System.Data;
using System.IO;
using System.Data.SqlClient;
using System.Windows.Forms;
using iTextSharp.text;
using iTextSharp.text.pdf;
namespace DRRS_CSharp
public partial class frmPDFTechnician : Form
public frmPDFTechnician()
InitializeComponent();
private void btnExport_Click(object sender, EventArgs e)
Document doc = new Document(PageSize.A4.Rotate());
var writer= PdfWriter.GetInstance(doc, new FileStream("Technician22.pdf", FileMode.Create));
doc.SetMargins(50, 50, 50, 50);
doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
doc.Open();
PdfPTable table = new PdfPTable(7);
table.TotalWidth=585f;
table.LockedWidth = true;
PdfPTable inner = new PdfPTable(1);
inner.WidthPercentage = 115;
PdfPCell celt=new PdfPCell(new Phrase(new Paragraph("Institute/Hospital:AIIMS,NEW DELHI",FontFactory.GetFont("Arial",14,iTextSharp.text.Font.BOLD,BaseColor.BLACK))));
inner.AddCell(celt);
Paragraph para = new Paragraph("DCS Clinical Report-Technician wise", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK));
para.Alignment = iTextSharp.text.Element.TITLE;
iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
png.ScaleToFit(95f, 95f);
png.Alignment = Element.ALIGN_RIGHT;
SqlConnection conn=new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
SqlCommand cmd = new SqlCommand("Select t.technician_id,td.Technician_first_name,td.Technician_middle_name,td.Technician_last_name,t.technician_dob,t.technician_sex,td.technician_type from Techniciandetail td,Technician t where td.technician_id=t.technician_id and td.status=1", conn);
conn.Open();
SqlDataReader dr;
dr = cmd.ExecuteReader();
table.AddCell("ID");
table.AddCell("First Name");
table.AddCell("Middle Name");
table.AddCell("Last Name");
table.AddCell("DOB" );
table.AddCell("Gender");
table.AddCell("Designation");
while (dr.Read())
table.AddCell(dr[0].ToString());
table.AddCell(dr[1].ToString());
table.AddCell(dr[2].ToString());
table.AddCell(dr[3].ToString());
table.AddCell(dr[4].ToString());
table.AddCell(dr[5].ToString());
table.AddCell(dr[6].ToString());
dr.Close();
table.SpacingBefore = 15f;
doc.Add(para);
doc.Add(png);
doc.Add(inner);
doc.Add(table);
doc.Close();
The code executes well with no problem and get all datas from tables into table in PDF report from c# windows forms.
But here is my problem how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
As the problem i am facing is my title or Header(DCS Clinical Report-Technician wise) is at top of my image named:logo5.png and not coming to it's center position of my image.
Second the problem i am facing is how to add new entire row to top of existing table in pdf report from c# windows form using iTextSharp?.
given in below is the row and it's data . So how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
as you can see how i create my columns in table in pdf report and populate it with sql server data. Given the code below:
Document doc = new Document(PageSize.A4.Rotate());
var writer= PdfWriter.GetInstance(doc, new FileStream("Technician22.pdf", FileMode.Create));
doc.SetMargins(50, 50, 50, 50);
doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
doc.Open();
PdfPTable table = new PdfPTable(7);
table.TotalWidth=585f;
table.LockedWidth = true;
Paragraph para = new Paragraph("DCS Clinical Report-Technician wise", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK));
para.Alignment = iTextSharp.text.Element.TITLE;
iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
png.ScaleToFit(95f, 95f);
png.Alignment = Element.ALIGN_RIGHT;
SqlConnection conn=new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
SqlCommand cmd = new SqlCommand("Select t.technician_id,td.Technician_first_name,td.Technician_middle_name,td.Technician_last_name,t.technician_dob,t.technician_sex,td.technician_type from Techniciandetail td,Technician t where td.technician_id=t.technician_id and td.status=1", conn);
conn.Open();
SqlDataReader dr;
dr = cmd.ExecuteReader();
table.AddCell("ID");
table.AddCell("First Name");
table.AddCell("Middle Name");
table.AddCell("Last Name");
table.AddCell("DOB" );
table.AddCell("Gender");
table.AddCell("Designation");
while (dr.Read())
table.AddCell(dr[0].ToString());
table.AddCell(dr[1].ToString());
table.AddCell(dr[2].ToString());
table.AddCell(dr[3].ToString());
table.AddCell(dr[4].ToString());
table.AddCell(dr[5].ToString());
table.AddCell(dr[6].ToString());
dr.Close();
table.SpacingBefore = 15f;
doc.Add(para);
doc.Add(png);
doc.Add(table);
doc.Close();
So my question is how to make my column headers in bold?
So these are my questions.
1. how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
2. how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
3.how to make my column headers in bold?
I know that i have to do some modifications to my code but i dont know how to do it. Can anyone help me please.
Any help or guidance in solving this problem would be greatly appreciated.
vishalHi,
>>1. how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
2. how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
3.how to make my column headers in bold?<<
I’m sorry for the issue that you are hitting now.
This itextsharp is third party control, for this issue, I recommended to consult the control provider directly, I think they can give more precise troubleshooting.
http://sourceforge.net/projects/itextsharp/
Thanks for your understanding.
Regards,
Marvin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Maybe you are looking for
-
Apple Tv can't locate Library on laptop
Basically, I have an iMac with itunes etc on it. I have a laptop with itunes on it. All versions are current, OS software is bang up to date, the TV is fine for use. I have one itunes account on that i/we the family buy music etc from. When I start u
-
IMac 20" Will no longer Boot.
I went to change the icons on my desk top this week and while playing around with them i miss clicked "Burn Macintosh HD to Disk" and it brought up bar as if it were copying something there was not Stop button and any way to cancel it and either way
-
I just purchased the 2TB TC and set it up on bridge mode to my att verse which is connected via ethernet cable. The TC is continually blinking amber and an error message states that a wireless network cannot be found but the uverse is functioning gr
-
Hi, I need to make RFC call to ABAP function module with some input parameters. On click of a button, I need to navigate between views based on returned values. I have followed steps similar to FlightList example. Created a model, custom controller
-
Hi, all I have in Designer Collaboration ( cfolders) one structure of folders similar to the following: Main Folder Public Folder Restrict Folder And this is my problem: I have that in the Public folder is general informatio