Hide/Show Create button on a report/form page

Hi, I included one form and the related report on one page.
When I create a new record, it will show in the report below.
I make the ID column as the link, which assign the ID to the ID item in the form. DML will do the rest work for display.
However I got a issue. when I click the edit button for one row, the create button doesn't disappear. Although it has a condition of "VALUE OF ITEM IS NULL". I un-hidden the ID item and it do have value when I edit some row.
Is this because of some refreshing reason or...?
Your help will be great appreciated.
Edited by: Gadfly on 2009-3-16 下午8:02

BTW, this hide/show pattern of 'KEY VALUE is null' works well when I use two pages(one form and one report.)

Similar Messages

  • Hide/show a column in a report

    Hi,
    I'm actually looking for a solution to hide/show a column in a report (matrix form)in function of a parameter..
    Using the conditionnal formating propertie to hide a column (return false) works, but the colmuns in the right side don't move.. It's not very pretty..
    An other way could be to change the elasticity property of a column, and replace the data by "", but apparently, we can't access to this property by the srw command.
    I really need a solution, else I'll have to produce as many reports as I've to hide columns...
    Thanks a lot
    Best regards..
    DAvid
    null

    Hi,
    I use 'decode' in sql statement. If your sql statement is applicable to this,you may use it. So you can choose which columns you want to use and also you can concatanate columns to make them one column.

  • Where is hide/show toolbar button?

    Hello all,
    I have purchased Aperture as a retail package, and I am running Snow Leopard.  I have a "hide/show Toolbar" button in the upper left of the title bar, as indicated in the included screenshot.
    I used Aperture on a friend's machine, and he does not have the oblong "hide/show toolbar" button.  His OS is Lion with Aperture installed from the Mac Store.
    Does anyone have any ideas about why he would not have this convenient button, while I do?
    nathan

    Hello Nathan,
    if you want a button in the toolbar to toggle it on and of, you could do the following:
    Create an AppleScript to toggle the Toolbar on and off
    Save the script as an application
    Assign a nice icon to it, just like the drop of toothpaste, the button used to look like
    Drag the Apple Script to your Finder toolbar
    This AppleScript seems to toggle the toolbar - I have not done much testing so far:
    (* Toggle the Finder Window Toolbar , Autor LDF *)
    tell application "Finder"
      activate
              set wi to front window
              set vis to (get toolbar visible of wi)
              if vis then
                        set (toolbar visible of wi) to false
              else
                        set (toolbar visible of wi) to true
              end if
              return vis
    end tell
    The only problem is, you can easily hide the toolbar this way, but once the toolbar is hidden, you cannot turn it on again, since the button now is hidden , so you may wish to put a link to the script in the Dock as well
    Cheers
    Léonie

  • Need AS3 Widget Hide/Show Forward Button on Playbar

    I found an AS2 set of widgets that will Hide/Show each button on the Playbar.  I need this for AS3 for Captivate 5.5. 
    Some pages we want it and others we do not.
    Has anyone created this type of widget for AS3?
    Thanks!

    Hi Jo_Help,
    I've create an AS3 Playbar Widget that has the ability to enable/disable individual playbar buttons using actions.  If this is something you'd be interested in, please email me for a trial.  Jim AT Captivate Dev dot com.

  • Hide Change Layout Button in ALV report o/p for MB52 Tcode

    Hi,
    Is it possible to Hide Change Layout Button in ALV output for Report MB52 using authoriztaion.
    We have created a layout in which we are hiding some coloumns which the user should not see.
    But if the change layout button is active then the user can add those coloumns to output.
    Is this possible through authorizations. I want to avoid doing any chnages to the std sap program.
    Thanks & Regards,
    Fawaz

    Check the object S_ALV_LAYO

  • APEX 5: Problem displaying breadcrum (Create) button on interactive report

    Hello There
    I am trying to build a small app in APEX 5. I am taking the default 'Sample Database Application' (SDA) as an example for design.
    In SDA the interactive report of Customer a breadcrumb 'Create which is displayed on the top right corner. I am trying to replicate the same in my interactive report, but in vain.
    I have attached the printscreen for your reference. Could you please guide and advise me on how to get the same functionality of breadcrumb create button,etc same as in displayed in SDA into my custom app in APEX 5?
    Thanks a lot for helping me out
    Regards
    Don

    hi ,
    i had used like this .. it is working...
    *&      Form  USER_COMMAND
    FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
                            R_SELFIELD TYPE SLIS_SELFIELD.
      clear : v_flag.
      CASE R_UCOMM.
        WHEN 'DATA'.
    LOOP AT IT_TEMP.
         if it_temp-checkbox =  'X'.
              v_flag = 'X'.
              v_pernr1 = IT_TEMP-PERNR.
    *--Get compensation data and populate final internal table
              refresh it_fin.
              CALL FUNCTION 'Z_HR_COMP_STATEMENT'
                EXPORTING
                  PERNR = v_pernr1
                  BEGDA = s_date-low
                  ENDDA = s_date-high
                TABLES
                  FINAL = it_fin.
              if not it_fin[] is initial.
                delete adjacent duplicates from  it_fin comparing pernr.
                read table it_fin index 1.
                move-corresponding it_fin to it_final.
                append it_final.
                clear it_final.
              endif.
            endif.
         enddo.
    ENDLOOP.
          if not v_flag is initial.
    *------ display final data
            PERFORM final_display.
          else.
            message s000 with 'Select atleast one pernr'.
          endif.
      endcase.
    ENDFORM.                    "USER_COMMAND
    regards,
    venkat.

  • Disable/Hide the Refresh Button in Child report

    Hi All,
    Our Environment is BOXI-R2;
    We have a Master Report calling a Child Report (based on Open Document);
    Our requirement is to hide the" Refresh Button "in the child report Layout
    we tried using "hideRefresh=true"
    but the child report is not responding to the above clause
    Help us in this,
    if this is a BUG in XI R2, let us know the Service Pack details
    Thanks

    Joe , Thanks for your Inputs..
    our master report has the aggregated Measure , when the user clicks on this , it has to open a child report (with paramters from master report).
    We are aware of customizing "viewer.js " file (under BO install home) with "refreshDocIcon = null".
    But is this the only solution to hide the refresh button in the child report ?
    SInce its already a PRODUCTION environment, our customer won't allow to change the standard settings of the product.
    Thanks

  • Creating button in Acrobat 9 form that will email form

    Working on Mac:
    I have created a button in my Acrobat 9 pdf form that has the following action:
    Execute a menu item: File>attach to Email
    When I click on the button it will take me to my email where it is attached and I can send it to somebody. However my HR department works on a PC and it does not work when she clicks on the button. The Reset form and Print forms work fine.
    What can I do to make this work. I do not want a submit button because this form will be filled out by various people who will then email on to their supervisors. I just thought it would be easier for them to have a button to push.
    Thanks.

    The answer will depend on whether the form needs to work with Reader and maybe what version of Acrobat/Reader your users will have. If it needs to work with Reader, the form has to be Reader-enabled, which is an additional step you do as the final step in Acrobat before sending the form to your recipients. Exactly how you do this depends on the version of Acrobat you're using.
    The best approach for your button would be to use the mailDoc JavaScript method, which allows you to set the subject of the email, the recipients (including cc and bcc), and the body of the email. This has been discussed a number of times here before, so you may find more with a search. Post again if you can't find anything.
    You can also use a "Submit a Form" action or the corresponding submitForm JavaScript method, and specify the email address of the recipient using a mailto type URL. This is less flexible than using mailDoc, but is simpler so it may have its virtues.
    Also, not that when responding by email, private info you have in your email signature can get posted to the forum, which you may not want since it's open to the world. You also cannot attach files here, so if you want someone to be able to retrieve it, you'll have to post it somewhere else and provide a link, or get someone to send you their email address so you can send it that way.

  • Use embedded .swf to hide/show a button

    Captivate 4
    Flash CS4
    ActionScript 2.0
    Afternoon Fellow Captivators!!
    okay - so here's the thing, I have a custom interaction that i have built in Flash.  I want to force the user to go through this entire interaction before proceeding to the next slide.  The easiest way, in my eyes, to do this would be.
    1) Hide the "next" button, toggle it's "visible" to off
    2) The user then goes through the entire animation/interaction
    3) at the end of the interaction, the animation communicates with Captivate to now SHOW the "next" button - or toggle it's visibility to on...
    Does anyone else know of a way to do this - I've been looking through all of the Captivate variables, and don't see anything to toggle the visible option for it.
    Thanks for the help!

    If you want to accomplish this in Captivate 4, Paul Dehurst has a Widget that will do what you need.  He offers it for FREE at his site here:  http://www.raisingaimee.co.uk/index.php?option=com_content&view=article&id=113:hideshow-bu ttons-widgets&catid=31:captivate-4&Itemid=55
    If you use it, you might consider making a donation to him for his incredible work!
    The downside is that Paul has retired from Widget making and there is no update for Captivate 5.  Anyone want to take this development on for Cap 5?

  • JComboBox - Hide/Show Arrow Button

    hello all,
    im stuck. i want a jcombobox to have its arrow button hidden unless the mouse is over it
    rite now i have the jcombobox implenting the mouselistener . but i have no idea how to get the object to show/hide the arrow button. i read something about using the ComboBoxUI to hide the button but thatz pernament rite? unless i keep refreshing the ui whenever the mouse moves in or out of the object
    any advice will be greatly appreciated.
    thx

    Open src.zip with Winzip. Look at BasicComboBoxUI.java. Figure out what changes you need to make to make the button disappear. It probably can be done pretty easily if you pick the right spot to change. But don't change BasicComboBoxUI.java. Write your own class that extends BasicComboBoxUI and override the method you picked to change. You may end up rewriting the whole method or just calling super.whatever() and then tweaking.

  • APEX Hide/Show Keep Expanded or Collapsed Upon Form Submit

    Hello all,
    I have a hide/show region that I'd like to keep expanded after clicking expand, entering something in a search entry box and clicking "Go". When the page refreshes, with the report results, I'd like the hide/show region to remain expanded. And I don't want it to collapse unless the user explicitly collapses it.
    I tried working with Carl Backstrom's Sticky Hide/Show code but I'm afraid that
    A) It seems to have been designed to work well with multiple pages (which I'm not necessarily trying to do ... I've only got one page I'm working with in this instance), and
    B) Template 20 (the one I am working with) seems to be somewhat (very?) different from Template 18 (the last template I see that Carl provided example edits for).
    So ... has anyone else tried this? Or is there a website or blog entry or forum thread I could look at that would provide me with the starting point for the direction I'd like to go with this?
    Any information or advice you can provide would be most appreciated.
    Kind regards,
    Melanie

    I have the same issue - did you ever come up with a solution?
    Thanks, Stephen

  • Creation of Report+Form pages

    HI all,
    In [Building an application using APEX OBE|http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/devdays2012/apexp1_lab/apexp1_lab.html] when create the app, creates pages too, and one of them (well, 2) is a Report+Form.
    I tried to search this in my actual application created. But I only found, Form, and Report, but not both.
    There are some way to automatize the creation of this 2 pages, like Application Wizard does?
    Regards.

    GiuseppeL wrote:
    There are some way to automatize the creation of this 2 pages, like Application Wizard does?Yes. From the application home page click Create Page > Form > Form on a Table with Report, then follow the wizard.

  • Highlighting currently selected row in a Report-Form page

    Hi,
    I have a page with Report - Form layout. On the top of the page there is a classical report (not IR). When the user click a row then I display a detail form below it. It would be nice if I could highlight the row the user clicked last time, to indicate to which row the detail data below the report belongs to. Did any body do something similar?
    Regards, Tamas

    It's relatively simple to achieve this—without JavaScript—using a named column report template and CSS:
    http://apex.oracle.com/pls/apex/f?p=34839:27:0
    We'll assume a page item (or items) already exists for receiving the master row primary key value(s). In the example this is P27_DEPTNO. Give the master report region a static ID for use in CSS selectors. Here this is department.
    If the master primary key value(s) are used as links in the report, then [column link] columns need to be created to replace them in the report attributes.
    Create a named column report template as required by your report query, including an HTML ID attribute for the report row element that contains column references to the primary key value(s). Replace column references in the row template for any primary key link columns with the [column link]s created previously. In the example, [column link] (ref #4#) replaces DEPTNO (ref #1#) as we need to reference the original DEPTNO value in the row ID:
    Row Template
    <tr id="dept-#1#">
      <td class="t17data">#4#</td>
      <td class="t17data">#2#</td>
      <td class="t17data">#3#</td>
    </tr>We then just need to use the selected P27_DEPTNO value via substitution in a page HTML Header to create a descendant selector that will apply a highlight to the cells in the currently selected row (along with some others to make it easier to select the row):
    CSS
    <style type="text/css">
    /* Make the whole table cell a link target */
    #department td {
      padding: 0;
    #department td a:link {
      display: block;
      padding: 2px 8px;
    /* Universal Selector sucks */
      font-size: 9pt;
    /* Highlight the selected row */
    #department tr#dept-&P27_DEPTNO. td {
      background-color: #eee;
    </style>

  • Hide / Show - Creating Conditional Elements Problem

    I have created a job application form that requires a 10 year history. The form has fields for 7 previous employers. All fields are required. I have a YES / NO Single Choice Field / Conditional Element at the end of all the fields for each previous employer. The question is: Does this complete the 10 year history?  If YES is selected for previous employer #1 I want the remaining 6 previous employers to disappear. If No is selected for previous employer #1 all the remaining previous employers should remain visible. If YES is selected for previous employer #2 the remaining 5 previous employers should disappear….Stick with me, I’m getting to the punch line……
    Using the Skip Logic Rules I can make previous employer #2 disappear if previous employer #1 is YES but previous employer #3 is still visible. If previous employer #1 is NO #2 & #3 remain visible. If #2 is YES #3 remains visible. That’s the problem.  In Show / Hide Items conditional element the 1st rule is to hide if #1 is NO. and the 2nd rule is hide if #2 is YES. And so on……..
    Additionally yesterday I spent a half an hour on Adobe support chat before I was disconnected with the solution still unresolved. Then I called Adobe support and logged over 2 hours between hold and remote support trying to figure this out. Finally I was told this problem would have to be sent to a “higher level”. That was at 3:00 pm PST. The “higher level” has yet to come down to my level so I’m hoping against hope this may be the place to get some insight.

    Hi;
    You could share your form with me and I could take a look, but what about having all additional employers hidden, then if at the end of #1 they answer "No" then #2 empoyer group of questions would show, then the same thing for the "Yes/No" at the end of #2, if answered "No" then the group for employer #3 would be shown?  That way the form would look cleaner, and requiring answering the "Yes/No" would force the user to either add additional employers or not until they were finished...
    If you'd like me to take a look at it share with [email protected] and please include a reference to this Forum post so I know what we are looking for, instructions for sharing your form: http://forums.adobe.com/docs/DOC-2462
    Thanks,
    Josh

  • Hide/Show a button on a tile, based on the tileset you're in.

    Hey,
    I made a new tileset Z_CustomerPlan, it has an existing tile in it, capshort1.
    I added a button to this existing tile capshort1, named Z_BTNPreviewAll.
    But this button should ONLY be visible when in the new tileset Z_CustomerPlan because capshort1 is used in some other tilesets.
    i tried to do this with the following code in the onload event of capshort1:
    if not mcore.uftileset = "SZ_CustomerPlan" then
         ctrlZ_BTNPreviewAll.visible = false
    end if
    but this isnt working, it makes the button invisible on all tilesets, including Z_CustomerPlan.
    So im trying to show/hide the button based on the tileset... is this the right way?
    Some help would be nice.
    Cheers,
    Maarten

    Hey Vadim,
    After an intensive investigation i came to the following conclusion...
    if not mcore.uftileset = "SZ_CustomerPlan" then
         ctrlZ_BTNPreviewAll.visible = false
    end if
    does not work, BUT..
    if not mcore.uftileset = "sZ_CustomerPlan" then
         ctrlZ_BTNPreviewAll.visible = false
    end if
    ..does work
    can you spot the difference?:)
    apparently it HAS to be a little s
    just glad its working now, i put it in the beforeload like you suggested, thx for the tip
    cheers,
    Maarten

Maybe you are looking for

  • Can't post to Blog from iOS

    I set up a blog using iWeb on my iMac with the intention of posting pics and text while abroad on vacation. Since I plan to travel without my laptop, taking only my iPhone and iPad, I hoped to be able to post comments and attachments to the blog remo

  • Best screen resolution Macbook Pro 17"

    Question: What is the best screen resolution Macbook Pro 17"

  • How to make slicer to remember selected values while moving from report to another

    I have Power View on SharePoint 2013 and OLAP Cube on SQL Server 2014 solution. 1) I select slicer values and graphs are updated 2) I move to next page on same Power View file and use slicers. 3) I come back to original reports. My slicer valuers are

  • I just found an I pod shuffle [I think?]

    I just found an I pod shuffle [I think?]. The problem is it has a connector that is hard wired to it which is exactly like the one I use to connect my PC with my iPod, iPhone, iTouch. It also has a hole for a headphone on the other end. It don't have

  • Nokia 2610 screen control

    Hello, I try to turn off "power saver" or "sleep mode", but the screen always go black and its not possible to see anything at daylight. How I can manage the screen to have visible information (clock) on the screen when the phone is in sleep mode? Th