Variable window with hint

Hi,
I have a query with variable, and I want to display a message to the user about the input, something like this (note the hint keyword):
select * from emp
where deptno = &<name=”Department number”
hint=”Only employees from this department will be listed”>
order by enameIt doesn't work for me, how can I do it?
Thanks

Solomon Yakobson wrote:
It is not clear what you are trying to do. In SQL*Plus you could:
SQL> set verify off
SQL> set define on
SQL> ACCEPT deptno FORMAT 99 PROMPT "Enter department number. Only employees from this department will be listed "
Enter department number. Only employees from this department will be listed 10
SQL> select  *
2    from  emp
3    where deptno = &deptno
4  /
EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
7782 CLARK      MANAGER         7839 09-JUN-81       2450                    10
7839 KING       PRESIDENT            17-NOV-81       5000                    10
7934 MILLER     CLERK           7782 23-JAN-82       1300                    10
SQL> SY.Actually, it worked for me!
i didn't know that sqlplus is built-in my plsql developer.
thanks
Edited by: 998093 on 07:29 09/05/2013

Similar Messages

  • Issue with Printing Email ID in Variable Window

    Hi,
    I have to print the email ID on variable window, please find below the details below how the declaration is given in change editor.
       I1  ,,<B>Remittance Advice</>
       I1   ,,<B>Remit To:</>
       I1     ,,Accounts Receivable Department
       I1      ,,Fax:   +64 7 839 8113
       I1      email: xyz.co
    when i am doing test print the email id xyz.com is not getting printed on the window rest of the information is getting printed.
    PLease suggest the possible cause and how to resolve it.
    Regards,
    Vikas

    Hi
    Keep a blank line after e mail display and try. It is not good idea but for checking purpose.
    Shiva

  • Closing active terminal window with applescript

    I made a very basic script to lock my screen, and I like how it works. Some of my co-workers would also like it but it has one problem.
    When the script runs, a terminal box pops up at the end saying [process complete]. I can click through this and I don't care, they do.
    I can't just killall terminal because we use terminal and that could kill our work.
    We sometimes need to see output from a script and like the process complete, so don't want to reconfigure our systems to never display it.
    I'm trying to find a way to use applescript or something to kill the active terminal window, or the window with the title of LockScreen or something.
    Anyone have an idea?
    I was hoping something like this would exist but it doesn't seem to: tell application "Terminal" to close window

    Here is an easy approach.  Start Applications -> Automator
    Select Application
    In Automator search for "Start Screen Saver".  This should be under Library->Utilities
    Drag "Start Screen Saver" to the right side panel.
    Save the Automator app.
    If the user has System Preferencs -> Security -> Require Password ... set, then one the screen saver has started running, it will require the user to enter their password before getting control back.
    This Automator app can be double clicked, it will not require the terminal.
    With respect to your script.  If this is a shell script, AND if you wish to continue using it, then you could create an Automator app that uses "Run Shell Script" under Automator Library->Utilities.  This will also NOT require the use of Terminal, however, be aware that when Automator runs a shell script it DOES NOT have the same environment as when you are running a shell script at your Terminal prompt.  There are very few environment variables set, and for example the USER, HOME, current working directory, PATH, etc... may not be the same.  If you have dependencies on specific environment information, you may want to write a simple automator script the using "Run Shell Script" to output various environment information into a file so you can see what you have to work with
    (id -a
    pwd
    echo "$#"
    echo "$@"
    printenv
    ) >/tmp/automator.environment.txt

  • How to pop-up Outlook Email window with To: blank?

    Hi All,
    I currently have a page which shows multiple rows with checkboxes. I have an After Submit process which loops through the rows and stores some values of the checked rows into a variable to be used as the body of an email. I then call apex_mail.send() to send the email.
    Instead of prepopulating a TO: address within the process and have it send automatically, I would like to have Outlook pop-up the email window with the body prepopulated as mentioned above but with the TO: address box null so that the user can select the address from Outlook's Address Book.
    Any help/advice would be greatly appreciated!
    Thanks,
    Jason

    1: Yup.. It would look something like this:
    <a href="mailto:?body=aslkdjldfks">Open Email</a>  the # should read:
    "mailto:?body=aslkdjldfks"
    2: If you go this route, there are a few things you need to remember:
    The mailto tag is client side. So you would have to generate the javascript on the server and print it out on the client.
    If your users do not have Outlook, or another mail client, this will do nothing.
    If you have a really long message body it will not work.
    If you have weird characters you will need to encode these.
    So, if you still think that the mailto is what you need then here is some javascript that will auto open it for you:
    http://www.webmasterworld.com/javascript/3290040.htm

  • What is the difference between Constant Window, Variable Window,Main Window

    hello all
    what is the difference between 1) Constant Window
                                                2) Variable Window
                                                3) Main Window   in SAP SCRIPT

    Hi,
    Window Types
    When defining a form window, you must select a window type for the window.
    You can choose between three types:
    Constant Windows (CONST)
    Variable Windows (VAR)
    Main Windows (MAIN)
    Constant Windows (CONST)
    Starting with Release 4.0, the system internally processes windows of type CONST similar to windows of type VAR.
    Therefore, if you create a new window, always use type VAR.
    Variable Windows (VAR) 
    The contents of variable windows is processed again for each page, on which the window appears.
    The system outputs only as much text as fits into the window. Text exceeding the window size is truncated;
    the system does not trigger a page break. Unlike constant windows, the page windows declared as variable windows may have different sizes on different form pages.
    As far as the processing of the window contents is concerned, the system currently treats constant and variable windows alike.
    The only difference is that constant windows have the same size throughout the form.
    Main Windows (MAIN) 
    Each form must have one window of type MAIN. Such a window is called the main window of the form.
    For SAPscript forms, the main window has a central meaning:
    It controls the page break.
    It contains the text body that may cover several pages.
    It allows to fix text elements at the upper and lower margins of the allocated page window (for example, for column headings).
    As soon as a window of type MAIN is full, SAPscript automatically triggers a page break and continues to
    output the remaining text in the main window of the subsequent page. Page windows of type MAIN have the same width throughout the form.
    The SAPscript composer thus avoids reformatting of the text after each page break.
    If a page does not have a main window, the system implicitly processes all other windows of the page and continues with the subsequent page.
    This page must not call itself as subsequent page (recursive call), since this would produce an endless loop.
    In such a case, SAPscript terminates the output after three subsequent pages.
    For printing header lines or totals, the different output areas of the main window are of special importance.
    go through this links:
    In Scripts Variable window and constant wind difference?
    Main Window
    Re: Main Window in SAP Script
    What is the difference between Constant window and variable window?
    Regards
    Adil

  • "Object Variable or With Block Variable not set" Error on Adobe Presenter 8 Ribbon on PPT 2010/2007

    Returning back from Adobe training at KEDRIYA VIDYALAYA no 1  Jalhalli Bangalore when I started Powerpoint to use Adobe Presenter 8  I am getting : "Object Variable or With Block Variable not set " error on clicking any of the menu features of the Presenter Ribbon. My Config are :
    i)             WINDOWS XP SP 3
    ii)            POWERPOINT 2007 / 2010 ( for both same error is coming)
    iii)           MS XML Library 4.0 installed.
    iv)           Adobe Presenter 8
    I am using all liscenced copies of softwares.
    Hardware specs are also as per Minimum Adobe standards.
    I Have tried a lot removing Data Execution Prevention Mode , but all in vain the problem still exists
    Why is this happening. Please help.
    Kamal K Gupta
    PGT Comp. SC.
    KV No. 2 Srivijaya nagar

    This is not really a "Downloading, Installing, Setting Up" question; you may get better help if you ask in the Presenter forum.

  • Getting error "Object variable or with block variable not set" when trying to open a FR report in studio

    Problem Description
    We are on FR 11.1.2.2.305 installed on AIX. a user is getting this error: "Object variable or with block variable not set" when trying to open a FR report from FR studio client installed on windows xp . Initialy, we thought it may be a FR client installion issue. We uninstalled and cleaned up registry and did a fresh installation of the client but the issue still persists. The FR server and the client are on the same version.
    The user is a LDAP user who is facing the issue. We have confirmed with other users and they dont have any issue accessing FR report from their own client but when they try to connect from the users machine who is having issues, the others users also see the above error. All the users are ldap users and all belong to same shared services groups so the provisiong is the same.
    Any input will be appreciated.
    Thanks

    OK, in this case of one single computer, please make sure that settings as per below KB document as in place and then validate the issue:
    Internet Explorer (IE7, IE8, IE9 and IE10) Recommended Settings for Oracle Hyperion Products (Doc ID 820892.1)
    The information in this document applies to the following Enterprise Performance Management products:
        Calculation Manager
        Data Relationship Management (DRM)
        Enterprise Performance Management Architect (EPMA)
        EPM Workspace
        Essbase Administration Services (EAS)
        Financial Data Quality Management (FDM)
        Financial Management (HFM)
        Financial Reporting
        Foundation Services
        Interactive Reporting
        Planning
        Shared Services
        Web Analysis
    Thanks!

  • Object variable or With block variable not set error message

    When processing the Rate application I get a "Object variable or With block variable not set error message" What is causing this error and how do I fix it?

    Hi Brian,
    I'm afraid that in some ways this reply won't be very helpful though it may help you save some time. 
    The error message you describe is a very generic one thrown by Microsoft .NET (the programming platform that SAP is written with, see the link at the bottom of this message) and not being 'handled' by SAP. 
    This means from a SAP perspective that any one of many unrelated things may be causing the error and that it gives you virtually no help in tracking the problem down in SAP.
    We've plagued by this message quite a bit, my advice is to look for clues at to what may be happening elsewhere, e.g. try:
    1. The windows event viewer, if you are in a multi-server environment then check the event log on all machines.
    2. The SQL Server event log (this can be found in Management Studio - Management - SQL Server Logs assuming you're using SQL Server 2005)
    3. IIS logs, usually these are text files in the following location -
    HTTP.SYS Error Log - %windir%\System32\LogFiles\HTTPERR
    IIS Website Log - %windir%\System32\LogFiles\W3SVC#
    It is dull work trawling through all these places looking for error events with a timestamp similar to the time your error was encountered, but by doing this we've been able to troubleshoot some issues that otherwise would have taken us ages to rectify via trial and error.
    Sorry that there is no definitive answer, but if itu2019s of any help there's many more of us out there who this error message causes trouble for.
    Regards,
    Iain
    Microsoft "Object variable or With block variable not set" error message link:
    http://support.microsoft.com/kb/316478

  • "Object variable or With block variable not set" error

    I have Presenter 6.2 installed into PowerPoint 2007 on a XP
    operating system. I have successfully used this product a couple of
    months ago.
    Evidently now I am getting an Adobe Presenter error prompt
    that says "Object variable or With block variable not set" for
    every feature I click on in PP.
    I have reinstalled Presenter to see if that would fix it. It
    did not. I uninstalled/deleted it from my PC and then installed a
    fresh copy. I still get the same issue prompt.
    Has anyone experienced this and if so got any suggestions on
    how to fix it?

    I am having the same problem, and I have since I installed this  add-in a month ago, honestly I am wondering why people use this  product.  Others around me are not having this issue so I don't know  what is going on.
    I have called Adobe 3 times,
    I  tried uninstalling and re-installing Presenter - no luck
    I tried  disabling and enabling the add-in - no luck
    I updated to version  7.0.5, http://www.adobe.com/support/downloads/product.jsp?product=153&platform=Windows   (make sure you install 7.0.1, then 7.0.2, then 7.0.5 in this order)  still  had problems - but I did just find this post from 2009, and I am going  to try starting a new presentation (updates would not help a current  PP), which really is not great because I have a 60 slide class at this  time.
    http://forums.adobe.com/message/2332717#2332717
    Give  it a try and let me know if it works or if you find a solution!

  • Error during precalculation Object variable or With block variable not set.

    Hi
    We are tyring to set up a precal server for broadcasting. The precal server is running on a windows 2003 server and the service is running under a local admin account.
    When we try to run a test workbook, we get the email with the workbook, but there is no data in it.
    The Precal server shows us the following log:
    Connection transfer server BIPRD service sapgw00 system number
    S:RSRPREC:000 BIPRD sapgw00  ALEX
    S:RSRPREC:000 BIPRD sapgw00  ALEX
    S:RSRPREC:000 BIPRD sapgw00  ALEX
    S:RSRPREC:000 BIPRD sapgw00  ALEX
    S:RSRPREC:000 BIPRD sapgw00  ALEX
    Precalculation request type: E, printer: , variant:
    Request dispatched to precalculation DLL
    S:RSRPREC:000 E   ALEX
    S:RSRPREC:000 E   ALEX
    Unresolved exception occurred on the precalculation server
    E
    Error during precalculation Object variable or With block variable not set.
    S:RSRPREC:000  Object[] args  String[] paramnames  Boolean[] CopyBack) ALEX
    S:RSRPREC:000  DataTable iServerProperties  DataTable iVarTable)  Boolean[] CopyBack) ALEX
    S:RSRPREC:000  DataTable iServerProperties  DataTable iVarTable)  Boolean[] CopyBack) ALEX
    S:RSRPREC:000  DataTable iServerProperties  DataTable iVarTable)  Boolean[] CopyBack) ALEX
    Application server requires status report
    Application server requires status report
    Has anyone seen this issue?
    Please let us know, if anyone has any ideas.
    Thanks

    Does the query in the workbook require variable input, and, if so, have you provided a variant in the precalculation setting?

  • What exactly is the diff between main window and variable window

    what exactly is the diff between main window and variable window in SAP script?

    hi,
    MAIN WINDOW :- In a main window you display text and data, which can cover several pages (flow text). As soon as a main window is completely filled with text and data, the system continues displaying the text in the main window of the next page. It automatically triggers the page break.
    You can define only have one window in a form as main window.
    The main window must have the same width on each page, but can differ in height.
    A page without main window must not call itself as next page, since this would trigger an endless loop. In such a case, the system automatically terminates after three pages.
    VARIABLE WINDOW :- The contents of variable windows is processed again for each page, on which the window appears. The system outputs only as much text as fits into the window. Text exceeding the window size is truncated; the system does not trigger a page break. Unlike constant windows, the page windows declared as variable windows may have different sizes on different form pages.
    As far as the processing of the window contents is concerned, the system currently treats constant and variable windows alike. The only difference is that constant windows have the same size throughout the form.
    hope this will be useful.
    If useful then reward points.
    with regards,
    Syed

  • SCRIPT  LOOP IN VARIABLE WINDOW

    HI
    I WOULD LIKE TO KNOW HOW IS IT POSSIBLE TO HAVE MULTIPLE LINES ITEMS IN VARIABLE WINDOW IN SCRIPT.
    THANX IN ADV
    MANOJ

    A variable window can have different contents on different pages. in the printprogram you arrange this.
    The possible with looping lines like in the main window isnot in a VAR window (i think).
    However you can put several lines in your VAR window and fill this directly in your printprogramm.
    It works otherwise but functional it is the same. You only have a maximum lines in your window but
    that is with all windows except the MAIN.
    hope you can do something with this.
    Regards, Frank

  • Installation from Windows with a'n closed Display

    Hi, i have a big problem.
    On my Macbook pro ist the display broken and i must install windows with an extern TFT. Under Mac OSX is that not a Problem, it switch to the extern display.
    The installation-procedure from Windows activate the internal display (that was at me broken).
    Is there any hints or tips, so that i can install Windows with bootcamp on an externeal display?

    I doubt this is possible, and even if it was, it would not be advisable to use an OS that was installed on one computer, then move the installation to a computer with a different processor architecture. Doing that is asking for trouble.
    If you have any further questions about Bootcamp, I suggest you post them in Apple's Bookcamp discussion forum.

  • Opening new applet windows with button

    I'm having a bit of trouble. I have this button when you click it, would open up another window with text in it. That works perfectly. But when I try to add another button for another window, it doesn't go perfectly.
    I took out the useless code to show you the main stuff I'm working with.
    import java.awt.*;
    import java.applet.*;
    public class HorseRacing extends Applet
        CustomFrame gameWindow;
        CustomFrame creditWindow;
        Button openGame, openCredit;
        Image redHorse, yellowHorse, blueHorse, orangeHorse;
        public void init()         
              //Initializes the images
            redHorse = getImage(getCodeBase(), "../classes/horsered.GIF");
            yellowHorse = getImage(getCodeBase(), "../classes/horseyellow.GIF");
            blueHorse = getImage(getCodeBase(), "../classes/horseblue.GIF");
            orangeHorse = getImage(getCodeBase(), "../classes/horseorange.GIF");
              //Instructions window
            gameWindow= new CustomFrame("21 Century Horse Racing - Instructions", redHorse);
              openGame=new Button("View Instructions");
              add(openGame);
              //Credit window
              creditWindow=new CustomFrame2("21 Century Horse Racing - Credits");
              openCredit=new Button("View Credits");
              add(openCredit);
        //  Method Name: action()
        //  Parameters Passed: Event variable evt, Object varible obj
        //  Data Returned: Variable true
        //  Method Purpose: This block responds when the user takes an action
        //                  (such as hitting the return key). It causes the paint
        //                  block to be done again
        public boolean action(Event evt, Object arg)
            Graphics screen=getGraphics();
               boolean visible=gameWindow.isShowing();
            boolean visible2=creditWindow.isShowing();
               if(evt.target instanceof Button)
                 if(visible)
                         gameWindow.hide();
                         openGame.setLabel("View Instructions");
                    else
                         gameWindow.show();
                         openGame.setLabel("Close Instructions");
                    if(visible2)
                         creditWindow.hide();
                         openCredit.setLabel("View Credits");
                    else
                         creditWindow.show();
                         openCredit.setLabel("Close Credits");
            return true;
    //  Name: Sachit Harish
    //  Name of Program: CustomFrame
    //  Date Started: May 15, 2003
    //  Date Finished: 2003
    //  Program Description: This is a racing game where the program will
    //                               generate random odds for the 4 horses. The user
    //                               can then choose their horse and place a bet.
    //                               The user will then see the horses race, and the
    //                               money will be handed out depending on the odds.
    class CustomFrame extends Frame
         CustomFrame(String title,Image redHorse)
              super(title);
              Graphics screen=getGraphics();
              //getClass().getResource("../classes/horsered.GIF").getImage();
              //redHorse=getImage("../classes/horsered.GIF");
              //screen.drawImage(redHorse, 0,0,10,10,this);
         public void init()
              setBackground(Color.gray);
         public void paint(Graphics screen)
              resize(430,280);
              screen.setColor(Color.lightGray);
              screen.fillRect(0,0,500,500);
              screen.setColor(Color.black);
              screen.drawRect(15,40,402,185);
              screen.drawRect(14,39,404,187);
              screen.setColor(Color.gray);
              screen.fillRect(16,41,401,24);
              screen.setColor(Color.black);
              screen.drawString("- - Instructions - -", 160,58);
              screen.drawLine(15,65,417,65);
              screen.drawString("    Once you start clicking on the checkboxes to choose your horse, the", 20,80);
              screen.drawString("odds will be created beside the horses. You can then select the horse",20,95);
              screen.drawString("you want with the checkboxes and in the input box place your bet amount",20,110);
              screen.drawString("Press enter to confirm your bet and click 'Race'.",20,125);
              screen.drawString("    The horses will then race, and once they finish, the winner will be",20,145);
              screen.drawString("displayed. If you didn't choose that horse, you will lose the money you",20,160);
              screen.drawString("bet. If you won, you will be payed out depending on the odds of that",20,175);
              screen.drawString("horse. Your bank will change according to how much money you lost or",20,190);
              screen.drawString("made. Once that is over, new odds will be created and you can play",20,205);
              screen.drawString("again.",20,220);
                 //Image title = getImage(getCodeBase(), "../classes/titlepicture.jpg");
            //screen.drawImage(title, 0,0,430,220,this);         
    //  Name: Sachit Harish
    //  Name of Program: CustomFrame
    //  Date Started: May 15, 2003
    //  Date Finished: 2003
    //  Program Description: This is a racing game where the program will
    //                               generate random odds for the 4 horses. The user
    //                               can then choose their horse and place a bet.
    //                               The user will then see the horses race, and the
    //                               money will be handed out depending on the odds.
    class CustomFrame2 extends Frame
         CustomFrame2(String title)
              super(title);
              Graphics screen=getGraphics();
              //getClass().getResource("../classes/horsered.GIF").getImage();
              //redHorse=getImage("../classes/horsered.GIF");
              //screen.drawImage(redHorse, 0,0,10,10,this);
         public void init()
              setBackground(Color.gray);
         public void paint(Graphics screen)
              resize(430,280);
              screen.setColor(Color.lightGray);
              screen.fillRect(0,0,500,500);
              screen.setColor(Color.black);
              screen.drawRect(15,40,402,185);
              screen.drawRect(14,39,404,187);
              screen.setColor(Color.gray);
              screen.fillRect(16,41,401,24);
              screen.setColor(Color.black);
              screen.drawString("- - Credits - -", 160,58);
              screen.drawLine(15,65,417,65);
              screen.drawString("    CREDITS", 20,80);
                 //Image title = getImage(getCodeBase(), "../classes/titlepicture.jpg");
            //screen.drawImage(title, 0,0,430,220,this);         
    }If I take away everything associated with the creditWindow, it will work. But when I add that in, I get problems.
    Also, I let in those redHorse, yellowHorse, blueHorse, and orangeHorse images because thats another problem I'm having - to get an image to work in one of those new windows.
    -s64

    What happens if you change to a modern action listener?

  • CVI 9.1.0 crashes when looking at variables window

    I get the following crash when I have my program at a breakpoint and I pop open the variables windows and try to scroll down to see my globals:
    EventType : BEX     P1 : cvi.exe     P2 : 9.1.0.427     P3 : 4afcd035    
    P4 : cvi.dll     P5 : 9.1.0.427     P6 : 4afcdb5b     P7 : 009d730e    
    P8 : c0000409     P9 : 00000000     
    Can anyone help with this?

    I am getting the exact same crash every time all of a sudden.  It seems to occur now that I've created a viSession variable and viFindlist variable..
    My main looks like:
    int main (int argc, char *argv[])
    int error = 0,j;
    static short addrList[31];
    static short listList[31];
    static int portList[255];
    int nPorts,index;
    char port_name[7];
    ViSession resourceManager;
    ViFindList findList;
    char desc[256];
    int numDevices;
    /* initialize and load resources */
    nullChk (InitCVIRTE (0, argv, 0));
    errChk (instHandle = LoadPanel (0, "Test Application Generator.uir", INST_SETUP));
    /* display the panel and run the user interface */
    errChk (DisplayPanel (instHandle));
    /*for (j=0;j<31;j++) {
    addrList[j] = j;
    addrList[30] = -1;
    SendIFC(0);
    FindLstn(0,addrList,listList,30);
    //Get list of available COM ports
    nPorts = LocateCom("",portList,255);
    for (index = 0; index < nPorts; index++) {
    sprintf(port_name,"COM%d",portList[index]);
    InsertListItem(instHandle,INST_SETUP_PORT_TYPE,-1,port_name,index); //Add to list
    index = viOpenDefaultRM(&resourceManager);
    viFindRsrc (resourceManager, "?*INSTR", &findList, &numDevices, desc);
    errChk (RunUserInterface ());
    Error:
    viClose(resourceManager);
    /* clean up */
    DiscardPanel (instHandle);
    //DiscardPanel (mainPanel);
    return 0;
     And I have a break on the viOpenDefaultRM function so it hasn't been ran.  And my variable looks fine except the variable resourceManager is blank.

Maybe you are looking for

  • "Capacity must be greater than 0" error message

    Hi experts, I'm having some issues when trying to full optimize my application (on BPC 5.1). I get the following error: Capacity must be greater than zero. Parameter name: Capacity Save application and process from Analysis Services work without a co

  • Execute a query in Jdeveloper using DB adpater

    Hi All , In jdeveloper, using DB adapter i want to execute the following query , select segment1,eng_item_flag from table_name where segment1 in ('itemnumber1','itemnumber2'); In the query the operation IN got used so could you please help me to proc

  • Form Values created by Loop

    I have created code that queries a database and creates a form with radio buttuns whoes names are dynamiclly created. How can i access them in my fom action page? code example below.

  • Support for XML / Web Service Data Source?

    <p>Do you know if and when Crystal Reports for Eclipse will support using the XML / Web Service data source?  It appears that only JDBC and Java Result Sets are currently supported.  I am using:</p><p>com.businessobjects.integration.eclipse.library_1

  • Will update lose projects in aperture 2?

    Will upgrading to Aperture 3 remove all the projects/albums I have organized in Aperture 2 or will they be moved into the new version?