SQL report to another report link
HelloI use 4 Apex and try to link a sql with another report report. If I was able to use an interactive report, I could easily link to another page, but that would require me to have a primary key. The problem is that I need to connect a few tables. So two questions:
1.) can I link these via a HTML link to my other page? I have a HTML link in my report which will connect via the URL parameter passing. So can I use HTML in a report?
(2.) what is the syntax for one parameter passing via URL? Here is my link, that would be:
a href= f?p=107:40:&APP_SESSION::::P40_NAME:MARK:
Are there other ways to achieve this?Thank you
Mark
Edited by: LondonMark May 23, 2011 04:18
Edited by: LondonMark May 23, 2011 04:20
Tags: Database
Similar Questions
-
Can get us sql report conditional link column, I want to say that I want the link only for rows with null values. If there are data in the column, I want to show the data but not the link.
Published by: Sivaramaraju on May 31, 2012 04:13VC says:
Yes, this is how you do itselect case when column1 is null then 'test link' else column1 end from table
Try this, if work mark it as answered
It won't work.
You Please stop being so eager to answer every question and for taking the time to respond to those you'd correctly.
(I see a lot of < a href = "javascript:..." > in your messages.) What is your opinion on the use of code based on the standards and unobtrusive JavaScript?)
-
How to convert sql report interactive report
Hi all
I have a Sql report and I want to convert in interactive report. I found the option at the top to the right side "Interactive report migrate" but only 3 option to pass parameters.
In my SQL report (Edit button) is here and I'm passing 6 values through this button change, how can I migrate my SQL report interactive report? Please suggest me...
Thank you
Xandot wrote:
In the report links SQL query looks like:
- case Type
- When 3 then
- (select the T_STYLE Style where STYLEID =?)
- When 1 then
- 'Edit'.
- else '
||','|| ||','|| ||','|| ||',30>Edit' - end
- When 2 then '
| «, » || ||','|| ||','|| ||',30>Edit' - When 1 then '
| «, » || ||','|| ||','|| ||',30>Edit' - end as change
How to implement above interactive links, until now that I created the link on interactive using links like report:
But here its me allow only a single URL, how to put different URLS of in accordance with the condition, please suggest me.
There is no declarative support for generating links conditionally to line level in interactive reports (or indeed in the standard reports). Set the IR link column property to exclude the link columnand generate the link in the request in the original report. Set the Type of display attribute for the column Edit to report Standard column.
-
How can I make the Apex SQL report that follows (two versions)?
Thank you very much.
Participation of students in the meetings.
Students = Aris, Maria
Meetings = 1, 2, 3 (2014-1-5, 15-1-2014 and 2014-1-25 respectively).
Participation = 0/1 (absent/present).
__________________________________________
Report version 1
Meeting 1 meeting 2 3
1 1 ARIS 0
Maria 1 0 0
__________________________________________
Report version 2
Meeting 1 meeting 2 3
2014 1-5 15-1-2014 2014-1-25
1 1 ARIS 0
Maria 1 0 0
__________________________________________
Here's the diagram:
create table students
(
primary key not null ID number,
name varchar2 (80)
);
create table meeting
(
primary key not null ID number,
date of meeting_date
);
create the table student_meeting
(
primary key not null ID number,
student_id number of non-null reference student (id),
meeting_id number of non-null reference meeting (id),
number of presences,
check (presence in (0, 1))
);
insert into values student (11, "Aris");
insert into values student (12, 'Maria');
Insert in the encounter of the values (1, '' 2014-01-05);
insert into values of meeting (date 2, '' 2014-01-15).
Insert in meeting values (3, '' 2014-01-25).
insert into student_meeting values (101, 11, 1, 1);
insert into student_meeting values (102, 11, 2, 1);
insert into student_meeting values (103, 11, 3, 0);
insert into student_meeting values (104, 12, 1, 1);
insert into student_meeting values (105, 12, 2, 0);
insert into student_meeting values (106, 12, 3, 0);
commit;
What you want is called a matrix or pivot table dynamic PivotTable report... Take a look at this link RPF (as long as you eon ar 11g for a database...) for example: Vishal blog: methods of creating matrix in Oracle APEX report
Thank you
Tony Miller
Software LuvMuffin
Ruckersville, WILL -
Call a process report link Page
Hello.
I use Apex 4.2.1 on mod_plsql and Oracle 11 g 3.
I'm trying to run a PLSQL after - submit process page when users click on a link generated SQL in a classic type report.
For example, my classic report uses the query:
SELECT
E.*,
' < an id = "RID" href = "f? p = & APP_ID.:31: & SESSION. : ADDROW:P31_ENAME, P31_MGR, P31_DEPTNO:'
|| E.ENAME
|| ','
|| TO_CHAR (E.MGR)
|| ','
|| TO_CHAR (E.DEPTNO)
|| « « > »
|| 'Add new line '.
|| '< /a >' AS ADD_ROW
Of
EMP E
My page has also a submit after PLSQL method defined as:
declare
whole v_empno;
Start
Select nvl (max (empno), 0) + 1
in v_empno
EMP;
Insert into emp (empno,
Ename,
Bishop.
DEPTNO)
values (v_empno,
substr(:P31_ENAME,1,1) | '-' || TO_CHAR (v_empno),
TO_NUMBER(:P31_MGR),
TO_NUMBER (:P31_DEPTNO));
end;
This process is the condition 'Request = Expression 1', where 'Expression 1 ="ADDROW.
I thought that if users click on the report link "ADD_ROW", then items ENAME, MGR and DEPTNO report would be sent to corresponding page elements. In addition, the PLSQL process above would be carried out and add a new line to the EMP table. The report would then display then the newly added row.
But when I click on the link for the report, I see that my page elements, in fact, the report associated a value assigned. But the process page is never executed.
I looked at the page state in Session and in debug mode. The transformation runs simply never my page process.
Anyone knows why my page process is not executed? And how do I get the page process runs when users click on the report link? Indeed, what is the point of having even a floor embedded in the url, so REQUEST it is not recognized bt other processes on the page?
In my workspace from apex.oracle.com, I created an example page where all this was coded:
Workspace: EEG
User name: [email protected]
Password: galaxy123 (all lowercase)
AppID: 27083 (Elie_Goodies)
Page 31 (Option to request Url of Test)
I would appreciate if someone could help me with what I am puzzled why it doesn't work.
Thank you very much.
Elijah
Hi Elijah,
I think it's fixed. It was very close. It's just a matter of timing.
For a REQUEST be visible after do you need to submit the page. Something like apex.submit ("ADD_ROW") will do it.
Then, when the page displays the QUERY is empty again.
Same thing with the link, which is what you have implemented, the DEMAND is there for the rendering of the page. Then he disappeared when the page is sent.
All I had to do is move your process to run before header so that it can 'see' the value of the claim. I have not touch (or seek) and the code.
Points of treatment area or on a charge before the header or before loading would have worked here.
Thank you
-Jorge
Post edited by: jrimblas
-
Change the line color of the standard SQL report
Hello
I'm trying to follow this post to change the color of a line in the APEX SQL report. Change the color of line - report SQL Oracle APEX
It is a little outdated and trying to figure out how to get to this page: http://img7.imageshack.us/img7/4782/columntemplate.jpg 4.2 APEX where I can put under condition of background color.
I use Theme 13 (inheritance) and make a copy of the report area. Published, but could not find an equivalent section of this screenshot of the apex 3.1.
Any help appreciated.William Wallace says:
I'm trying to follow this post to change the color of a line in the APEX SQL report. Change the color of line - report SQL Oracle APEX
It is a little outdated and trying to figure out how to get to this page: http://img7.imageshack.us/img7/4782/columntemplate.jpg 4.2 APEX where I can put under condition of background color.
I use the theme 13 (legacy)
Ugh.
and make a copy of the report area. Published, but could not find an equivalent section of this screenshot of the apex 3.1.
This suggests that you look at the definition of region page, or even simply the definition of region model. What you need here is a copy of the report model.
1. go in Home > Application Builder > Application > shared components > models.
2. Select theme 13 theme filter, the Filter Type reports and click OK.
3. create a copy of the Standard report model by using the icon copy in the list.
4. Select the new report template and edit it as shown in the thread linked to above, paying special attention to the content of the second post. (It is of generic column template definition page that contains the section in the screenshot).
-
Dynamic SQL report on Oracle apex4.0
Hello world
I have two reports on a single page. One is the Interactive and another report. Sql based on the selection of the line (using the check box) in the interactive report, sql report should display the selected columns.
Note: the report must be loaded every time that a line is selected and without subjecting it to a button
Can someone please suggest?
I'm using oracle Apex4.0
Concerning
REDAI think that you are storing the values in the boxes. For example, your interactive report query looks like:
SELECT '"AS CHECKBOX, T.*.
OF UNE_TABLE Tand in 'Attributes of report', the CHECKBOX is displayed under "Standard report column.
* 1 a control list hidden input champ.*
It will store a selected values of list of checkboxes. If it is long enough, for example. 1000.
Let's say that the entry name is: P000_X_CHECK_LIST* 2. Create a dynamic Action *.
This dynamic action is supposed to fill the P000_X_CHECK_LIST with a list of values, separated by ': ' character.
These values will be an entry for the SQL report.Name: updated checklist
Event: change
Selection type: jQuery Selector
jQuery Selector: input: checkboxAction: Set
Set type: Expression JavaScript
function check_list() {}
var n = "";
$(":checked").each (function () {}
n = n + (n === « » ? ("': ': ') + $(this) .val ();
})
return n;
}
check_list();Selection type: item (s) - P000_X_CHECK_LIST
* 3. Set the query "SQL report" with this magic formula *.
AND SEARCHED_ITEM IN)
SELECT the item
FROM (SELECT REGEXP_SUBSTR (str, ' [^:] +', 1, LEVEL) point)
FROM (SELECT: P000_X_CHECK_LIST str)
THE DOUBLE)
CONNECT BY LEVEL<= length="" (regexp_replace="" (str,="" '[^:]+'))="" +="">=>
)for example:
SELECT O.*
OF SOME_OTHER_TABLE O
WHERE SEARCHED_ITEM IN)
SELECT the item
FROM (SELECT REGEXP_SUBSTR (str, ' [^:] +', 1, LEVEL) point)
FROM (SELECT *: P000_X_CHECK_LIST * str)
THE DOUBLE)
CONNECT BY LEVEL<= length="" (regexp_replace="" (str,="" '[^:]+'))="" +="">=>
)* 4. Adjust the dynamic Action: *.
Advanced: Event scope: 'live '.
* 5. Add real action more dynamic Action: *.
Action: update
Selection type: region
Region: The region of the "SQL report.Volia!
Best regards
Krzysztof -
Please help - value of the long column of SQL report required in a separate cell
Hello.
I need to create a SQL report with the structure as below:
Country city vertical Business details for the State (detail desc)
MY Quincy Healthcare US
It is a detailed desc value that is displayed in a different cell.
It is a detailed desc value that is displayed in a different cell.
It is a detailed desc value that is displayed in a different cell.
It is a detailed desc value that is displayed in a different cell.
US MY Braintree, HE
It is a detailed desc value that is displayed in a different cell.
It is a detailed desc value that is displayed in a different cell.
It is a detailed desc value that is displayed in a different cell.
I came across a solution where you can hide/show the column value in another cell. But my requirement is that it should be displayed when the page opens, and the user will not have to click a button to see the value. This is mainly for their presentations, and printing. so its very annoying for them to click on the buttons so much to see the value of desc of detail for each record. I'm new to Java script, please helpI'm not sure to understand your needs - you are showing us 2 data lines, lines 7 or 9? You want the long description of detail on the same line, or below?
I'll go on the assumption that you are showing us two rows, and long descriptions in this example are found along 3 to 4 lines, and you want long descriptions under the details. In this case, I suggest using "column name" models They are much easier to use as they appear when you look at everything first, so bear with me.
Under 'shared components', select 'Models' and click then on create yellow > button. You create a report model, from scratch. On the last page of the wizard, select "Named column (model line)" for the type of model. This will create a model rather generic (and useless), which you'll have to edit; I don't know why they chose to not send you directly in the editor. When you change it, you will see that the single field whose value is 'Model line 1', and it is set to:
#1# #2# #3# #4# #5# To meet your needs with basic features, change it to something in the sense of:
#COUNTRY# #STATE# #CITY# #VERT# #DETAILS# Then, you probably want to put something in the position of the column model, such as:
Country State City Vertical Business Details Applies to whatever you want, of course the CSS styles.
Using the model is simple: If your report, select the model and make sure that your SQL returns values using the column names specified in your model. Otherwise, you will see "#COUNTRY #" literal text in your report.
You can get fancy with these, of course, as the application of different styles for alternating rows, but I'll leave that as pretty good to help you get started (I hope).
-David
-
Delete the row in the Table by using the report link column
Hello
I a report advocating the rows in a table - I would like to for users to be able to delete rows in the table by clicking on the link in the column "ID". I thought about trying to call a process by using a javascript URL (as mentioned in this thread - ) but I don't know how to write the process so that he knows what 'ID' to remove from the table.
Any ideas would be greatly appreciated.
ForrestForrest:
Follow these steps
Create an item hidden on the page P_ID named who said
In the column link definition set the goal URL as the URL as
JavaScript:doDelete(#ID#);
Add this JS ito header HTML of the pageCreate a process page ' on submit ' with the code to delete the record from the table. Subordinate this process by using a "pl/sql expression" type of condtion. Will be the expression of pl/sql
:request='DELETE';
Treat code
delete from
where pk_column=:p_id; //adjust as needed
Add a branch that branches off to the page
CITY
SQL Reporting Services license
Working on explodes a separate instance of SQL 2014 Reporting Server from a normal SQL 2014 database server. If I run SQL reporting services on an area where the SQL engine is not installed does this burn a separate license of SQL?
Hi Khellian,
We have a dedicated forum for SQL queries. You can post the question here:
http://social.msdn.Microsoft.com/forums/SQLServer/en-us/home
Thank you
Waseemulla S
Of fact steps:
1. group name change and taken out the _50
2 enabled sql reports configuration manager and everything is set up correctly
3. of course I can get the description of the url, which is also OK
4. There is no SSL
5. There is no Proxy configuration
6. I have installed SQL 2008 r2 and I want to install Operations Manager reporting from the same drive
7. There is no value 3 in the journal of reports
Hello
The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the Technet Forums.
http://social.technet.Microsoft.com/forums/en-us/operationsmanagerreporting/threadsHello
I have a big problem with Top SQLs reports, when I generate a report of high SQLs, SQL, the value text is not end, I know that there is a "The SQL text size" setting on the properties of the agent (this configuration is also on the collections setting ' Ta maximum size in characters of the short collects text of the SQL statement is ") on the two options , I've incremented the value of 256 (default) 1500, but when I generate the Top SQLs postpones continue it problem, once the changes I restarted the agent but the problem persists, I generate the report on the different formats, but result is the same, could you help me please.
Thank you.
Best regards.
I see this in support KB article https://support.software.dell.com/kb/109536
"
Title
SQL in DB2 Top instructions are truncated in the delivered report of Top SQL
Description
SQL in DB2 Top instructions are truncated in the delivered report of Top SQL
Resolution
- Resolution A DDB-3673 request improvement with Support software Dell to show the full text of SQL high in the report Top SQL for DB2.
Workaround At this point you should be able to make a custom report by cloning the Top SQL existing and then customizing report. »
I know that this is not the solution, more of an explanation and guidance on how to solve this problem by using customizations.
Golan
Hi all
I'm currently building a site ADF with built-in reports of OBIEE.
Everything works fine, except that we have a requirement to export reports to excel on the site of the ADF.
I've seen many tutorials and when you add a report to the page of the ADF, the report links (refresh, print and export) are added as well - which allows you to export the report.
However, when I add a report links are not included.
I see on the links to the report (biExecBinding1) there is an attribute "viewReportLinks".
What are the values that this field expects display report links? There is currently a "-" in the field.
Any help is appreciated.
Concerning
Chris
I thought about it.
If anyone is wondering, if you put a "d" in the field of viewReportLinks the link export is indicated on the page of the ADF.
How to adjust column widths individual classic SQL report
Hello
I use Oracle APEX v4.2 with IE8 browser and basically tries to adjust widths of individual columns in my classic SQL report. Basically, I have three columns I want to spacing, so that the width of the entire region for the report is used, but am not sure how to proceed.
I drilled in individual columns and specified the column widths as the element, but in vain.
Would appreciate help on how to do this for each column and hope that I do not need to change the model of report (if possible).
Thank you.
Tony.
Tony F. says:
I use Oracle APEX v4.2 with IE8 browser and basically tries to adjust widths of individual columns in my classic SQL report. Basically, I have three columns I want to spacing, so that the width of the entire region for the report is used, but am not sure how to proceed.
There is an element of uncertainty in what we suggest as well, because you have not specified the theme and the report of model that is used. This information is required for any question of formatting or the visual layout.
I drilled in individual columns and specified the column widths as the element, but in vain.
Report in some themes templates may be missing in the #COLUMN_WIDTH substitution string # required for use of the declarative column widths, as shown here: Re: width of column in reports
I don't know why it would be missing from a theme of so-called "modern" (perhaps the lack of documentation affects even the Oracle theme designers), but you can add it to the models listed in this thread.
Width of the element applies only to controls on a form in a table.
Would appreciate help on how to do this for each column and hope that I do not need to change the model of report (if possible).
This can be done using selectors CSS attribute (for the themes of quirks mode non-traditional, because you are using a legacy version of IE). Add a style sheet in CSS Inline property page:
#ALIAS, td[headers="ALIAS"] { width: 40%; }
where the
ALIAS
value in the attribute selector matches the required column alias, and the width property specifies the column dimension required and the units.Note that the percentage widths will be compared to the width of the report table. Therefore, it may be necessary to also specify widths (100%) for the table of report and its components. Exactly how is based on the report, the region and the page templates and theme used, information that was not provided.
Rename the report links in the dashboard obiee 11 g
Hello
I need to rename the buttons of report links that makes its appearance in the bottom of the dashboard as page)
Return - Previous - Analyze - Edit - Discount - Print - Export - )
Go to
\Oracle_BI1\bifoundation\web\msgdb\l_en\messages Change the viewmessages.xml
Apex 3.2 passing more than 3 values in a report link
Apex 3.2
I have a report that contains a link to a page to update.
The report is based on a table with a key, based on 5 columns in the table.
I need to put these 5 items on the page updated with the values in my report with a report link.
The standard report link only 3 values.
How can I do this?
Gus
A very common question with a number of solutions
Oracle - passing more than 3 points in a binding column reports - Stack Overflow
Can I make more than 3 values in column with a link to the column?
Maybe you are looking for
-
Large capacity of Portege R100 defective battery - LED would not turn
Hello I recently bought a large battery capacity Toshiba for a replacement Dock Slim for my R100, Toshiba #PA3155. It was sold like new on eB *, but after installing to mmy R100, the LED for battery 2' wont turn on I tried to find a faulty contact bu
-
How do I know for sure my Lenovo Y570 has msata?
I want to upgrade my laptop with a new ssd, and I want to buy an msata version (no not to replace the existing regular hdd). However I do not know if my laptop has such a port. How ca I find for sure? Thank you.
-
Error code 646 when installing Windows updates
Original title : Need help I tried to make my windows update, but when he started the update, he said there is an error: code 646. What should I do?
-
File not found office / desk shows all on my HARD drive, how to fix this?
Hi all! I have a HDD and an SSD. Now, I did the usual thing of 'libraries in motion' to my SSD when I realized that the libraries did not work, so I deleted all the. In any case, after that happened, all the stuff I put in my HARD drive is placed on
-
Small Question: Remove stuck attributes quickly?
Hi guysI'm on PrCC2015 I have set up a mask and some other effects and copied as a 'paste the attributes' in a whole bunch of clips. I don't need these attributes on one of the clips that I had pasted. Is there a quick way, click medium to remove the