Add a button(not a link) in each row of a report

hi,
i need to add a button(not a link) in each row of a report. On clicking this button , the value in a specified column in database should change from yes to no.
How can i achieve this funcationality. I am using apex 4.2.
Please help!

I used the images in the report region query,
select
EMPNO,
ENAME,
JOB,
MGR,
HIREDATE,
SAL,
COMM,     
DEPTNO,     
decode(IS_COMM,'Y','<a href="#" onClick= javascript:pdelete('||a.EMPNO||');><img src="#WORKSPACE_IMAGES#remove.gif" alt=""></a>','N','<a href="#" onClick= javascript:padd('||a.EMPNO||');><img src="#WORKSPACE_IMAGES#value_ok.png" alt=""></a>','<a href="#" onClick= javascript:padd('||a.EMPNO||');><img src="#WORKSPACE_IMAGES#value_ok.png" alt=""></a>') check_comm
from
test_emp aChanged the check_comm -> Display Text As as Standard Report Column. Created two items to save the value of 'EMPNO'. Javascript code in the page header as below,
function padd(pSub)
     $s('P8_ADD',pSub);
    doSubmit('ADD');
function pdelete(pSub)
     $s('P8_DELETE',pSub);
       doSubmit('DELETE');
}Created the processes with condition like Request=Expression1 based on the REQUEST returned by javascript function.
Thanks
Lakshmi

