Why can't region item buttons perform database action?

Looking at my Easy Oracle HTML-DB book, page 211, the author states that a database action attribute is only available for a button in a region position.
Is it possible to 'force' a button created among a region's items to update the database (INSERT, UPDATE)?
Thanks,
Maggie

You could make a custom procedure to fire when a button is clicked. Within your procedure you can update/delete/insert as you wish.

Similar Messages

  • Delete regions items buttons and pages using sql.

    Hi,
    Is there any way to delete from apex pages, regions, items and buttons using sql.
    I noted that in SQL Developer a display of these objects is enabled, but no actions can be carried out on them from what I can see.
    Ben

    Hi and welcome,
    do search in the [Java Database Connectivity (JDBC) forum|http://forum.java.sun.com/forum.jspa?forumID=48], I'm sure you'll find a few examples there.

  • Why can't I edit the Master Database

    Can someone from NI please explain the reasoning behind not letting the user edit the master database?  I want to do something simple like remove one of the redundant + and "dot" polarity indicators on some of the capacitor footprints without having to, one by one, change each capacitor to use my custom footprint.
    I have found several errors in the master database yet I can't fix those parts or footprints or remove them, thus increasing the likely hood that they will get used by mistake/unknowingly again.
    The only explanation that I can come up with is poor database design and fear of me "breaking" it.   Something as simple as editing a part through the GUI should be simple enough to do to, please let me.  No offense, but your master database is not good enough to warrant "no edits".  Most parts I use are from the local database, but that is not an option for special case parts like resistors and capacitors.
    Also, why I can't edit the database itself without using the GUI? (as is an option in all other CAD packages that I've used).  The GUI entry point is extremely time consuming and error prone when a database script can often easily create error/typo free part numbers using existing symbols and footprints.
    Greg

    There are several ways you can achieve the results you looking for with respect to RLCs.
    Ultiboard first searchs the User then Corporate the Master database when looking for footprints. So, if you want to make a modification to a footprint, make the copy the appropriate in Ultiboard into your User database. Then modify the footprint. When you transfer from Multisim to Ultiboard, Ultiboard will pick the footprint you customized (or fixed).
    One thing to watch out for is determining the correct name in Ultiboard. The name in Multisim is often not the name in Ultiboard. I don't know of any simple way of determing the mapping.
    Place the component with the footprint that you want to change (in Multisim)
    Double click the component, and click Edit Footprint on the Value page
    Click Select from Database. The footprint should be selected. The name in Ultiboard is the Ultiboard Footprint column (if it is blank, then the name in Multisim and Ultiboard is the same).
    You can add new footprints to the list in the Place Component dialog. You do this in the Database Manager.
    Go to Tools > Database > Database Manager
    Select the RLC Components tab
    Click the Add button to add a new definition. Note, the definition will appear for all components of the same type. Also watch out for the polarity of capacitors and other components where relevant.
    Garret
    Senior Software Developer
    National Instruments
    Circuit Design Community and Blog
    If someone helped you, let them know. Mark as solved or give a kudo.

  • Why can't buy items in game?

    Why I can't buy items in my game?

    We are fellow users here on these forums, if you would like help then you will need to provide some info e.g. what happens when you try to buy something, if you are getting an error message then what does it say ?
    If you are getting a message to contact iTunes Support then to do so :
    - go to http://www.apple.com/support/itunes/ww
    - click on your country's flag
    - click on the Contact Support at the bottom of the left-hand column
    - click on Contact iTunes Store Support on the right-hand side of the page
    - then Purchases, Billing & Redemption
    If it's a different problem ... ?

  • How can you make one button preform different actions in Xcode?

    How can you make one button "preform a click" and "orderfront"? Is that possible? Because what I am doing is making a welcome window to my application for Mac OS X 10.6, and I have two buttons in that window, one says "Connect" which connects a a WebView to a url and the other button opens up the main window. So how can I a make a button do multiple things at once??

    Ah - If you are just using bindings between various objects from Interface Builder, you can reduce your application code a bit (sometimes quite a bit), but there is only so far you can go. Typically variables and routines are defined in your application that Interface Builder hooks into, so that your application code (usually Objective-C, but can be others) can use these variables and routines to determine what is happening in the user interface.
    I'm not sure how up-to-date the project code is (or what programming code you are familiar with), but you can take a look at Apple's Cocoa Application Tutorial to see what is (usually) involved in creating an application.

  • Why can't I change button width smaller than 70px in a spark tilegroup?

    I have an <s:TileGroup> in spark theme, and It contains several buttons.
    I'm unable to change the width of the buttons below 70px.
    I tried changing "minWidth", but that doesn't seem to do anything?
    Why is this and how can i change the width?

    Hi,
    I tried for the same and its working fine pass the same value for the width and minWidth.
    I have tried with 5 and 10. Its working fine.
    with Regards,
    Shardul Singh Bartwal

  • Why can't I access my Zotero database on the new FF version?

    Hi,
    I downloaded the new version of Firefox and it update my Zotero. However, I can't access the interface of Zotero now. It used to sit on the right side of the browser. Oddly, it is integrated with my MS word, and I can keep import citation to it from sites and databases.
    Can anyone help me?

    You have posted in a Mac discussion, try the ios forum.

  • Why Can't I Add Buttons To The Browser?

    I deleted the "Medium Icon" button in the Browser and realised I needed it back.
    So I right-clicked to open the button menu and chose the medium icon from the "Display" section.
    There was no way I could get it (or any other button) into the browser. As I got the button over the browser it had a little x by the side of it. However, when I moved the button anywhere near the other windows they were only too willing to open up to accept it!
    The only way I could get the medium icon button into the browser was to restore the defaults.
    Why couldn't I get the browser to accept buttons?
    Ian.

    Thanks Tom but it wasn't the preferences this time.
    I've just been away from the computer for a couple of hours and after reading your reply, I suddenly had an idea!
    The Browser had been set to its narrowest width to accommodate a large Viewer and Canvas.
    All I had to do was stretch it out wider and it accepted the buttons willingly.
    What caught me out originally was that I was able to delete existing buttons but not replace them. You would think that if there was space for them to exist, there would be space to replace any that were subsequently deleted.
    Strangely enough the narrow Browser would still accept extra buttons when asked to restore the defaults.
    Ian.

  • Why can't I redefine the "Open Class" action to Ctrl-Shift-O?

    I can only do it if the Help window is up.
    And even then, JSC goes back and resets it to "Open Project", which I will never need.
    Why does it keep resetting it on me?

    I believe when the project module (IDE internal) is
    loading it sets the corresponding hot-key.
    May be you could try some other combination like
    Alt-Shift-o if it is not used!
    - WInston
    http://blogs.sun.com/roller/page/winston?catname=Creat
    orWell, I wanted it to match the shortcut used in netbeans 5.0 under the assumption that the code base for both would eventually be the same and I'd have to adjust.
    I did end up picking a different key combo, but it sure is annoying when software argues with me like that and doesn't let me do what I want to do. Man, I just don't open
    projects that much, it's a rare operation, while opening a class is something I do all the time.

  • Cant disable item button

    I tried to disable page item button with dynamic action option (Disable) and with javascripts
    document.getElementById("IDOFBUTTON").disabled = true;
    calls: $x_disableItem
    but dont work, any idea?
    Thanks

    Hi,
    >
    Im added a new dynamic action
    onPageLoad > Execute Javascript > $("#TEST").unbind("click");
    Event scope : Bind
    but cant make it work...
    I know that it depends of themes/templates. (my is theme 23 in Apex 4.1)
    >
    I presume you have specified TEST as the Static ID of the Button.
    To disable button you will need to remove the href attribute
    $("#TEST").removeAttr("href");To enable it you will need to add the href back
    $("#TEST").attr("href","javascript:apex.submit('<REQUEST /BUTTON NAME>')");Cheers,
    PS: Inspect your button HTML Element. You will see something like this
    <td align="left"><a role="button" id="TEST" class="uButton" h ref="javascript:apex.submit('CLICK_ME');"><span>Click Me</span></a></td>
    NOTE: There should be no space in h ref, added it just to be able to post.
    In the above code
    id = "TEST" , where TEST is the Static ID of the Button. Required Button Template with #BUTTON_ATTRIBUTES#
    CLICK_ME is the Button Name, therefore the REQUEST submitted by the Button
    Click Me is the Test Label /Alt.
    Edited by: Prabodh on Aug 13, 2012 5:14 PM

  • Help!! Buttons with different actions on IPAD

    Why is in Ipad a button with different actions does not respond to these actions at the same time, but one at a time? In Android works fine!!
    What is happening is that in ipad I have to touch more than once on the button to go to the different actions that this button has!
    Help...

    Hi Tomas
    thanks for the quick response.  I think mine Adobe Content Viewer is the last update, from February 21, so the problem is not due to this.
    II'll explain the situation better, i have several identical situations. For example, I have a square that hides an image and I want that when you tap this square this image appears behind him, then i did the following: I selected at first the square and the image and transformed a multi- State Object, in which the first state is the box (State1) and the second is the image (state 2) then made a transparent button on top of this square and it gave the following actions - on release go to state 2 (image) here everything goes well, the problem is that as I have more buttons / squares that do the same and show different images, that when I turned the other one the next hide her image. So all the buttons in addition to the state that shows the picture / object matching (state 2) - i have also- go to state (name of the object: state 1) causes other squares hide their files, as they get the state 1. Here lies the problem, in ipad these actions do not react automatically but in different touches, it seems that it reads a touch for action and not all at once.
    I apologize for my English but I'm Portuguese, I hope you can understand everything explained.
    Marta

  • Button created among region items cannot be horizontally aligned

    If I create a button amongst region items, and say new line = NO and new field = YES, it creates the button in its own table cell. However there is no apparent interface to horizontally (or vertically for that matter) align the button within the cell.
    If I create any other region item, or a button in a region position, I can see the alignment options which work as expected.
    Am I missing something here?

    A workaround here is to add the item as post element text on the previous item in sequence. But then the item is "lost" when looking at the page edit screen, and common editing features are not available.
    I see no logical reason why a button created amongst region items should not have all the operations permitted on it as do the regular region items.

  • Why can't I use the function of menu item 'issue delivery output'?

    why can't I use the function of menu item 'issue delivery output' in main screen of delivery note?
    And at the same time I can't use the button of printing in main screen of delivery note.
    the main screen of delivery note I mean above is in screen of maintaining shipping data instand of the first screen of VL02N.
    TKS in advance.

    Hi,
    Because delivery will be having header level output and item level output. So if u try to print through main screen then system will not know whether it is header related or item related. That is the reason it is only print output at header level or item level but not in main screen.
    I think u may have doubt like how billin will be issued output through Main screen. Because for billing both header and item level data are same..
    Regards
    Sankar

  • Can we perform two actions with one button with two clicks one after other?

    Sir,
    can we perform two actions with one button with two clicks one after other?
    I want that when I click an Add Button first time it add data to the database and when I click again this button it clear the form data to empty fields.
    Regards
    Tanvir

    In code it should be easy.
    The following code adds a button called butman with a text "ADD".
    It then registers a listener that will be called if the button is clicked.
    This listener then calls the runAddData method if you clicked on butman while it contained the "ADD" text and it will call the runClearData method otherwise.
    Therefore it will swap the button's functionality between ADD and CLEAR on every click.
    final Button butman = new Button("ADD");
    butman.setOnAction(new EventHandler<ActionEvent>() {
              @Override
              public void handle(ActionEvent t) {
                        if (butman.getText().equals("ADD")) {
                                  butman.setText("CLEAR");
                                  runAddData();
                        } else {
                                  butman.setText("ADD");
                                  runClearData();
                        } // END IF-THEN
              }});I hope this is what you wanted.
    Some extra food for thought.
    You might want to run the ADD and CLEAR methods in their own threads so that it can run in the back ground, without slowing down your user interface.
    I also like to rather reuse one button for multiple functionality in stead of making an application with hundreds of nodes only used rarely with masses of code to show and hide them if needed.

  • Processess on Buttons created among region items behaves strangely

    I have two buttons Button1 and Button2 and item TEMP.
    Buttons are of type (Button among region items)
    Now our requirement is that when Button1 is pressed TEMP should be set to 1 and
    when Button2 is pressed TEMP should be set to 2.
    But it does not happen.
    I have written 2 processess for it.
    First is - Set :P1_TEMP = 1 - (when button pressed *P1_BUTTON1)
    begin
    :P1_TEMP := 1;
    end;
    Second is - Set :P1_TEMP = 2 - (when button pressed *P1_BUTTON2)
    begin
    :P1_TEMP := 2;
    end;
    The values in TEMP are not populated accordingly.
    It is always set to 2 even if I press button1.
    I have created a demo at
    http://apex.oracle.com/pls/otn/f?p=20426:1:1861250906981044:::::
    Now if I remove the second process than TEMP gets set to 1 when BUTTON1 is pressed.
    Any ideas on this strange behaviour.
    Thanks
    Ameya

    Hi, Ameya
    I have test your application.
    I had tried to add two branches : one activated when button1 is activated
    , another activated when button2 is activated which submit your page 1,
    affecting the value of item TEMP .
    It's working for button 1 but for button2, despite the fact I tell him to send 2 for the
    value of item TEMP in the branch, it seems that it was "the branch of the button1" which is activated...
    So, I let the 2 branches (with condition never) (I think processes is not needed here) in case you want to see the method.
    Hope Jes can help you.
    Mike

Maybe you are looking for