Trouble with a create button - sequence

I have created a sequence to assign to my Staff_id
create sequence staff_id_sequence start with 3; (i have 2 staff already created)
I have a manually created datablock with the information from my staff table
staff_id
s_last name
s_first name
etc.
I have made a create_button which when pressed it should post the next value in the sequence so that I can input a new staff member.
CLEAR_FORM;
SELECT staff_id_sequence.nextval
INTO :staff.staff_id
FROM dual;
SET_ITEM_PROPERTY('SAVE_BUTTON', ENABLED, PROPERTY_TRUE);
When run the form and press create_button nothing happens. If i put a number in the textbox for staff_id and press create_button it gives me the next number in the sequence.
Anyone know why it doesn't run until I fill the box with a number?

hi
try the following..
CLEAR_record;
select staff_id_sequence.nextval into :staff.staff_id
from dual;
set_item_property('save_button',ENABLED,PROPERTY_TRUE);sarah

Similar Messages

  • Only had my iPhone 5 a week and already I'm having trouble with the home button? Any soloutions

    Only had my iPhone 5 a week and already I'm having trouble with the home button? Any soloutions

    Sure. Take it back. If you got it from new it has a warranty.
    Or describe the problem fully in case we can help.  "Having trouble with the Home button" doesn't give much of a clue....

  • Having trouble with the home button

    I'm having trouble with my home button. It works when it wants to. Has anyone else had this trouble?

    Try these three very basic troubleshooting steps and see if any of them help.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    This involves using fhe home button but try it anyway .....
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Quit all apps and restart. If you have multitouch gestures turned on, you can swipe up from the bottom of the screen to get to the task bar.
    Go to the home screen first by tapping the home button. Double tap the home button and the task bar will appear with all of your recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap above the task bar. Restart the iPad.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

  • Trouble with opening/creating Server Model Diagrams

    I created server model diagrams by drag-and-dropping specific tables from the Server Model Navigator. Is it supposed to take a LONG time
    for this step (e.g., 3 whole minutes for one table) or should it be basically "immediate"? They eventually made it, but seemed unreasonably long!
    I saved the diagrams, quit, and come back to the repository, see the diagram names, click on a diagram, verify the elements inside, everything
    looks good -- until I try to open the diagram, it (Design Editor) locks up every time!!
    Does anybody know why I'm having either one of the above problems? Is there any setting I need to configure?
    (By the way, I'm using Designer 6i with an Oracle 8.1.7 database.)
    Thanks in advance.
    Brenda

    Could be your memory. Designer takes alot to run, as you may know. Minimum should be 256mb. Close all apps and try to open
    the diagram again. I have had lots of trouble with my designer locking up!

  • Is anyone having trouble with the "home" button not responding after upgrading to 5.1.1 OS?

    Is anyone having problems with the "home" button not responding after upgrading to 5.1.1?

    You will not belive how I accidently solved this - !!!
    Yes I had the problem immediately after the 5.1.1 'cloud' upgrade, the problems started (on my iphone 4) ... I followed the 'get power down button, then hold HOME for 30 secs' solution, but no result, nothing seemed to work and I was starting to get a bit agressive with the keep it pushed, multiple double click frustrations, icopybot multigesture solutions etc. and paid money ... but this comedy solution now works ...
    I discovered it because I ordered a waterproof case for my iphone for my motorcycle ... I've just fitted it to my iphone and all the problems have gone ??? what! ... so wondering why I looked at what the home button on the casing was doing - it was pressing ACROSS the home button i.e. it converted my finger point into a wider 'PRESS
    so taking the new case off, instead of using the point of my thumb to press HOME, I used the flat of my thumb to emulate it ....and initially nothing, so I wondered if it wa making better 'cross button' contacts, so I licked my thumb, wiped it and then tried again! - it worked!
    I can't explain it but it seems to work - try it! if the double click on HOME doesn't work lick your thumb dry it and try again! I've just done it again
    what a mad techno world we live in! :-)
    Dave

  • MDT Task Sequence with standard "Create Task Sequence Media" image capture?

    Hello,
    After much research and a lot of exhausted attempts/hours between two of us we have broken down and decided to ask a very direct question. Is it possible to run an MDT Task Sequence with an image captured within SCCM and not MDT?
    Reason for asking is the sequence fails every time with the error:
    “Task Sequence: NAME has failed with the error code (0x80070490).”
    I should note that there is no smsts log because it fails during the install and comes back with "no OS available" and there is no sccm client on the machine either. From what I could gather the error code is related to the HDD and I have tried
    every setting within the task sequence I know of in different combinations to no avail. Which led us to wondering if maybe the whole process isn't even possible since we are using an MDT task sequence with an sccm image capture.
    The standard task sequences work fine with the sccm image capture, but as soon as we try to the MDT sequence it fails. ANy advice/information/help on this is much appreciated.

    I can't thank you enough, that was exactly it. I should have known that it would be something so simple, I've been going crazy looking through the task sequence properties trying to figure out what I could be missing.
    No problem at all, happy to help! I was in the same boat driving myself crazy looking at the task sequence properties. I just happened to stumble upon that setting and decided to give it a shot since I had exhausted seemingly every other avenue.
    Also, to answer your other question, in a standard task sequence, you can name the computer by using the collection variable "OSDComputerName". Just right click the collection you have your task sequence deployed to, choose properties, and then the collection
    variables tab. Click the starburst, enter the variable name OSDComputerName, uncheck the box for "do not display" (I think that's the setting) and apply your changes. When you run your task sequence again, you'll choose your TS from the list, click next, double
    click OSDComputerName (just clicking next will skip it and begin the TS), enter the computer name, click OK, and kick off your TS.
    I'm still finding my way around SCCM since it was thrown into my lap with no prior experience so I'm happy to help when someone is stuck. I've been there more times than I can count and others have helped me.

  • Anyone having trouble with the home button after upgrading to Ios6

    Is anyone having problems with the home button not working correctly after down loading ios6?

    I haven't but try resetting...
    Hold the On/Off Sleep/Wake button and the Home button down at the same time for at least ten seconds, until the Apple logo appears.
    If that doesn't help, tap Settings > General > Reset > Reset All Settings
    Then restart your iPad.
    No data will be lost as a result of a reset.

  • Newbie having trouble with template highlight (button)

    Stupid question I'm sure, but for the life of me I can't figure it out:
    When using a template, if I change anything at all about the TYPE related to a button, or the size of the button/text group, the corresponding HIGHLIGHT gets freaky. I can't for the life of me figure out how to control where that highlight appears, or even it's size, etc. So I have these beautiful DVD menus that are marred by weird highlight bars--some of them run across two buttons.
    (Yes, I figured out how to make the highlights invisible, but that defeats the whole point of course.)
    Hope my question wasn't confusing. Any help would be wildly appreciated. Thanks...

    Okay, let me pose a theory: Is it possible my installation is having trouble, in other words is what I'm seeing NOT normal?
    Can anyone verify (it would only take a few minutes) my findings? Here are the steps: Create a brand-new project using (just to make sure we're on the same page) the Apple template called "Wedding Classical Index." Next, resize any one of the main elements (labeled "button 1," etc.). OR, change the text to two words, or modify the text size/font. When finished, hit the Simulate button and mouse over the button you modified.
    Does the highlight look normal, e.g., underneath the text, etc., or has it moved to the side of the text, or changed into a vertical line, or worse?
    I just want to verify that my installation isn't being screwy. Thanks to the kind soul who takes a minute to help me out with this so I can move on...

  • Trouble with tweens and button destinations

    I think this is a simple problem, though I'm having a hard
    time summarizing it!
    Example of issue: a picture fades in and three buttons
    appear, taking the user to x, y or z. I want the image to fade out
    when any button is pressed, taking the user to the correct
    destination (x, y or z). I know how to fade the image in (just
    using a simple alpha tween, not any actionscript), but I don't know
    how to 'un-fade' with multiple destinations.
    Thanks for any help!

    one way would be to have the buttons 'set' a variable as to
    where to go (ie. x,y or z), then all of the buttons send the
    playhead to the 'fade out' sequence in the timeline. Upon reaching
    the end of the sequence, preform a test on the variable to send the
    playhead to the next destination.
    another way would be to script the fades within the onPress
    handler and use onMotionFinished to send the playhead to the next
    destination. Not to hard if you want to try it:
    import mx.transitions.Tween;
    import mx.transitions.easing.*;
    my_btn.onPress = function() {
    var fadeOut:Tween = new Tween(image_mc, "_alpha",
    Regular.easeOut, 100, 0, 30, false);
    fadeOut.onMotionFinished = function() {
    gotoAndPlay( ...somewhere this button goes to);
    //one second fade (30 frames) change this to adjust the
    time

  • Trouble with mouse wheel button!

    How to enable scrolling in JScrollPane by mouse wheel button? In AWT TextArea everything is OK. Thanks.
    import javax.swing.*;
    class New {
         JFrame frame = new JFrame("MouseWheel");
         JTextPane txt = new JTextPane();
         public Tockic(){
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.setSize(100,300);
              txt.setText("AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best AWT is the best");
              JScrollPane scroll = new JScrollPane(txt);
              frame.getContentPane().add(scroll);
              frame.setVisible(true);
         public static void main(String[] args){
              new New();
    import java.awt.*;
    import java.awt.event.*;
    class Old {
         Frame frame = new Frame("MouseWheel");
         TextArea txt = new TextArea();
         ScrollPane s = new ScrollPane(ScrollPane.SCROLLBARS_ALWAYS);
         public Old(){
              frame.setSize(100,100);
              txt.setText("Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad Swing is very bad");
              frame.add(txt);
              frame.setVisible(true);
              frame.addWindowListener(new WindowAdapter(){
                   public void windowClosing(WindowEvent e){
                        frame.dispose();
                        System.exit(0);
         public static void main(String[] args){
              new Old();

    In all honesty though, even if fixing this kind of bug would create a new one, its not a bug that should be ignored. Its a major one imo (fix this bug and create a new one, I would personally take my chances). I remember after effects had a bug in a recent update, were audio always was set to low quality when you export, which was very annoying, and it wasn't fixed for months! This bug is worse, and happily I read this thread before updating so Im staying away for now, I hope it won't take months to fix this one.
    It makes sense and Im really happy to hear a chunk of the AE team is working on optimizing the code.Though I think they should devote more people to that. AE is such an old program that I assume those working with keying or other of the features that have been updated lately, they bought a better plugin for it allready. I would much rather have NO updates for a year if that means the program would become more stable, faster and in the future they would not need to patch up layers and layers of old code, as you say....and from what I remember the response from the community was pretty much the same from every single one when it was asked in public what people wanted in the future updates....a faster program. THe content of AE is all ready great, and you can get plugins for pretty much everything you need...except optimization and an up to date software that uses the computer to the maximum potential. 

  • How do I close just the top toolbar, the one with the create button and the Quick Tools?

    Just upgraded from 9 to X.
    The manual says, "When your work does not involve using the tools in a toolbar, you can close the toolbar to tidy up the work area." But then after that it only provides instructions on how to hide all toolbars. I want to have only one row of tool visible, not two, and I can work best with the Common Tools toolbar. So how do I close the other one?

    Would you please be more explicit? I have tried dragging the "Create" and "Customize Quick Tools" buttons from the top row to the second row and they don't drag. I've tried dragging the buttons on the second row into the top row and they don't drag. I've tried dragging the rows themselves into each other and outside the window to see if I could get one to diappear, and they don't drag. So would you please state specifically what is possible in order to reduce the two rows of the toolbar to one row?
    Especially if it's documented somewhere, that would be most helpful to see. But I'm also open to learning an undocumented method, if it works.
    Thank you.

  • Having trouble with home page buttons

    I created a project that has more than 20 states so to accomodate this I used the functionality to create a custom component with sub states. However, I seem to be having a problem with the buttons on my home page (Chapter 1, Chapter 2, Chapter 3, etc). They work fine the first time visiting the home page and link to the first state within each custom component as I'd like them to and as I've assigned in the button properties. However, once a user clicks through all the states within a component and returns to the home page, if they click the button for that chapter again, they are directed to the last state within the component. What am I doing wrong? I have these home screen buttons configured to link to the page that  represents the starting point for each chapter. If I try changing the button to configure to automatically transition to the custom component state 1 instead of a page then it doesn't work. Any suggestions?

    Haven't been able to call due to health issues.  Hope to be able to call soon, but tried to move WiFi as much as I can.  Upgraded to Quantum, so the WiFi router is connected via ethernet to the main box (if I remember correctly).  Then the Gateway device is connected to the router via ethernet cable.  Can I just remove that cable or do I have to set it up to be wired?  I really can't move the two routers out of our bedroom.  Thanks and I will hopefully be able to call within the next couple of days.
    Michaela

  • Trouble with E-Mail button on a form designed in ES

    I installed an form with an e-mail button but af
    ter I posted the form to the intranet the button does not work at all within Adobe Rea
    der 9.0.  I have set the form to submit as a PDF and the control type as Submit.  I read in another post the I can download the LC Reader Extension but for the life of me, I cannot find it.
    Please help.

    Hi,
    The problem is that your form is not Reader Enabled, so users with Reader cannot save the form. This is required for a 'submit as PDF' button.
    You could change the submit type to 'submit as XML', which will work in a form that has not been Reader Enabled. You would then need to import the XML back into the form when you receive responses. This is probably the least expensive route.
    LC Reader Extensions is a server product and there are additional costs involved in enabling a form through LC Reader Extensions. You should contact your local Adobe rep or check out here: http://www.adobe.com/uk/products/livecycle/readerextensions/
    You can reader enable a form in Acrobat Standard (v9 or above) or using Acrobat Professional (v8). However there are licensing restrictions. See EULA.
    I have a summary of deployment options here, which shows what features are available in your form depending on what the user has, whether the form is enabled, and how it was enabled.
    http://www.assuredynamics.com/index.php/category/portfolio/deploying-forms-in-acrobat-and- reader/
    Hope that helps,
    Niall

  • Trouble with PDF created with Captivate 6

    I have been using Captivate since version 4 and this is the first time I have had this problem. The generated PDF (which is the expected file size) displays a blank page with only the TOC button which sits there flashing rapidly. I have tried changing the targeted Flash Player version without any luck.  Previews and HTML output is fine and so is the .exe file. I am using Adobe Acrobat 11 on a 64-bit Windows system. This is a fairly small project with about 15 slides and some FLV videos. I have no problems with Distiller with any of my other programs (FrameMaker, LiveCycle, Photoshop etc.). Any settings I can fiddle around with?
    Any ideas?
    Nadeem

    Thanks for the helpful reference!
    To anyone else having a similar problem: the solution (while not ideal, since it requires disabling a desired feature) is to uncheck the "Show TOC" box in the TOC settings. To reiterate what was discussed in the forum, the problem apppears to be localised to Acrobat Pro/Reader XI. So far there is no resolution from Adobe.
    Nadeem

  • Troubles with the hold button...

    Simply put, my hold button no longer reliably works. If I turn it on, perhaps one out of four times does it actually put the iPod into "hold" mode and prevent the buttons from changing settings. Has anyone had the same problems and are there any simple solutions I should try before giving Apple a ring? I don't really want to send my iPod in for repairs after having only owned it for 5 days!

    To follow up, I gave AppleCare a call this afternoon and spoke with a tech. He recommended that I send it in and as he was filling out the paperwork, found out that for such a new product, he needed to pass it up to a higher level support representative.
    After speaking with this new rep, he also agreed the product needed to be repaired, but instead of continuing with the previous paperwork, declared the product DOA and transferred me over to the Apple Sales team.
    Finally, after just over 40 minutes on the phone, they had finished with all the paperwork and I should be receiving a brand new iPod after I send the current one in. On one hand, this was a lot of hassle for a hold switch but I am pleased that I'll be receiving a brand new iPod. Moral of the story: if you're phoning in for tech support, be prepared to spend quite a bit of time on the phone and on hold!

Maybe you are looking for