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?
Tags: Database
Similar Questions
-
How to pass more than 3 Articles in the column link
Hello
I need to spend 4 elements as values of link from page 1 to page 2. Under report-> column attributes
Attributes-> link I can't put more than 3 Articles. Can some please advice the best way to transmit more than 3 values from page 1 to page 2.
Thanks in advance
AaliMore than 1 point/value can be entered in each text box: just, separate them by commas (",") and to ensure that the order of elements and values matches.
-
Passing more than three values in the link option
4.2.1
Hello
I have a few classic reports that shows the counts of certain elements. I have hyperlinked these counts using the standard configuration of link Apex in the attributes of the column. However, it has kind of only three elements that can be passed to the next page. My question is if I wanted to pass multiple values, that the best option would be? (This is when the user clicks the link)
Thank you
Ryanryansun wrote:
4.2.1Hello
I have a few classic reports that shows the counts of certain elements. I have hyperlinked these counts using the standard configuration of link Apex in the attributes of the column. However, it has kind of only three elements that can be passed to the next page. My question is if I wanted to pass multiple values, that the best option would be? (This is when the user clicks the link)
More than 1 name/value pair can be entered in the name / value boxes for each item in the column binding: just, separate them by commas (",") and to ensure that the order of matches on names and values.
OR
Change the target of the link URL and build the URL of the link yourself using the model APEX standard URL. (APEX will do this automatically if you enter more than 3 name/value pairs separated by commas).
However, you should be aware that pass several parameters in the URL may lead to problems that some characters have a special meaning in the URL. The best practice is to pass only simple alphanumeric identifiers (and as few as possible).
-
I can't have more than one value of function?
I hope all of you can point me to some introductory articles/documents on function.
I know the function is used to calculate a value and it always returns a single value.
I want to know I can get more than one value of function? If so please share a few lines of code
Hello
Certainly, you CAN define functions with OUT parameters. It is generally not advisable to do so, however. Working with settings, for example, can be called from SQL, among other useful things.
If you are wanting a function that returns multiple values, you would generally be
-create a procedure that has several OUT parameters
-create a function that returns a type of object that encapsulates the values that you want to return
How to make FUNCTION returns several columns and several outputs line
can functions return multiple values?
oracle function to return more than one value
You must give several values of function that can be found in Sql
-
show more than one value of PLSQL code for screen
How to display more than one value of PLSQL code on screen?
Below the code has the function of printing two PLSQL code. Can someone pls change the Javascript code according to the code below.
JavaScript:begin htp.prn('hello world'); htp.prn('hi'); end;
SKUD.Javascript Code var ajaxRequest = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=TEST_PROCESS',0); ajaxResult = ajaxRequest.get(); alert(ajaxResult);
OPPS...
Need arr = ajaxResult.split(':');
Kind regards
Shijesh**
-
Error ORA-01422 apex: exact fetch returns more than the required number of line
Hi people,
Apex 4.1
I have a page that works like a charm.
Based on my application I need I have to perform the same operation for the different regions. As a quick and better method, I copied the page and branched, it inspires tab for this region.
The problem is that the original page works fine.
I haven't changed anything except the parent set to this copied page tab and works that I find with the above error.
It allows me to make the first entry on this page, but when I try to access the page again it gives me this error.
The error in detail is as below:
is_internal_error: false
ora_sqlcode:-1422
ora_sqlerrm: ORA-01422: exact fetch returns more than number of lines
Component.type: APEX_APPLICATION_PAGE_PROCESS
Component.ID: 214936714355373108
Component.Name: EMP_LEAVE_INFO line
error_backtrace:
ORA-06512: at line 1
ORA-06512: at "SYS." DBMS_SYS_SQL", line 1926
ORA-06512: at "SYS." WWV_DBMS_SQL', line 973
ORA-06512: at "SYS." WWV_DBMS_SQL', line 999
ORA-06512: at "APEX_040200.WWV_FLOW_DYNAMIC_EXEC", line 806
ORA-06512: at "APEX_040200.WWV_FLOW_DML", line 336
ORA-06512: at "APEX_040200.WWV_FLOW_PROCESS", line 332>
As a quick and better method, I copied the page and branched, it inspires tab for this region.
>Copy paste is never advisable. It can be fast in some cases, there is an anti-pattern.
Be aware that the automatic extraction of the APEX line is based on a component of demand.
It is possible that your automatic rowfetch is based on the element of your previous page. If you for example to change the name of the table, but do not change the reference is the primary key value, then you can pass a value to your table that was not unique. This would result in ORA-01422.
Find the value of the session element and run your query.
Concerning
Nico
-
New APEX listening port and more than 32K
Hi all
Is the problem with the recording of high values (greater than 32 k) solved with the new listener APEX 4.0?
Thank you
Fadi.Samara says:
Is the problem with the recording of high values (greater than 32 k) solved with the new listener APEX 4.0?The Apex team must answer as to what is expected for Apex 4.0, but the 32 k issue is twofold:
(a) the bridge between the web browser/server and the database should handle more than 32 K string values (IE. CLOB).
(b) the framework of the Apex (the procedure 'accept' who gets all values when you submit a page) must manage more string of 32 k values (IE. CLOB).
Now, the problem with one) should be easy enough to fix with the new listener to the Apex. If you want to use Microsoft IIS as a web server, see my [gateway Thoth | http://code.google.com/p/thoth-gateway/] which already supports the CLOB parameters. You'll always need to manage registration of great values through an application process (Ajax), due to problem b), which is that the framework of Apex does not use CLOB parameters in the current version.
However, since one) can be fixed easily in the listener of the Apex, but for Oracle set in the embedded PL/SQL gateway and in mod_plsql would probably take a lot longer because it follows the (slow) the database release cycles, I don't know if the Apex team will change the frame if the feature can only be used on one of the three doors (officially supported).
-Morten
http://ORA-00001.blogspot.com
-
Display more than 15 values in chart
Hello
I'm pretty new to apex, and this looks like a very basic problem, I couldn't find an answer on the web:
How to display value of more than 15 in a simple "Horizontal 2D" histogram?
I know that the SQL query returns 26 lines, but only the first 15 are displayed in the chart.
Thank you
MartinHello Martin,
Access your query for the chart series.
Below there is a field named Lines Maximum.Check the value in there.
Best regards, Tine.
-
More than 15 lines in a report
Hello
I use a report and you want to display more than 15 rows without using pagination. I already tried to increase the number of lines of 15 to a higher value, but I does not work.
And is there a way to avoid to reload the entire page after clicking on the button of pagination in the report?
Thanks in advance...
Tarek says:
I use a report and you want to display more than 15 rows without using pagination. I already tried to increase the number of lines of 15 to a higher value, but I does not work.
Pagination settings are cached for the duration of the session. After changing the lines by the value of the page in the report attributes, log off, restart the brower and connect again or manually re - request the page from the browser's address bar, adding 'RP' in the ClearCache position in the URL.
And is there a way to avoid to reload the entire page after clicking on the button of pagination in the report?
For regions classic report and tabular forms, use the report property allow partial Page Refresh to specify that only the lines of the report for each set of pagination are requested, rather than refreshing the whole page.
-
MultiSelect list - select more than 1 value
Hello
Is it possible to select a value greater than 1 in a list of multiple selection via javascript? I can choose the value 1 for help
$s ('P1_MULTISELECT', 'AA');
I want a couple of them selected through javascript.
Experts, please help if you have any ideas...
booth...Zed,
Try the following, just copy the lines and change the value = "XX" part:
<script src="http://www.google.com/jsapi"></script> <script type="text/javascript"> google.load('jquery', '1.3.2'); </script> <script type="text/javascript"> //<![CDATA[ $(function(){ $('select#P1_MULTISELECT > option[value="AA"]').attr('selected','selected'); $('select#P1_MULTISELECT > option[value="BB"]').attr('selected','selected'); }); //]]> </script>
Kind regards
Danhttp://danielmcghan.us
http://www.skillbuilders.com -
How to have a variable the function "return" have more than one value
@using the Sub function how can user_id accepts the values 0 and 6?
create or replace function xxactive_user_test)
p_schema in varchar2,
p_object in varchar2)
return varchar2
as
Start
return 'user_id = 0';
end;
/
Post edited by: 880492
The question or needs is not clear, to me at least.
> How user_id can take the values 0 and 6
How the function is used.
You mean like this:
return 'user_id IN (0,6)';
-
UPDATE CORPORATECARD_TST SET (CORPORATECARD_TST. USERNAME, CORPORATECARD_TST. CREDITCARDIDCD, CORPORATECARD_TST. DATEINSERTED, CORPORATECARD_TST. DATEUPDATED, CORPORATECARD_TST. CUSTOMERNAME, CORPORATECARD_TST. FORMOFPAYCCNUMFIRSTSIX, CORPORATECARD_TST. FORMOFPAYCCNUMLASTFOUR) = (select distinct CORPORATECARD_SQL. USERNAME, CORPORATECARD_SQL. CREDITCARDIDCD, CORPORATECARD_SQL. DATEINSERTED, CORPORATECARD_SQL. DATEUPDATED, CORPORATECARD_SQL. CUSTOMERNAME, CORPORATECARD_SQL. FORMOFPAYCCNUMFIRSTSIX, CORPORATECARD_SQL. Join FORMOFPAYCCNUMLASTFOUR internal CORPORATECARD_SQL CORPORATECARD_TST on CORPORATECARD_SQL. CORPORATECARDID = CORPORATECARD_TST. CORPORATECARDID);
CREATE TABLE CORPORATECARD_TST
(
CORPORATECARDID NUMBER(*, 0) NOT NULL
VARCHAR2 (50 BYTE) USER NAME NOT NULL
CREDITCARDIDCD CHAR (2 BYTES) NOT NULL
DATEINSERTED DATE NOT NULL
DATEUPDATED DATE NOT NULL
VARCHAR2 (255 BYTE) CUSTOMERNAME
FORMOFPAYCCNUMFIRSTSIX CHAR (6 BYTES)
FORMOFPAYCCNUMLASTFOUR CHAR (4 BYTES)
)
CREATE TABLE CORPORATECARD_SQL
(
CORPORATECARDID NUMBER(*, 0) NOT NULL
VARCHAR2 (50 BYTE) USER NAME NOT NULL
CREDITCARDIDCD CHAR (2 BYTES) NOT NULL
DATEINSERTED DATE NOT NULL
DATEUPDATED DATE NOT NULL
VARCHAR2 (255 BYTE) CUSTOMERNAME
FORMOFPAYCCNUMFIRSTSIX CHAR (6 BYTES)
FORMOFPAYCCNUMLASTFOUR CHAR (4 BYTES)
)
Here is the data in the table _TST
2044 TestUser AX 2 February 12 February 2, 12 TestClient 123456 9876
2007 TestUser AX 30 January 12 January 30, 12 TestClient 123456 9876
2004 TestUser AX 30 January 12 January 30, 12 TestClient 123456 9876
2010 TestUser AX 31 January 12 January 31, 12 TestClient 123456 9876
TestUser AX 19-SEVEN 6. - 11 19 - SEPT. - 11 123456 9876 TestClient
2045 TestUser AX 2 February 12 February 2, 12 TestClient 123456 9876
2020 TestUser AX 1 February 12 February 1, 12 TestClient 123456 9876
2011 TestUser AX 31 January 12 January 31, 12 TestClient 123456 9876
2012 TestUser AX 31 January 12 January 31, 12 TestClient 123456 9876
2046 TestUser AX 2 February 12 February 2, 12 TestClient 123456 9876
2138 TestUser AX 26 July 12 July 26, 12 TestClient 123456 9876
Here is the data in the table _SQL
2009 NEW TestUser DS 31 January 12 January 31, 12 NEW TestClient 999999 0
2044 NEW TestUser VI 2 February 12 February 2, 12 NEW TestClient 999999 0
2007 NEW TestUser DC 30 January 12 January 30, 12 NEW TestClient 999999 0
2004 NEW TestUser MC 30 January 12 January 30, 12 NEW TestClient 999999 0
2010 NEW TestUser VI 31 January 12 January 31, 12 NEW TestClient 999999 0
6 NEW TestUser AX 19-SEVEN. - 11 19 - SEPT. - 11 NEW TestClient 999999 0
2045 NEW TestUser VI 2 February 12 February 2, 12 NEW TestClient 999999 0
2020 NEW TestUser DS 1 February 12 February 1, 12 NEW TestClient 999999 0
2011 NEW TestUser AX 31 January 12 January 31, 12 NEW TestClient 999999 0
2012 NEW TestUser AX 31 January 12 January 31, 12 NEW TestClient 999999 0
2046 NEW TestUser VI 2 February 12 February 2, 12 NEW TestClient 999999 0
2138 NEW TestUser AX 26 July 12 July 26, 12 NEW TestClient 999999 0
Here's the MERGE statement...
MERGE INTO CORPORATECARD_TST D
USING
(
Select distinct
CORPORATECARD_SQL. CORPORATECARDID
CORPORATECARD_SQL. USERNAME
CORPORATECARD_SQL. CREDITCARDIDCD
CORPORATECARD_SQL. DATEINSERTED
CORPORATECARD_SQL. DATEUPDATED
CORPORATECARD_SQL. CUSTOMERNAME
CORPORATECARD_SQL. FORMOFPAYCCNUMFIRSTSIX
CORPORATECARD_SQL. FORMOFPAYCCNUMLASTFOUR
Of
CORPORATECARD_SQL
) S
WE
(
D.CORPORATECARDID = S.CORPORATECARDID
)
WHEN MATCHED, THEN UPDATE GAME
S.USERNAME = D.USERNAME
D.CREDITCARDIDCD = S.CREDITCARDIDCD,
D.DATEINSERTED = S.DATEINSERTED,
D.DATEUPDATED = S.DATEUPDATED,
D.CLIENTNAME = S.CLIENTNAME,
D.FORMOFPAYCCNUMFIRSTSIX = S.FORMOFPAYCCNUMFIRSTSIX,
D.FORMOFPAYCCNUMLASTFOUR = S.FORMOFPAYCCNUMLASTFOUR,WHEN NOT MATCHED THEN INSERT
(
D.CORPORATECARDID
D.USERNAME
D.CREDITCARDIDCD
D.DATEINSERTED
D.DATEUPDATED
D.CLIENTNAME
D.FORMOFPAYCCNUMFIRSTSIX
D.FORMOFPAYCCNUMLASTFOUR
)
VALUES
(
S.CORPORATECARDID
S.USERNAME
S.CREDITCARDIDCD
S.DATEINSERTED
S.DATEUPDATED
S.CLIENTNAME
S.FORMOFPAYCCNUMFIRSTSIX
S.FORMOFPAYCCNUMLASTFOUR
)
;The desired output would be for the _TST and the _SQL to have the same data as the _SQL as below...
2009 NEW TestUser DS 31 January 12 January 31, 12 NEW TestClient 999999 0
2044 NEW TestUser VI 2 February 12 February 2, 12 NEW TestClient 999999 0
2007 NEW TestUser DC 30 January 12 January 30, 12 NEW TestClient 999999 0
2004 NEW TestUser MC 30 January 12 January 30, 12 NEW TestClient 999999 0
2010 NEW TestUser VI 31 January 12 January 31, 12 NEW TestClient 999999 0
6 NEW TestUser AX 19-SEVEN. - 11 19 - SEPT. - 11 NEW TestClient 999999 0
2045 NEW TestUser VI 2 February 12 February 2, 12 NEW TestClient 999999 0
2020 NEW TestUser DS 1 February 12 February 1, 12 NEW TestClient 999999 0
2011 NEW TestUser AX 31 January 12 January 31, 12 NEW TestClient 999999 0
2012 NEW TestUser AX 31 January 12 January 31, 12 NEW TestClient 999999 0
2046 NEW TestUser VI 2 February 12 February 2, 12 NEW TestClient 999999 0
2138 NEW TestUser AX 26 July 12 July 26, 12 NEW TestClient 999999 0
However, after I compile and run the Sp that has the MERGER, data still looks like this...
Here is the data in the table _TST
2044 TestUser AX 2 February 12 February 2, 12 TestClient 123456 9876
2007 TestUser AX 30 January 12 January 30, 12 TestClient 123456 9876
2004 TestUser AX 30 January 12 January 30, 12 TestClient 123456 9876
2010 TestUser AX 31 January 12 January 31, 12 TestClient 123456 9876
TestUser AX 19-SEVEN 6. - 11 19 - SEPT. - 11 123456 9876 TestClient
2045 TestUser AX 2 February 12 February 2, 12 TestClient 123456 9876
2020 TestUser AX 1 February 12 February 1, 12 TestClient 123456 9876
2011 TestUser AX 31 January 12 January 31, 12 TestClient 123456 9876
2012 TestUser AX 31 January 12 January 31, 12 TestClient 123456 9876
2046 TestUser AX 2 February 12 February 2, 12 TestClient 123456 9876
2138 TestUser AX 26 July 12 July 26, 12 TestClient 123456 9876
Here is the data in the table _SQL
2009 NEW TestUser DS 31 January 12 January 31, 12 NEW TestClient 999999 0
2044 NEW TestUser VI 2 February 12 February 2, 12 NEW TestClient 999999 0
2007 NEW TestUser DC 30 January 12 January 30, 12 NEW TestClient 999999 0
2004 NEW TestUser MC 30 January 12 January 30, 12 NEW TestClient 999999 0
2010 NEW TestUser VI 31 January 12 January 31, 12 NEW TestClient 999999 0
6 NEW TestUser AX 19-SEVEN. - 11 19 - SEPT. - 11 NEW TestClient 999999 0
2045 NEW TestUser VI 2 February 12 February 2, 12 NEW TestClient 999999 0
2020 NEW TestUser DS 1 February 12 February 1, 12 NEW TestClient 999999 0
2011 NEW TestUser AX 31 January 12 January 31, 12 NEW TestClient 999999 0
2012 NEW TestUser AX 31 January 12 January 31, 12 NEW TestClient 999999 0
2046 NEW TestUser VI 2 February 12 February 2, 12 NEW TestClient 999999 0
2138 NEW TestUser AX 26 July 12 July 26, 12 NEW TestClient 999999 0
-
How can I put more than one value in a variable?
Hi, very new for PLSQL, but someone could please help with this problem?
If I do the following, it works fine:
Select salary, the name of employers where salary = (select max (wages) of employers);
But if I do it in PLSQL im stuck in how you allocate 2 values in a variable.
I can do the following using fair pay:
declare
v1 varchar2 (30);
Start
Select salary in v1 of employers where salary = (select max (wages) of employers);
end;
However, if I try to select salary, name in v1 of employers where salary = (select max (wages) of employers);
I get the following error:
ORA-06550: line 65, column 31:
PL/SQL: ORA-00947: not enough values
ORA-06550: line 65, column 4:
PL/SQL: SQL statement ignored
Thank you very much
Thank you very much this is the answer - incredibly fast response!
Edited by: 882839 01-Sep-2011 08:51select salary,name into v1 ....
You cannot select two columns and put them in a variable. You must have two variables to store two values.
Like this:
declare v1 varchar2 (30); v2 employers.name%type; begin select salary,name into v1, v2 from employers where salary = (select max (salary) from employers) ; end;
-
APEX: Triggerv Script updates more than necessary
I have a table with numerous editable fields, with a script simple trigger below.
Intend is so the user updated Q1, Q2, Q3, Q4, and then the trigger updates the date 'LASTMODIFIED '.
The trigger works very well and I was very happy, but I noticed that in other areas (e.g. the 'comment' field)
When they are updated, they also trigger the 'LASTMODIFIED' to be updated, despite putting me specific conditions, as shown.
Question in mind is, I use the trigger in the right way?
If so, then what can I do to end so that the trigger does not update the other fields?
so I use "else if"; I don't think that is to enable the trigger.
create or replace TRIGGER "MyTable_BIU_TRG".
BEFORE THE INSERT OR UPDATE
ON MyTable
FOR EACH LINE
BEGIN
If
: NEW. Q1! =: OLD. T1 or: OLD. Q1 is null or
: NEW. Q2! =: OLD. T1 or: OLD. Q2 is null or
: NEW. Q3! =: OLD. T1 or: OLD. Q3 is null or
: NEW. Q4! =: OLD. T1 or: OLD. T4 is null
then
: NEW. LASTMODIFIED: = SYSDATE;
END IF;
END;
Help, please!
Colon, as in the documented example no.
CREATE OR REPLACE TRIGGER print_salary_changes
BEFORE ON DELETE or INSERT or UPDATE employees
FOR EACH LINE
WHEN (NEW.job_id <> 'AD_PRES')-don't print information on the President
DECLARE
-
Not able to use 'IN' for the values of more than 1000...
Hello
In a query select im not able to use "IN" for more than 1000 values.
but my data are values about 4000. my query is like this:
Select * from table where id in (1, 2, 3, 4, 5, 6,... up to 4000');
error:
ORA-01795: maximum number of expressions in a list is 1000.
Google would this error but not getting not correct answer.
is there a solution for this [help me.
Edited by: 887268 December 3, 2011 12:51 AMas suggested, you need a way to submit your literal string as a type of data (not a varchar2 data type) clob maybe write a package containing a pipeline function that accepts your string literal as parameter clob and returns a collection for your select columns to finally call it
Select * from table (your_package.your_function (your_string_list))Concerning
Etbin
Maybe you are looking for
-
Where can I find a standalone installation package, and not the current upgrade stub?
My home connection is dial-up and to download an 'upgrade' of 40 MB solution would take about 2 hours. I use a public computer with free broadband to download the installation packages of all the software that I use. I can record these packets to a f
-
Want K204TX: HP wants to show me a white line on a white background
Since I got this laptop, everything I've had there are problems, and HP has never been able to solve a simple problem. It's as if the guarantee is completely meaningless. They failed even to replace defective parts, and still less replace the entire
-
T400 + Advanced cradle: hang on power failure
My T400 crashes if the cut of the power supply while she is sitting at the dock (dock mini adv.). I saw this kind of problems with T60 on this forum, but not with T400. Anyone encounter the similar problem?
-
SolutionCenter.msi popup at startup of the HP Solution Center
This just started today: When I start the computer installation popup appears, then a msg saying something to the effect that it cannot find the path to solutioncenter.msi and asking for me to navigate to find. Sometimes when I start HP Solution Cen
-
Reinstall Windows 7 Ultimate 64 b with new 1 TB HARD drive
My old HDD crashed, got a new Toshiba 1 TB HARD drive. I had to change the BIOS disk HARD RAID on AHCI setting because the new drive has Advanced Format, in order to install Windows 7. My question is should I have new BIOS RAID in order to have fully