A column of report need to keep data for one row only

Hey guys,.

I have a report that has a column that links to another page in my APEX application.

There is a requirement where only the lines of this report needs to have a link so I need the column to display the link of the page for a line and one line only.

Is the report will have about 5 rows at a time so a way to just this link appear for the line after line (this will be the top line) in the column of attirbute in APEX? or is it possible in SQL code for the report?

Any help is very appreciated

Thank you
-Mark

Hello

The only way (I think) to do this is in the SQL code. Then you wrap just the column in a CASE statement and if it meets your criteria then build the link, and if not then display normally.

Something like that...

SELECT ename,
       CASE WHEN empno = 7839
       THEN ''||empno||''
       ELSE TO_CHAR(empno)
       END empno
FROM emp

See you soon

Ben

Tags: Database

Similar Questions

  • Getting the error "the device reported unexpected or invalid data for a command. (oxC0AA02FF) when you try to create the system repair disc

    original title: error 0xC0AA02FF

    I try to use a "USB" "cruzer" to create a disc repair system, but when I click on this drive to create it I get the following error message:

    "The device reported unexpected or invalid data for a command.  (oxC0AA02FF)

    Hello

    What method did you follow to create the system repair disc?

    I suggest you to create the system with different USB repair disc and check if it helps.

    Means all try the methods and check them off below if it helps.

    Method 1:

    Try to put the computer in a clean boot state, and then check if it helps.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: After troubleshooting, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

    Method 2:

    I also suggest you to perform check disk (chkdsk) on the computer and see if it helps.

    http://Windows.Microsoft.com/en-us/Windows7/check-a-drive-for-errors

    Note: You may lose a small amount of data while performing the check disk.

    I also inform you that the data on the USB key will be lost. You should take a backup.

    You can also check with the reference article below:

    http://Windows.Microsoft.com/en-us/Windows7/create-a-system-repair-disc

  • Need some sample data for the practice of obiee

    Hi all
    I installed OBIEE 11.1.1.5 using SQL SERVER 2005.
    Can someone help me on some examples of data for purposes of that practice sampleapplite

    Thank you
    SatyaB

    Satya done!

    Rgds,
    DpKa

  • selection of data for one day

    Hi all

    I want to choose data inserted into the table for the day only.

    Name of the table-> ADJ

    I want to choose the COLUMNS are

    Account_no-> number datatype

    TRANSACT_DATE - DATE NOT NULL


    I wrote the following query. Is the correct query below.


    select  account_no,to_char(TRANSACT_DATE,'DD-MON-YYYY HH24:MI:SS') T_date from adj
    where to_char(TRANSACT_DATE,'DD-MON-YYYY HH24:MI:SS') between
    to_char(TRUNC(sysdate),'DD-MON-YY hh24:mi:ss') AND
    to_char(TRUNC(sysdate+1)  - 1/86400,'DD-MON-YY hh24:mi:ss');
    

    Or, if there is an index on transact_date you want to use...

    SELECT account_no, to_char (TRANSACT_DATE, "HH24:MI:SS MON-DD-YYYY) V_DATE
    OF Wo
    WHERE transact_date > = trunc (sysdate)
    AND transact_date< trunc(sysdate)="" +="">

  • How to map the entered value of attribute column to another attribute in the table for each row.

    Hi Experts ADF,

    JDev 12 c.

    I create a button and a table below. If the user clicks on the button create, I invoke CreateInsert. The new line now appears as an editable fields.

    So I suppose I have a column that is displayed in editable mode. If the user enters values in that. Has another column B whose value is not displayed in the UI must have the same value as the column.

    This occurs for each row added. During the click on save if user entered 2 in column A, then the value in column B must be same 2.

    Thank you

    Roy

    There is more than one way, for example:

    Generate ViewRowImpl Java class (with generate audited accessors) you will get for an attribute setter.

    Change the Set accessor to set the attribute B (IE, calling setAttribute ("B", value)) after setting a value

    OR, write valueChangeListener for inputText representative and set the B attribute to the same value

  • Need help on Date for report BEEP settings

    Hello

    I need to add a parameter date in my BEEP report. I used a date parameter on a BEEP report that has one for each grouping, but my RTF report BEEP pattern that has been converted to Actuate do not have a grouping for each, and I was getting an error when I validate the RTF model. Can someone please?

    Thank you

    see the example of model I sent let me know.

  • change table 1 d of data for a row to a column

    Hi all

    This can be a very simple question, but im trying to take two 1 d of data tables, put them in a table and this table to be 1 column so it looks neat in a table.

    Thank you

    You will probably need to transpose the array, because the array build function will add lines. This will give you columns you want:

  • Need me an adapter for one SSD 2.5 "?

    Hello

    From the manual T500, looks like an adapter is necessary when installing a SSD drive. It is also necessary if I get SSD Intel X - 25 M which is 2.5 "?

    --

    No adapter necessary.

  • You will need to keep download CS5?

    I have the CS6 design premium Installer... is it necessary for me to cling to the installer CS 5? My goal is to free the 5 GB, if I don't need to keep it for a reason, as for the upgrade. CS6 install easily, from its own Installer, of course...

    Thank you!

    w

    Keep the old versions of the ID in particular is a good idea, in my opinion. If you need to work with someone else who doesn't have the current version, or you make minor changes in a book, you'll be glad you did.

  • Data for an empty value in a report formatting

    Hello world


    I've created a report of a region with four measure. In this report, I have no data for some areas. But still I want to display "Zero" instead of the empty value.


    Please any one help me for that matter.

    Scenario is:

    A B C D

    US 12 23 0
    UK 34 56 in white
    White Asian 67 67



    Concerning
    REDA

    Jin
    With the HELP of Filter (IFNULL(MEASURE_NAME,0) cal_month between ' 2009 - 04 - 01 00:00:00.000' and ' 00:00:00.000' 2009-12-01)

    If you found this useful award of points

    Thank you
    Angelique

  • Launch date for Cisco switches

    Hello

    I need the launch date for the following products:

    Cisco SB SG200

    Cisco SG300 SB

    Can anyone provide this information?

    Thank you

    Tiziana

    Wrong forum, post in "small business switches. You can move your ad with the Actions Panel on the right.
  • Best way to migrate data from a store of data to a ROW

    Hi all

    I have a maybe simple question.

    I have some SQL clusters to customers that are not configured by the best practices of VMware.

    They are running ESX 4.0 with vCenter 5.0 u2 u2

    Some of them are running two nodes on the same ESX, some of them have mixtures of RDM and data warehouses and LUNS are connected by mixtures of policies of multiple paths.

    I can make changes to the MPP and the separation of the knots without problem, but I was wondering if anyone has recommendations for the data transfer of any store of data that exists in a ROW?

    Obviously if it is possible I would disconnect the data store, add as a RDM again but is it ok to do?

    Are there catches hidden here?

    If this possible isn´t would I need to create a new drive as a vMotion RDM and the storage of the data between the 2?

    I Don t need to migrate data for the operating system, the data on disks, so I can use storage vMotion for this or it would be better to run VMware converter?

    Someone at - it advice or recommendations?

    Thanks in advance

    Mark

    Obviously if it is possible I would disconnect the data store, add as a RDM again but is it ok to do?

    Are there catches hidden here?

    If this possible isn´t would I need to create a new drive as a vMotion RDM and the storage of the data between the 2?

    I Don t need to migrate data for the operating system, the data on disks, so I can use storage vMotion for this or it would be better to run VMware converter?

    Someone at - it advice or recommendations?

    Thanks in advance

    Mark

    You can't add the data store to a server asa RDM because the data store is in VMFS format.

    you could use vmware converter or restore backups to place the data on the rdm.

  • When I try to change the interactive report columns, then triggers the error: "unable to change column attributes. "ORA-01403: no data found. Pls tell me why?

    When I try to change the interactive report columns, then triggers the error: "unable to change column attributes. "ORA-01403: no data found. Pls tell me why?

    You use listener EA3 ADR?

  • Need help! Impossible to validate the duplication of date for a tabular column

    Hi all

    The validation that I created to validate whether news or updates of lines do not overlap with all records in the table does not work.

    The columns are StartDt and EndDt

    Type of validation: does NOT EXIST

    Validation expression:

    Select 1

    sample S

    WHERE S.STARTDT BETWEEN: STARTDT AND: ENDDT

    OR (S.ENDDT BETWEEN: STARTDT AND: ENDDT)

    or (S.STARTDT < =: STARTDT and S.ENDDT > =: ENDDT)

    or (: STARTDT < = S.STARTDT and: ENDDT > = S.ENDDT)

    Error message:

    Time overlap

    When you press buttons

    - Select the button-

    I use APEX 4.2.2

    The following illustration shows the different scenarios and result based on the validation that I created

    TABLE SHOWS THE FOLLOWING RECORDS

    NAME START DATE END DATE

    TEST 2012 12/31/1/1/2012

    TEST 2 1/1/2013 12/31/2013

    TEST3 2014 12/31/1/1/2014

    SCENARIO 1: User submits a contract which starts from February 2012 to may 2012

    contract/2/1/2012-5/1/2012

    RESULT: The user will experience a mistake because the dates are between 01/01/2012 and 31/12/2012

    SCENARIO 2: User submits a contract which starts from February 2012 to may 2014

    contract 2/1/2012-5/1/20124

    RESULT: The user will experience a mistake because the dates are between 01/01/2012 and 31/12/2014

    SCENARIO 3: User changes 'test' 01/01/2012 & 31/12/2012 01/01/2012 to 31/05/2012

    test 2012 5/21 / 1 / 1 / 2012

    RESULT: The user will experience an error. In this scenario, I don't want the user to an error message.

    Hello

    If: startdt,: enddt, s.startdt, and s.enddt all have the same type of data, then is the best way to see if the beaches are superimposed

    : startdt<= >

    AND: enddt > = s.startdt

    If a beach ends at the time specific as it begins, do you feel that overlapping?  If this is not the case, remove the panels = inequality operators.

    This includes: startdt<= :enddt,="" and="" s.startdt=""><=>

    I hope that answers your question.
    If not, post a small example data (CREATE TABLE and only relevant columns, INSERT statements) for all of the tables involved and also publish outcomes from these data.
    Explain, using specific examples, how you get these results from these data.
    If the problem is with the parameters (such as: startdt and: enddt) and then give a couple of different sets of parameters and the resutls you want from the same data of sample for each game.  Exactly show you how to set and adjust the settings.

    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: https://forums.oracle.com/message/9362002

  • How to select columns, that we need a table with pivot

    Hello

    How can I select only the required columns that I need the table

    My goal is to keep everything in one line

    Database: 11.2.0.2.0

    I have a table called Table Agent

    create the table AGENT_DETAIL

    (

    agent_id NUMBER (20) not null,

    agent_type_code VARCHAR2 (10) not null,

    agent_type_prefix VARCHAR2 (10) not null,

    Type_Code VARCHAR2 (10) not null,

    type_prefix VARCHAR2 (10) not null,

    last_modified DATE not null

    )

    INSERT INTO agent_detail VALUES

    (29709, ARE ',' OFFICE ',' DNSWEB ',' AGTDETAILS', SYSDATE);

    INSERT INTO AGENT_DETAIL VALUES

    (29709, ARE ',' OFFICE ',' DNSNATID ',' AGTDETAILS', SYSDATE);

    INSERT INTO AGENT_DETAIL VALUES

    (29709, ARE ',' OFFICE ',' DELIVERY ',' AGTDETAILS', SYSDATE);

    INSERT INTO AGENT_DETAIL VALUES

    (29709, ARE ', 'OFFICE', "WEBUSAGE", "WEBUSER" SYSDATE);

    When you query it against the table

    SELECT * FROM AGENT_DETAIL;

    AGENT_IDAGENT_TYPE_CODEAGENT_TYPE_PREFIXTYPE_CODETYPE_PREFIXLAST_MODIFIED
    129709REOFFICEDNSWEBAGTDETAILS22:14:15 12/09/2015
    229709REOFFICEDNSNATIDAGTDETAILS09/12/2015-22:15:26
    329709REOFFICEDELIVERYAGTDETAILS09/12/2015-22:21:37
    429709REOFFICEWEBUSAGEWEBUSER10/12/2015-09:27:52

    Because my goal is to put everything in a single line instead of get in 4 rows

    My query is like that

    (select *)

    the Dungeon of pivot (min (TYPE_CODE) AGENT_DETAIL (last dense_rank command by LAST_MODIFIED) for TYPE_CODE in ('DNSWEB' as the WEB)

    'DNSNATID' as

    NATIONAL,

    'DELIVERY' AS

    DELIVERY,

    "WEBUSAGE" AS WEBUSAGE

    )

    ))

    Result:

    AGENT_IDAGENT_TYPE_CODEAGENT_TYPE_PREFIXTYPE_PREFIXWEBNATIONALDELIVERYWEBUSAGE
    129709REOFFICEWEBUSERWEBUSAGE
    229709REOFFICEAGTDETAILSDNSWEBDNSNATIDDELIVERY

    Is it possible to get everything in one record, I know that I have two type_prefixes different (WEBUSER, AGTDETAILS)

    But all I want to see my data is like this

    Agent_id Agent_type_code Agent_type_prefix WEB WEBUSAGE NATIONAL DELIVERY

    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    RE OFFICE DNSWEB DNSATID DELIVERY WEBUSAGE 29709

    Hello

    When you use SELECT... PIVOT, the result set contains 1 row for all the distinct combinations of the values of all columns except columns mentioned in the PIVOT clause.  If you want to ignore some columns completely, then let the PIVOT operated at a "table" that does not include the.  For example:

    with RELEVANT_AGENT_DETAIL as

    (

    Select AGENT_ID, AGENT_TYPE_CODE, AGENT_TYPE_PREFIX, TYPE_CODE, LAST_MODIFIED

    of AGENT_DETAIL

    -where--if you filter, put it here

    )

    Select *.

    of RELEVANT_AGENT_DETAIL

    Pivot (min (TYPE_CODE) Dungeon (last dense_rank command by LAST_MODIFIED))

    for TYPE_CODE in ('DNSWEB' as WEB

    'DNSNATID' as NATIONAL

    'DELIVERY' as DELIVERY

    "WEBUSAGE" as WEBUSAGE

    )

    )

    ;

    If you are lazy or trying to be cute, maybe you can give the columns unwanted some lazy jobs in the PIVOT clause, like this:

    Select *.

    of AGENT_DETAIL

    Pivot (min (TYPE_CODE) Dungeon (dense_rank last order by LAST_MODIFIED)

    TYPE_CODE

    TYPE_PREFIX

    )

    for TYPE_CODE in ('DNSWEB' as WEB

    'DNSNATID' as NATIONAL

    'DELIVERY' as DELIVERY

    "WEBUSAGE" as WEBUSAGE

    )

    )

    ;

    But this makes the code confusing and may be difficult to maintain.

Maybe you are looking for