Similar Messages

  • Putting buttons at the end of each row of a report

    Hi
    Was wondering if anyone new of a way to put buttons on the end of each row of a report. Basically i want a button and a LOV box next to the end of each row so that the user could set the value of the LOV box click the button and that would update just that row. Obviously i want to give them the option of batch processing it as well but for now i just want them to be able to update one row at a time.
    This does not nessacary need to be with a LOV box it could also work with radio buttons to specifiy the value to update.
    If anyone knows a way of doing this or any information where i can read about it then please let me know as i would be very interested.
    Or can you make report fields eidtable so that i can just run a massage update on the using all the values in the report?
    Thank you for your time
    Daniel Stead
    Message was edited by:
    Dan Stead

    No such luck a tabluar updat form shows all the rows for that table. I only want the user to be able to update their rows in the table.
    This is bascally what i want to do.
    I have two reports that only show records that are realted to the current user that is logged in.
    The first report shows all records in the table for the current user where the supervisor (the current user) type is set to confirmed.
    The second reprot shows all the records in the table for the current user where the supervisor (the current user) type is set to requested.
    That is what i have acheived so far.
    I want to be able to make the superviosr type in the second report editable with a list of values requested, rejected and confirmed. The user can then select what he would like the type to be for the specific record in the report and then press a button that updates all the reocrds (or a button at the end of each row that updates each row). If the row is confirmed it moves to the first report, if it is still requested it stays in the second report and if it is set to rejected then it will be in neither report.
    Therefore my question is if i make the supervisor type eidtable how can i link it to the id of that row so that it updates it?
    If this is not clear please state to me which part i have not made clear.
    Thank you for your help.
    Daniel Stead

  • Creating a mailto: link on each row in a report

    Hello,
    I built a simple Portal address book report using the wizard.
    Now I would like to be capable of sending an email clicking over
    the emailaddress column of any row of my report. How could I do
    it ?
    Thanks,
    jose.

    Hi
    Affraid you'll have to rebuild your report from a wizard report
    to one based on a SQL statement, since we need some
    concatenation to glue the pieces together:
    1. Create report based on SQL query
    2. select '<a href="mailto:' || ename ||">' || ename || '</a>'
    Name, job from SCOTT.EMP
    - We concat the start of the tag with the column holding the
    email-address: <a href="mailto:' || ename ||">'
    - Then we have to include the same column (ename) again, this is
    the value actually shown in your report
    - Then we concat the rest of the tag: '</a>'
    - Then we have to give a column alias ( Name), the report would
    have problems to use the whole string as a column heading.
    3. On Tab 'Column formatting', switch property 'Display as' to
    HTML.
    Finished....
    Hope that helps
    Tino

  • Apex 4.0 how to add a button to each row of a report

    Hi Everyone
    I have to a requirement where i need to add a button or link to each row of report dynamically and when a user clicks on it region has to display a region below.
    For example displaying report in region 1 and when a user clicks the link or button the region 2 has to appear based on the condition.
    Report display details of employee , employeename, emp no, manager, depto, sal,feedback and if the feedback is filled then the link should not appear and if feedback is not filled and the link or button should appear beside that row and allow the user to click and when it is clicked it has to show region 2 .
    I am new to Apex, please help me out how to do this.
    Thanks in advance
    Regards
    Sandeep

    Step 1:
    Add a new item to set ID principal in report 2. ex. "P2000_ID" (maybe hidden item)
    Step 2:
    in report 1 section "report Attributes" section "Link Column"
    -> Link Column = Link to Custom Target
    -> Link Icon: Select some Icon link.
    -> Target: Page in this Application
    -> Page: same page ex. 2000.
    -> Item 1: "Name" = select Item created (step 1) "P200_ID" "Value" = #NAME_OF_ID_COLUMN_IN_REPORT_1#
    -> Apply Changes
    Step 3:
    Create query to report 2
    Ex.
    select *
    from
    TABLE2
    where
    ID=:P2000_ID
    -> In Report2 condition
    * Condition Type = Value of item in Expression 1 Is NOT NULL
    * Expression1 = P2000_ID

  • We have been having a problem with newsletters for a client. The newsletter works fine except if we add a button and/or link to the top zone on that newsletter it blows up ONLY ON iPhones!

    We have been having a problem with newsletters for a client.
    The newsletter works fine except if we add a button and/or link to the top zone on that newsletter it blows up ONLY ON iPhones!
    This happened last month too. It seems to be related to length of the newsletter too. It works on every device except iPhones - so weird.

    Hi, is anyone else experiencing i-phone only problems on email campaigns? not bashing Apple, just having issues where our newsletter are only having issues on iPhones

  • Extra buttons on each row of a report?

    Hi,
    I would like to add multiple buttons in front of each row in a report.
    When a button is pressed a Pl/SQL statement should run with access to the PK ID of that row.
    Also, it is important that I can add other buttons as well (edit, delete etc)
    What I want to accomplish, for example:
    I want to have an ‘add event’ button on each line of a ‘scheduled production run’, this should then branch to a new page on which first a hidden item (set to pk id) and visible item (pk info) is set to those of the row on which the button was pressed.
    I hope that makes sense.
    Please let me know how I can to do this,
    Thank you so much for any help!!!

    open the page, click the RPT link to the report column attributes of that region. choose the field you wish to alter (click the edit icon) then change under the "column link" section to an href. I have used a call to a javascript function in the URL box e.g. "javascript:show_the_page(#ADD#);" and included a javascript function within my app to handle this (read in PK and open a page in a new window with the PK as a variable)

  • 3 radio buttons is needed on each row of a report

    Hi,
    I need 3 radio buttons on each row of a report. Out of these three , one can be selcted per row. And in each column I can select more then one radio button.
    Please provide a way to do the same.
    Thanks

    open the page, click the RPT link to the report column attributes of that region. choose the field you wish to alter (click the edit icon) then change under the "column link" section to an href. I have used a call to a javascript function in the URL box e.g. "javascript:show_the_page(#ADD#);" and included a javascript function within my app to handle this (read in PK and open a page in a new window with the PK as a variable)

  • Prompting user for input for each row in the report

    Is it possible to have a user entered field for each row in a report ?
    ie. have a report with empolyee number, employee name, title, salary, and comment. Select of of these columns from the SQL query except for the comment, and then when the report is generated have the user be prompted for what the want the comment to be for every employee in the report?

    That is, have the user generating the report enter in a different comment for EACH employee. (ie Joe Smith's comment is "good worker and John Smith's comment is "come to work late on Tuesdays and Thursdays", Sally Jones' comment is "Expert in C++" etc.) as the reports is being built for each row returned from the query.

  • Add Content button not rendered inside Portlets on edit mode

    Hi,
    I have a requirement where administrators will add some external content(Add content) either from taskflow or portlet and that external content (along with taskflow output) will be shown to the users based on some logic performed inside the taskflow/portlet bean code.
    This PanelCustomziable should render AddContent button inside the portlet when pressing ctrl shiftE, but its no doing so? Where as the same PanelCustomizable renders AddContent button inside the taskflow on edit page? Any settings or changes needs to be done to make it work in porlet when consumed in portal?
    a)taskflow cannot be selected for this purpose, as there will be only a single instance of the taskflow across the portal and it cannot retain runtime MDS changes to a specific instance (Unless we design the ADF taskflow with MDS customization layer). By default, any runtime change in one taskflow instance will be propagated to all the other taskflow instances of the portal.
    (For eg.. Admin drops this taskflow onto a page1 and adds a image(external content) using the button AddContent inside the taskflow because of PanelCustomizable and close the page. He drops the same taskflow from RC only to find that the changes he done on page1 is being retained here ..its not resuable because of no MDS per instance)
    So we selected Portlet for this purpose, as it has the inbuilt personalization framework. Admin can personalize each portlet instance and drops on the the same page and diff page again. But with portlets, Add Content is not rendered.
    Its not just external content, the taskflow / porltet has some logic to perform and displays some output based on the ruleId which is the input parameter.
    Taskflow or jsff code
    ==================
    <cust:panelCustomizable id="pc1">
    <cust:showDetailFrame text="rules content" id="sdf1"
    shortDesc="rules content">
    <af:panelGroupLayout id="pg1" >
    <af:outputText label="RuleId" id="ot1" clientComponent="true"/>
    </af:panelGroupLayout>
    </cust:showDetailFrame>
    </cust:panelCustomizable>

    Can you please post this question to weblogic.developer.interest.portal
    newsgroup.
    Thanks
    "Lodewijk Spijker" <[email protected]> wrote in message
    news:3f165945$[email protected]..
    Hi,
    i am using Workshop 8.1 (GA release july) and i have discovered a bug (ora
    feature) with respect to the beta version.
    i have created a simple portlet with a view mode and an edit mode. When i
    place the portlet on the very first page of a one book portal, it works
    perfectly. However, i have a book with three pages and placed the portleton
    the second page. Now when i put the portlet in edit mode, by clicking the
    edit button, i am directed to the first page of the portal and the portlet
    will not show.
    Inspection learned that the URL generated for the edit button, didn't
    contain the _pagelabel parameter. When i added the parameter manually it
    works fine.
    A final remark is that the buttons in the titlebar have no icons thebrowser
    can load.
    hope someone can help me out,
    Lodewijk

  • Add comments button not visible for IE and firefox users?

    hi.. i've used iweb 06 v 1.1.2 to create a small website and blog, with 'add comments' buttons on the blog pages. when i view my website from my own laptop with safari i can see and use the add comments button, but when i view the website from pcs running internet explorer, or from my own or another mac laptop running firefox the add comments buttons are not there. any ideas why this should be and how i can solve it?
    thanks in advance for any help!

    does anyone have any ideas on this one? still can't seem to get comments to work for explorer and firefox/mozilla users although safari is ok.
    thanks!

  • Add call button not present when in active call

    Hi all,
    I have a MacBook Pro (the latest one with Yosemite 10.10.2). I dont have an iPhone so no integration has been done. I was watching Modern Family - "Connection Lost" episode and I saw Claire adding another call when she was in a Facetime video call.
    But I dont have a green color "Add Call" button on the top right in my device. I searched online and found info similar to what she did like "End current call and answer" or "Accept call" options when another call comes in. But I cant find these in mine.
    Can someone help me out with this?

    Salim,
    In APEX 4.0 we moved the server-site add-row functionality to a client-site implementation, i.e. instead of having the page be reloaded every time you add a row, this is now done on the client without reload. Tabular forms that were created prior to 4.0, but then upgraded to 4.0 or later, keep the original server-site add row function, unless they are manually upgraded.
    Not sure why your tabular form might have stopped working, but if you could install your app on apex.oracle.com, I'd be happy to take a look. In general though, I would recommend manually updating your old tabular forms to use the client based add row feature. To do this, just edit the add-row button, and change the button action from "Submit Page" to "Redirect to URL" and as the URL Target, enter "javascript:addRow();". That's all. You could also delete the add row page procress, and the MRU process that was associated with the add row button, because they are no longer needed nor used.
    Regards,
    Marc

  • Add Command button not in the Database Expert: VS2003

    We are using VS2003 and the bundled version of Crystal Reports.  We have no plans of upgrading right now, unless we have to. What I'm trying to do should be simple...
    We have an existing report that lists incomplete orders, including invoice# and items in the order.  One of the possible order items is "MISC", however, that is not descriptive, so I am trying to add a SQL query that will look up the actual MISC item text based on Invoice # (one of the fields in the report).  I was trying to do this via a subreport.
    The help file and this Youtube video ( [Crystal Reports Tutorial Creating SQL Commands| http://www.youtube.com/watch?v=BHNHsIUbcn8]  ) suggest the way to do this is to click "Add Command to Report" from the Database expert, which will let me add my own SQL command.
    However, "Add Command" is not visible, and I cannot get it to appear.   Under what circumstances would it be hidden or disabled?  How do I get it to appear so I may add a custom SQL item to the existing report?
    Any help is greatly appreciated.   Thank you in advance.

    Not possible with your version of CR. You'd have to upgrade to the current version of Crystal Reports (12.x).
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Add Attachments button not working

    Hi,
    I have added an attachmentTable item to my OAF region. I have followed step 1, 2, 3, 4, 6, 7, 8 in the OAF user guide section "Enabling the Attachments feature for an Entiry".
    When I test my page, the attachmentTable renders fine on my page. However - when I try to press the "Add Attachments" button, I get a blank screen. The URL associated with the button seems to be my base page. I expected to be redirected to a standard Attachment flow page.
    I run my page locally from jDeveloper.
    Any ideas?
    Best regards, Søren Moss

    Update:
    This must have been a temporary problem on my own computer... because when I tried again this morning - without doing any changes - it is working fine :-)
    /Søren Moss

  • "add to" button not showing on itunes 11 for iphone

    i have no "add to" button showing in the in this iphone page on itunes 11

    The "Add To" button is to transfer music from your computer to your ipod/ipad/iphone...
    It will show after you did the autofill from your computer music files to your ipod. I know its confusing at first but try to look around for the autofill and transfer songs to your ipod/ipad/iphone and it will show the "Add To" button. "On this ipod" button I create a new playlist and drag songs from the album of my itunes.

  • "Add to" Button not Showing in iTunes 11

    For some reason the "Add To" button that's demonstrated in the iTunes 11 video doesn't appear in iTunes.
    I have my phone connected and I've clicked "On this iPhone" just like the video says to do. The button just isn't there at all?
    Is this a bug or how can I fix it?
    Thanks in advance

    In the On this Iphone page there is an Add to button at the top right. Clicking this then shows your library in the left hand pane and your phone in the right hand pane.
    Also you can click on View show sidebar then you can drag and drop to your iphone

Maybe you are looking for