Hiding the users ACCEPT input

I am developing a report at the moment that asks for user input via an ACCEPT statement. Unfortunately, when the report is shown on the screen i am also shown this:
old   6:        and     c.customer_id = '&customer_id'
new   6:        and     c.customer_id = '0001'Are there any techniques to hide this because it has not value to the report itself.

Maybe SET VERIFY OFF :
SQL> select ename,sal from emp where empno = &1;
Enter value for 1: 7902
old   1: select ename,sal from emp where empno = &1
new   1: select ename,sal from emp where empno = 7902
ENAME             SAL
FORD             3000
SQL> set verify off
SQL> /
Enter value for 1: 7902
ENAME             SAL
FORD             3000
SQL>                                                             

Similar Messages

  • In javascript, how do I open a dialog so that the user can input the value of a variable?

    I'm working on a script that will be used for many images, all of them using the same format (size of the image, layer layout, etc).
    All of these images will have a layer of text, and what I want is to have the script modify the horizontal length of the text layer (horizontal percentage scale), shrinking it so that all of the text appears on-screen, in case there's too much of it.
    But the text will vary from image to image, and what I want is for the script to display a dialog box were the user can input the text that will be put on the text layer and scaled down.
    Can this be done?

    If you want the user to both enter then fit the text while your script is running, here is one way to do that.
    var typeLayer = activeDocument.activeLayer;
    var type = typeLayer.textItem;
    var t = prompt ("Enter text" , "new text");
    type.contents= t;
    transformLayer();
    function transformLayer() {
         try{
         var desc = new ActionDescriptor();
            var ref = new ActionReference();
            ref.putEnumerated( charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
        desc.putReference( charIDToTypeID('null'), ref );
        desc.putEnumerated( charIDToTypeID('FTcs'), charIDToTypeID('QCSt'), charIDToTypeID('Qcsa') );
            var desc1 = new ActionDescriptor();
            desc1.putUnitDouble( charIDToTypeID('Hrzn'), charIDToTypeID('#Rlt'), 0.000000 );
            desc1.putUnitDouble( charIDToTypeID('Vrtc'), charIDToTypeID('#Rlt'), 0.000000 );
        desc.putObject( charIDToTypeID('Ofst'), charIDToTypeID('Ofst'), desc1 );
        desc.putUnitDouble( charIDToTypeID('Wdth'), charIDToTypeID('#Prc'), 100 );
        desc.putUnitDouble( charIDToTypeID('Hght'), charIDToTypeID('#Prc'), 100 );
        desc.putBoolean( charIDToTypeID('Lnkd'), true );
        executeAction( charIDToTypeID('Trnf'), desc, DialogModes.ALL );
         }catch(e){}

  • Reports / intranet/ In some detail,  the user will input a date range from and 2 and will out put the records in the int

    Hello there,
    I am totally green in web development.
    my goal is to, for the user will input a date range from and
    to and will out put the records in the intranet when they press a
    button.
    However, the good news is: I have experience in programming.
    I have written applications for desktop in VB>NET and I
    understand RDBMS /sql concepts .
    But CF and WEB development is new to me.
    My current projects involves in connecting to DB and testing
    it. (it works fine)
    And outputting reports by to a intranet page. (records)
    i need help on how to start this asap. I will even do some
    practice at home.
    Tools I have at work
    • Development server(test)
    • Home site.
    • Toad for db connection.
    • Html reference guide
    • Cf dummies book.
    How can start my projects.
    (ex. Create cf, outputpage?)
    seriously, I am new to this.
    Thanks.

    Well, I had a really nice response with some concepts and
    ideas for you to practise on etc, but these dumb forums timed out
    and I lost it all
    If you want to pop me an email we could probably do a few
    exercises together that way - or even by MSN Messenger if you want.

  • Need help with re-prompting the user for input .

    I am trying to wright a code the re prompts the user for input if they enter anything but an integer but I keep getting a "char cannot be dereferenced" error when I try to compile.
    Here's what I have got:
    import java.util.Scanner; // imports Scanner methods
    public class SandBox
      public static void main(String[] args)
          // re-prompting test
          Scanner in = new Scanner(System.in);
          System.out.println("Please enter an integer: ");
          String i = in.nextLine();
          for(int a=0; a<i.length(); a++)
              if( (i.charAt(a).isDigit()) ) {
                  System.out.println("Thank you!");
                  break;
                } else {
                    System.out.println("Please try again");
                    continue;
          int b = Interger.parseInt(i);
      }// end of class
    }//end of main method
     

    Sorry for double posting but it won't let edit my last post.
    I would prefer to go through it without using try catch because it takes longer though I will use it if I cannot get the other way working. I currently have two versions of the code both using try catch and the other way but both say that they "cannot find symbol" when I try to parse. here are both versions of the code:
    import java.util.Scanner; // imports Scanner methods
    public class SandBox
      public static void main(String[] args)
          // try catch test
          boolean inputIsFaulty = true;
          int inputInt = 0;
          Scanner in = new Scanner(System.in);
          do {
             System.out.println("Please enter an integer: ");
             String i = in.nextLine();
             for(int a=0; a<i.length(); a++)
                if (Character.isDigit(i.charAt(a))) {
                  System.out.println("Thank you!");
                  inputIsFaulty = false;
                } else {
                    System.out.println("Please try again");
            while (inputIsFaulty);
          inputInt = Integer.parseInt(i);
      }//end of class
    }//end of main method
    import java.util.Scanner; // imports Scanner methods
    public class SandBox2
      public static void main(String[] args)
          // try catch test
          boolean inputNotOK = true;
          int inputInt = 0;
          Scanner in = new Scanner(System.in);
          do {
             System.out.print("Please enter an integer: ");
             String inputStr = in.nextLine();
             try {
                inputInt = Integer.parseInt(inputStr);
                // this line is only reached if the parse works
                inputNotOK = false;
             catch (NumberFormatException e) {
                System.out.println("You didn't enter a proper number.  Please Try again.");
          while (inputNotOK);
          inputInt = Integer.parseInt(imputStr);
      }//end of class
    }//end of main method
     

  • I need a sample vi that can plot a transfer function given zeroes and poles (It should allow the user to input zeroes and poles). It should be done in the S domain.The user should be allowed to put poles and zeroes, with frequency

    I need a sample vi that can plot a transfer function given zeroes and poles (It should allow the user to input zeroes and poles). The user should be allowed to put poles and zeroes, with frequency. DONE IN S DOMAIN.

    I have created a VI (LabVIEW 6.1) that does what you want. Note that the poles and zeros have to be entered correctly that is in Rad/s and typically with negative real part. The VI offers you all options for lin/log frequency axis, magnitude in dB or not, phase in Radians or Degrees etc...
    The VI is written with "academic" in mind, so it is not optimized for performances but (hopefully) for clarity. I hope this will work for you.
    Attachments:
    S-Domain_Transfer_Function_from_Poles-Zeros.vi ‏167 KB

  • I need a sample vi that can plot a transfer function given zeroes and poles (It should allow the user to input zeroes and poles)

    I need a sample vi that can plot a transfer function given zeroes and poles (It should allow the user to input zeroes and poles). The user should be allowed to put poles and zeroes, with frequency.

    Check the answer to your other posting
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000052A90000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0

  • ASA auth-prompt prompt Please login: doesn't display the “user acceptance a

    The following example shows the output of the show running-config auth-prompt command:
    hostname(config)# show running-config auth-prompt
    auth-prompt prompt Please login:
    auth-prompt accept You're in!
    auth-prompt reject Try again.
    hostname(config)#
    I have to have a “user acceptance agreement” when logging in to VPN on a Cisco ASA 5520 ver7.2(3) I have configured it properly but when I login I never get the prompt
    XXXXXX/pri/act# show running-config auth-prompt
    auth-prompt prompt Please login:
    auth-prompt accept You're in!
    auth-prompt reject Try again.

    We are using the ASA like a VPN Concetrator. I have it set up were users login to it and establish a VPN and authenticate against an RSA token server.
    The routing and the tunnels work fine and the users do get authenticated but they never receive a propmt banner or what ever you want to call it like they do when they logon via 3030 or similar.
    I even tried as you suggested and used this config they should get a banner after a successful logon but they dont. Any ideals?
    banner login =====================================================================
    banner login You are attempting to connect to a restricted system. Connections
    banner login to and from this system are logged. Please disconnect now if you
    banner login are not an authorized user of this system.
    banner login =====================================================================

  • How do I create an event driven dialog box that allows the user to input constants into my program?

    My goal is to have a box pop up when the executable for my program is run. The box will have a bunch of fields, and an OK and Cancel button. Ideally, the user will be made to change some of the values, and warnings (with another dialogue box) will pop up if the values are nonsensical, allowing the user to proceed or go back and change them. The constants will be clustered, to be used later in other VIs.
    Does anyone have a good template for this sort of VI? I looked at this article: http://www.ni.com/tutorial/8768/en/, but it doesn't go into enough detail to be helpful to me.

    This should get you started down the pathJust replace User data with your cluster and do the data integrity check in the value change event use a simple one button dialog to notify the user which values are out of compliance and disable and grey the OK button untill all conditions are met.
    Jeff
    Attachments:
    Prompt(Date).vi ‏50 KB

  • Make the program run again, given the user's input?

    Hello,
    I need a little help with this program, you can see the entire thing below. I'm trying to make the program give the user the option to run again, using y or n. It's for a college project. Thanks.
    import java.util.*;
    class MyFifthProgram
         public static void main (String[] args)
              //char letterOnTelephone;
              do
                   System.out.print("Enter a letter from A - Z and I will output the corresponding number \non the telephone, then press enter:");
                   Scanner keyboard = new Scanner(System.in);
                   String letterOnTelephone = keyboard.next();
                   char letter = letterOnTelephone.charAt(0);
                   switch (letter)
                        case 'Q':
                        case 'q':
                        case 'Z':
                        case 'z':
                             System.out.println("Sorry, the letter " + letterOnTelephone + " cannot be found on the telephone....");
                             break;
                        default:
                             System.out.println("Sorry, the key " + letterOnTelephone + " cannot be found on the telephone......");
                             break;     
                        case 'A':
                        case 'a':
                        case 'B':
                        case 'b':
                        case 'C':
                        case 'c':
                             System.out.println("The letter " + letterOnTelephone + " corresponds to the number 2.");
                             break;
                        case 'D':
                        case 'd':
                        case 'E':
                        case 'e':
                        case 'F':
                        case 'f':
                             System.out.println("The letter " + letterOnTelephone + " corresponds to the number 3.");
                             break;
                        case 'G':
                        case 'g':
                        case 'H':
                        case 'h':
                        case 'I':
                        case 'i':
                             System.out.println("The letter " + letterOnTelephone + " corresponds to the number 4.");
                             break;
                        case 'J':
                        case 'j':
                        case 'K':
                        case 'k':
                        case 'L':
                        case 'l':
                             System.out.println("The letter " + letterOnTelephone + " corresponds to the number 5.");
                             break;
                        case 'M':
                        case 'm':
                        case 'N':
                        case 'n':
                        case 'O':
                        case 'o':
                             System.out.println("The letter " + letterOnTelephone + " corresponds to the number 6.");
                             break;
                        case 'P':
                        case 'p':
                        case 'R':
                        case 'r':
                        case 'S':
                        case 's':
                             System.out.println("The letter " + letterOnTelephone + " corresponds to the number 7.");
                             break;
                        case 'T':
                        case 't':
                        case 'U':
                        case 'u':
                        case 'V':
                        case 'v':
                             System.out.println("The letter " + letterOnTelephone + " corresponds to the number 8.");
                             break;
                        case 'W':
                        case 'w':
                        case 'X':
                        case 'x':
                        case 'Y':
                        case 'y':
                             System.out.println("The letter " + letterOnTelephone + " corresponds to the number 9.");
                             break;                                             
                   System.out.println("Would you like to run this program again? Enter Y for yes, or N for no:");
                   Scanner keyboard1 = new Scanner(System.in);
                   String runAgain = keyboard1.next();
                   char runIt = runAgain.charAt(0);
                   }while (runIt == 'y');
                        System.out.println("You can choosen " + runAgain + " therefor the program will run again.");
         }

    Thanks! That did the trick, however that doesn't solve my problem. How do I ask the user to run the program again at the end of the program? What am I missing?
    // Program takes a single letter and displays the corresponding digit on the telephone.
    import java.util.*;
    class MyFifthProgram
         public static void main (String[] args)
              System.out.println("Would you like to run this program? Enter Y for yes, or N for no:");
              Scanner keyboard1 = new Scanner(System.in);
              String runAgain = keyboard1.next();
              char runIt = runAgain.charAt(0);
              if (runIt == 'n')
                   System.exit(0);
              else if (runIt == 'N')
                   System.exit(0);
              do
                   System.out.print("Enter a letter from A - Z and I will output the corresponding number \non the telephone, then press enter:");
                   Scanner keyboard = new Scanner(System.in);
                   String letterOnTelephone = keyboard.next();
                   char letter = letterOnTelephone.charAt(0);
                   switch (letter)
                        case 'Q':
                        case 'q':
                        case 'Z':
                        case 'z':
                             System.out.println("Sorry, the letter " + letterOnTelephone + " cannot be found on the telephone....");
                             break;
                        default:
                             System.out.println("Sorry, the key " + letterOnTelephone + " cannot be found on the telephone......");
                             break;     
                        case 'A':
                        case 'a':
                        case 'B':
                        case 'b':
                        case 'C':
                        case 'c':
                             System.out.println("The letter " + letterOnTelephone + " corresponds to the number 2.");
                             break;
                        case 'D':
                        case 'd':
                        case 'E':
                        case 'e':
                        case 'F':
                        case 'f':
                             System.out.println("The letter " + letterOnTelephone + " corresponds to the number 3.");
                             break;
                        case 'G':
                        case 'g':
                        case 'H':
                        case 'h':
                        case 'I':
                        case 'i':
                             System.out.println("The letter " + letterOnTelephone + " corresponds to the number 4.");
                             break;
                        case 'J':
                        case 'j':
                        case 'K':
                        case 'k':
                        case 'L':
                        case 'l':
                             System.out.println("The letter " + letterOnTelephone + " corresponds to the number 5.");
                             break;
                        case 'M':
                        case 'm':
                        case 'N':
                        case 'n':
                        case 'O':
                        case 'o':
                             System.out.println("The letter " + letterOnTelephone + " corresponds to the number 6.");
                             break;
                        case 'P':
                        case 'p':
                        case 'R':
                        case 'r':
                        case 'S':
                        case 's':
                             System.out.println("The letter " + letterOnTelephone + " corresponds to the number 7.");
                             break;
                        case 'T':
                        case 't':
                        case 'U':
                        case 'u':
                        case 'V':
                        case 'v':
                             System.out.println("The letter " + letterOnTelephone + " corresponds to the number 8.");
                             break;
                        case 'W':
                        case 'w':
                        case 'X':
                        case 'x':
                        case 'Y':
                        case 'y':
                             System.out.println("The letter " + letterOnTelephone + " corresponds to the number 9.");
                             break;                                             
                   }while (runIt == 'n');
              //          System.out.println("Would you like to run this program? Enter Y for yes, or N for no:");
              //          Scanner keyboard2 = new Scanner(System.in);
              //          String runAgain1 = keyboard2.next();
              //          char runIt1 = runAgain1.charAt(0);
              //          if (runIt1 == 'n')
              //               System.exit(0);
              //          else if (runIt1 == 'N');
              //               System.exit(0);
         }

  • How to add one symbol in between the user give input.

    Hi,
         In my flash had the following code.
    import flash.events.TextEvent;
    tf.addEventListener(TextEvent.TEXT_INPUT, tfHandler);
    function tfHandler(e:TextEvent):void{
        trace(e.target.text.length);
        if(e.target.text.length == 2){
            e.target.appendText("-");
            stage.focus = tf;
            tf.setSelection(tf.text.length,tf.text.length);
         Like this How to do in AS2.?
    Thanks with,
    Viswa

    Use:
    tf.onChanged = function(){
        if(tf.length == 3){
           tf.text += "-";
           Selection.setSelection(tf.text.length, tf.text.length);

  • How to get the user input while server is waiting for client's message

    I have a server/client program (using sockets)
    I used a thread to let a server always waiting for client's request, but how should I found that
    there is no message pass to server from client.
    public void run(){
    while (true){
    Socket server = serverP.accept();
    ObjectInputStream inFromClient = new ObjectInputStream(server.getInputStream());
    inMessage = (Message)inFromClient.readObject();
    System.out.println("Deadlock may occurred, please enter your command: ");
    BufferedReader inFromUser = new BufferedReader(new InputStreamReader(System.in));
    String command = inFromUser.readLine();
    The server is waiting for the inMessage that is passed from multiple clients. But if the server
    received no message after some time, it will assume something is wrong (eg, there is a
    deadlock), then it will ask the user to input the command to execute the method.
    If I put
    "System.out.println("Do you want to take Snapshot: ");
    BufferedReader inFromUser = new BufferedReader(new InputStreamReader(System.in));
    String command = inFromUser.readLine();"
    inside the while loop, it will keep asking user to enter the input when every time the client
    connect to the server. But I want to ask the user to enter the command only when the server
    can't get the response from clients.
    How should I do?
    Please help.

    Your statement:
    Socket server = serverP.accept();
    it will block until Server receive connect request from client.
    So, what u can do is, create a seperate Thread which check if server is idle (no client connect to it) for a certain time.
    public class xxxxx extends Thread {
    public void run(){
       (new WatcherThread()).start()
       while (true){
       Socket server = serverP.accept();
       WatcherThread.acceptFlag();  
       ObjectInputStream inFromClient = new ObjectInputStream(server.getInputStream());
       inMessage = (Message)inFromClient.readObject();
       Do something with client request ...
       I suggest you to create a WorkerThread for
       each client request.
       For example:
       new (WorkerThread(inMessage)).start();
       This way, your server thread will immediately serve
       the next client request ASAP.
    public class WatcherThread extends Thread {
       private static accept = false;
       public static void acceptFlag() {
            flag = true;
       public void run() {
           while(true) {
               try { sleep(10000); } catch (Exception ex) { }
               if (!accept) { // never accepted after 10000 msecs
                  ... do your System.in here ...
               flag=false;          
    }The idea is, your server notify WatcherThread if a client connect. WathcerThread runs at seperate thread. It waits for 10000 msecs and check if Server ever gets connect request from server. If it doesn't then you can do your System.in, otherwise, it will wait for 10000 again..
    FYI, next time, please use [ code ] and [ / code ] to format your code. It discourage me to read plain whole-left-aligned code like yours.
    See: http://forum.java.sun.com/features.jsp#Formatting
    rgds,
    Alex

  • How to get the values inputted by the user in Classification view of  MM02

    Hello,
    Does anyone know how to get the inputted values in Classification view of MM02/MM01? I tried to use CLAF_CLASSIFICATION_OF_OBJECTS but this gets the values that is currently saved in the tables and not the values that the user recently inputted in the screen.
    Regards,
    Alfred

    hi
    try this...
    How to Display the Batch Characteristics in BOM?

  • How can I have a program prompt a user to input a selected number of simultaneous (different devices run off com/rs232 ports) and be able to compile all the data and/or graph it simultaneously?

    I have a project that I'm working on that I could use some help on.
    Some background on it is I'm taking data from a balance via RS-232 (can be a selectable list of balances), and then communicating with them on their own separate COM port. I need these to then run in parallel to then take masses in regular increments and then output them to a graph and/or TDMS file. 
    What I'm trying to have is that a subVI prompts the user to how many simultaneous runs will be going.
    Then I will want multiple pop prompts (one for each simultaneous run) which will have initial data input (data cluster) and then associate these with the COM port and the specified balance. 
    I initially thought of utilizing a For Loop this way but I can't get these windows to pop up multiple times while storing their own values in say a cluster array. Can anyone give me any ideas to get me a little further?

    Cameron,
    I've created a prompt for the user to select the number or runs to be run simultaneously. 
    This then should trigger the amount of prompts the user needs to input - ie VISA resource, and headers to label the "samples".
    I want this to be done in multiples (somewhere around 1-10 simultaneous runs - bounded by the program) so that data points from multiple sources can be taken and graphed/saved to file. I just am having issues with the loop situation to be able to keep prompting the user X times and also output the data to the front panel. Originally i thought I could somehow manipulate a tab control container but I'm getting roadblocked. 
    Does that help you understand what I'm trying to do?
    I've attached an image of what I want the user to input for each sampling.
    Attachments:
    Capture11.JPG ‏24 KB

  • How can I have the user input two things to get result

    Hi
    I am trying to produce an interactive slide where the user will input two items and then receive the result.
    The easiest way to describe what I am hoping to do is..........
    Imagine the multipllication table and the user has to input what he wants to mulitiply ie 3 in the first text entry box and 5 in the next presses the button and the result is shown.
    Now imagine the table isn't a mathematical table but a series of words across the x and y axis. The user inputs Word A, Word B and presses submit and the answer (another word) depending on the two inputs appears. There would be 12 x12 table so 144 different combinations.
    Is this possible in Captivate 7?
    thanks
    Ruth

    HI
    There is little relationship between the two, this isn't actually the table but the same principle and shows what I am trying to acheive.
    cookies
    muffins
    cupcakes
    chicken roast
    crispies
    gas mark 1
    great idea
    gas mark 2
    great idea
    flapjacks
    gas mark 2
    gas mark 3
    350 C
    450F
    roast potatoes
    impossible
    great idea
    gas mark 3
    450F
    parsnips
    great idea
    350 C
    gas mark 3
    impossible
    thanks
    Ruth

  • Updating data in User Event doesn't propogate to uses of the User Event type

    So I have a user event which is seeded with a cluster in which there are a few typedefs. Now, as you might expect, I have to pass the user event to different VIs so that they can trigger the events which are interpretted by a main vi. Pretty simple and all is happy. There's one rub though: one of my vis which is passed the user event is called by reference. The call by reference vi requires a certain vi pattern when you create the reference for the vi (namely, a strictly typed vi reference), which includes the user event type. Now, sometimes, I update the typedefs in the data type of the user event. This means that user event type changes. Now, what's maybe not too surprising, is that either the user event type doesn't update with the type def or that the type specifier vi constant doesn't update with the change in user event type. This means that every time I have to go back and create a type specifier based on the updated pattern for the vi which takes the user event as an input.
    Is there a way for labview to automatically do this? One way to fix it, I'm sure, is to change the user event input into the vi I call by reference to a variant. Then inside the vi I call, to type cast the variant with the output of a Create User Event vi that has been seeded with the appropriate cluster of typdefs. But that seems pretty silly (like, why not just make EVERYTHING a variant). Any ideas?
    - Chris

    Take a static VI reference (from the app control palette), drag your subVI into it, right click it and make it strict and wire it into the type input for the Open VI Reference primitive. Now it should always update.
    Two more advantages you get from this is that now the VI is in memory, so it will automatically be included in your build and that you can use the VI Name (or VI Path) property from the static reference to get the name for the Open VI Reference primitive and it will always work correctly.
    Try to take over the world!

Maybe you are looking for

  • Problems with Apps on my Ipod Touch

    When My Ipod touch battery dies I have to redownload my apps. When the battery completly dies the apps no longer open adn I must reset all the settings and redownload. Anyone else have this problem or have any suggestions on how to fix this?

  • Hyperion Interactive reporting performance issue.

    Hi, We created a report in Hyperion Interactive reporting using Hyperion Essbase as database connection file . Report performance was good in Interactive reporting Studio we don't have any problem in studio. when we open the the report in Hyperion Wo

  • Change the Releated Integration Server for all Business Systems

    Hello, follow Scenario: We export the SLD entries from a Development System in a file. Now we want to import the Entries in our Prod.-System, and we have to assign (or change) to other Related Integration Server. e.g. the esported Business System has

  • Can the number of ethernet ports be increased from 3?

    Clearly I know that we cant weld another port onto the airport extreme but, I have 5 devices I need to run through the wireless network and the box only has 3. Is there any way to increase this number with perhaps a splitter or some add on device? Al

  • Presenter quiz action step upon a failing grade is not working.

    I am using Adobe Connect 9 and Presenter 8.  I have made a quiz and added the action step that upon a failing grade (< 80%), that the quiz revert to slide 1.  I have allowed for 2 attempts.  This is not happening.  Nothing happens.  The quiz remains