Global variable to capture the username with Form 6i

Hello world
I have a menu created with Forms 6i and the shortcut that I use to call the menu in its target the following: C:\orant\BIN\ifrun60. EXE userid = name of user and password MYFORM. FMX
When I remove the user name and password of the target of the shortcut he asks me the user name and password so when I typed, I am authorized to enter the application, but I want to be able to store the username on a global variable and set the value on an item when the user selects the program that he or she wants to use , so they're not going to see the other users information.
Can someone please help me to do this step by step?

Thanks in advance!

Try: SOULEYMANE. VARIABLE: = USER;

The USER is a function that returns the user name, as SYSDATE returns the date.

Tags: Oracle Development

Similar Questions

  • After capturing the BIOS with srsetupwin64.exe a supervisor password is set

    After I capture the bios with srsetupwin64.exe settings, so a supervisor password to restart the computer. I have only to capture settings in the bios with the command "srsetupwin64.exe/c /kpap d:\" The command was not successful (no file exists), I get the message:

    ERR - passwords do not match

    Err (8) - secure information could not be written

    Model: T540p (20BFS05l00)

    SRSetup version: 2.11

    BIOS version: 2.19

    It's not understanding why now a supervisor password. Now, the device is not usable. Please help, respectively according to me a replacement is necessary, but I think it's a bug.

    Concerning

    OK, the books have been ordered from a pool. And lenovo has set a password for the supervisor for the books of the pool. Now, information has arrived to the technician :-)

    Sorry for the false alarm.

    Concerning

  • How to capture the username to login dialog before actual login on demand. as in the trigger LOGON IT I want to put a validation

    When the user launches the application we get connect dialog asking the USER name: PASSWORD: STRING: values.

    Once we enter these values, it will connect to this session. But I want to take the username before you actually connect to the database. How is it possible. I'll make a few validatios before opening SESSION or ONE CONNECTION.

    IM using form 11g

    Forms [32 bit] Version 11.1.2.1.0 (Production)

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    Oracle Toolkit Version 11.1.2.1.0 (Production)

    PL/SQL Version 11.1.0.7.0 (Production)

    Oracle V11.1.2.1.0 - Production procedure generator

    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)

    Query Oracle 11.1.2.1.0 - Production Designer

    Oracle virtual graphics system Version 11.1.2.1.0 (Production)

    The GUI tools Oracle Utilities Version 11.1.2.1.0 (Production)

    Oracle Multimedia Version 11.1.2.1.0 (Production)

    Oracle tools integration Version 11.1.2.1.0 (Production)

    Common tools Oracle zone Version 11.1.2.1.0

    Oracle CORE Production 11.1.0.7.0

    Some how WE-ERROR now works. seems that I made a mistake. I capture the error ORA-2391 he and custom message display.

    Thank you

  • Global variable setting within the chronology of the symbol, how?

    Hello!

    I came across a problem on board animate CC. I've set a global variable, in which I stores the name of a loaded composition and works peachy as long as it has defined (variable) on the main timeline. But I also need to change its value inside the mini menu, which is a symbol with its own timetable and actions. Symbol of the elements (menus) can read the overall (as expected) var on for example the click event, but I can't change its value. How can I do?

    Pawel

    K, obtained at the bottom of the present: After experimenting a little more, it turns out, I did nothing wrong, it's just that Edge animate Gets a little finicky with the order to execute commands. Moving from one line of code 'upward the lader' did, what I was trying to achieve for so long.

    Lesson learned: when you work with Edge, if something doesn't work and the code seems to be ok, try to rearange code, regardless of how stupid it sounds.

    Thanks for your help and your time, robboerman and resdesign. I appreciate it.

  • Apply the variable definition in the subclass with abstract method

    Hello

    It's his practice use? :
    public abstract class Base {
        private int importantPrivateVariable = setImportantPrivateVariable();
        protected abstract int setImportantPrivateVariable();
    }
    I want to apply the extension of the class to define a private variable, but there is no variable abstract in java, I can use a method for that.

    Thank you
    lemonboston

    Edit: the variable can be protected as well, I guess that's not important here, but correct me if I'm wrong

    lemonboston wrote:
    Hello

    It's his practice use? :

    I don't think it's so common, but it's easily understandable code. However, there are several problems with this approach:

    public abstract class Base {
    private int importantPrivateVariable = setImportantPrivateVariable();
    protected abstract int setImportantPrivateVariable();
    }
    

    I want to apply the extension of the class to define a private variable

    This is some what your code implements: your base class requires the subclasses to return an int value, and the Base class uses this value to assign to the variable.

    Therefore, the method should be called to (for example getInitialValueOfImportantVariable()+ to have a consistent naming with his signature (it returns a value, whereas a regular setter must declare a void return type: protected abstract void setImportantPrivateVariable (int someValue);).)

    Edit: the variable can be protected as well, I guess that's not important here.

    Well, Yes, it is 'important' - at least, there is a noticeable difference: the variable is private, the base class is free to treat it as seems it (for example, assign the value at construction time and never change it later). If the variable was protected, the subclass could change in ways and at times not known by the base class.

    but correct me if I'm wrong

    There is a trap in this construction: the method is called in the variable initializer, i.e., behind the scenes, about during execution of the Base, so before the constructor of the sub-class class constructor. For example, you call a method on an object that is not completely initialized (for example some of its attributes may always be null at this point). There is a rule that discourages this kind of situation, which goes something like "no calling private and unofficial constructor methods.

    To avoid this trap, two options:
    -requires an int argument in the constructor of the Base class, as suggested above
    -Don't be and set the value of the important variable in the code of the initializer or the constructor, but a special method in the base class instead:

    public abstract class Base {
        private int importantPrivateVariable; // default value is zero
    // or alternatively:
    //    private int importantPrivateVariable = ...; // Some default value
        protected abstract int getImportantPrivateVariable();
    
        public void initializeImportantPrivateVariable() {
            importantPrivateVariable = getImportantPrivateVariable();
        }
    }
    

    This construction is a degenerate form of a common model known as the model method (where a base class method calls usually several methods of the subclass in a specified order and with a specified sequence, allowing for the subclass to implement the details of the methods).

    The downside is that the client code (the one that uses the Base instance) must know when to call this initialization method, while initialization, a constructor-based allows the free client code of don't like do not at all.

    Much luck,

    J.

  • Can I use a global variable to determine the event?

    If I want to switch using MouseEvents or TouchEvents, can I use a global variable to switch between the two?

    For example,.

    var myEvent:String = new String();

    myEvent = "MouseEvent.MOUSE_UP."

    myEvent = "TouchEvent.TOUCH_TAP";

    myObject.addEventListener (myEvent, doFunction);

    This does not work, but I was wondering if there was a good way to achieve this so that I can switch between the modes of entry easily during the test across different devices?

    do not use quotation marks:

    var myEvent:String;

    myEvent = MouseEvent.MOUSE_UP;

    myEvent = TouchEvent.TOUCH_TAP;

    myObject.addEventListener (myEvent, doFunction);

  • How to trace the greatness of the variables compared to the timestamp with evenly spaced samples in time?

    Hello world. I need to trace the variable amplitudes compared to the timestamp (date and time), but the time intervals between samples are not equidistant. In my area, this is called trend plot. I'm surprised that Labview does not a vi to do this. The only solution that I found so far is to save the data in an Excel file and open this chart in Excel because it has the ability to trace what that this is against what whatsoever is not limited to something as even spaced samples. How to achieve this is Labview? A graph of waveform vi would be perfect if it was not by the fact that it works with even spaced samples.

    Thank you.

    Paulo Siqueira

    Your requirement is directly possible with LabVIEW.

    You can spend time to understand the difference between 'Chart', 'Graph' and "Graph XY".

    VI attached is drawing samples of unequal time.

    Hint:-right click on the 'XY' graph-> properties-> display-> 'Axis of X' = absolute time Format

    Kind regards

    Yogesh Redemptor

  • Bind variables (how replace the placeholders with the same value?)

    Hello, I have a code like this:
      procedure getAllTasks(o_cursor                      in out PKG_APPLICATION.rc,
                            in_filter_project_id          in T_FCT_TASK.project_id%type default -1,
                            in_filter_scope_id            in T_FCT_TASK.scope_id%type default -1,
                            in_filter_user_creator_id     in T_FCT_TASK.user_creator_id%type default -1,
                            in_filter_priority_id         in T_HST_TASK.priority_id%type default -1,
                            in_filter_status_id           in T_HST_TASK.status_id%type default -1,
                            in_filter_user_responsible_id in T_HST_TASK.user_responsible_id%type default -1,
                            in_pagination_first           in integer,
                            in_pagination_last            in integer) is
        v_query varchar2(4000) := v_query_allTasks || v_query_whereFilter;
      begin
        PKG_APPLICATION.setPagination(v_query);
      
        PKG_LOG.debug('query: ' || v_query, PCK);
      
        open o_cursor for v_query
          using in_filter_project_id, in_filter_scope_id, in_filter_user_creator_id, in_filter_priority_id, in_filter_status_id, in_filter_user_responsible_id, in_pagination_last, in_pagination_first;
      end;
    The variable v_query contains:
    SELECT * FROM (SELECT A.*, ROWNUM AS RNUM
                      FROM (
        SELECT task_id, project_id, project_name, scope_id, scope_name, user_creator_id, user_creator_login, title, description,
               priority_id, priority_name, status_id, status_name, user_responsible_id, user_responsible_login, due_date,
               last_modified_by_id, last_modified_by_login, last_modified
          FROM V_FCT_TASK
        WHERE project_id          = decode(:1, -1, project_id, :1)
          and scope_id            = decode(:2, -1, scope_id, :2)   
          and user_creator_id     = decode(:3, -1, user_creator_id, :3)   
          and priority_id         = decode(:4, -1, priority_id, :4)   
          and status_id           = decode(:5, -1, status_id, :5)   
          and user_responsible_id = decode(:6, -1, user_responsible_id, :6)   
      ) A
                      WHERE ROWNUM <= :LAST)
                WHERE :FIRST <= RNUM
    Note that placeholders: 1: 2,...: 5 appears 2 times in the query.

    Is there a more elegant way to say that *: 1 * must be replaced by in_filter_project_id, *: 2 * by in_filter_scope_id without having twice in the USING clause these variables? If this is not the case, why the placeholders have name, if you can only refer to their position (order)?

    Thanks for all replies.

    Hi Adam,.

    text taken from http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/11_dynam.htm

    Duplicate use of Placeholders

    Placeholders in a dynamic SQL statement associated with the arguments of bind in the USING clause of position, and not by name. Thus, if the same placeholder appears two times or more in the SQL statement, each appearance must correspond to a bind argument in the USING clause. For example, if the dynamic string

    sql_stmt := 'INSERT INTO payroll VALUES (:x, :x, :y, :x)';
    

    you could code the corresponding USING clause as follows:

    EXECUTE IMMEDIATE sql_stmt USING a, a, b, a;
    

    However, only the unique placeholders in a dynamic PL/SQL block are associated with bind arguments in the USING clause of position. Thus, if the same placeholder appears two times or more in a PL/SQL block, all appearances correspond to a single argument to bind in the USING clause. In the example below, the first unique placeholder (x) is associated with the first bind argument (one). Similarly, the second unique space reserved (y) is associated with the second argument to bind (b).

    DECLARE
       a NUMBER := 4;
       b NUMBER := 7;
    BEGIN
       plsql_block := 'BEGIN calc_stats(:x, :x, :y, :x); END;'
       EXECUTE IMMEDIATE plsql_block USING a, b;
       ...
    END;
    

    Hope this helps
    Christian Balz

  • Having problems capturing the image with 2 cameras and the PCIe-1430

    I have problems of switching between my two cameras and breaking or capture images in Labview or MAX. I can switch between cameras and capture images very well so that in the Vision Development Module, but not in Labview or MAX. However, it does not work the first time I have capture an image of a port, but not after that.

    This the error I get LabVIEW:

    1074397150 error occurred at Snap.vi IMAQ

    Possible reasons:

    NOR-IMAQ: A timeout error has occurred while you wait for it
    specified event.  If you expect a picture, check that all the videos
    data are acquired during the period.  If waiting for a
    signal, check that the assertion of signal occurs within the time limit
    period.

    This error I get from MAX:

    The IMAQ error

    Error 0xBFF60022

    A timeout error occurred while you wait for the specified event.
    If you expect a picture, make sure all video data is acquired
    during the period. If you wait for a signal, check that the
    affirmation of signal occurs within the time limit.

    The following list is what I currently use:

    1 card PCIe-1430

    2 cameras JAI Pulnix CM-140MCL

    LabVIEW 9000 f3

    Vision Assistant build 20090611041452

    MAX 4.6

    NEITHER Vision 9.0

    IMAQ 4.3


  • With the help of semaphore with a Global Variable - correct use?

    Hi all

    I looked in the use of global variables and in my case, it seemed with the help of a semaphore is the appropriate solution.

    In my case, I use a global variable to store the State of the system. Asynchronous two with screw environment (same VI) will follow two COM ports to see if they get a ' login:' command prompt. If the COM port is associated with Alpha, Charlie, or Echo, it increments by 1, and if it is associated with the Bravo, Delta, or Foxtrot, is incremented by 2 GV. If the GV is 3, the rest of the code will run. In this case, it must be a port COM A, C or E; the other should be B, D or F.

    A VI parent is called inside a loop. He works for the first loop. He never adds up to 3 on the second loop, however. I can't understand why. Please let me know if my code is a poor use of semaphores, or if there is debugging I can try.

    I'm still relatively new to LV, so I'm sorry if my screws are difficult to read. I created this in LV2011.

    Thanks for any help!

    CelerityEDS wrote:

    The output of my time looping (wait GV = 3) goes to the structure of the case on the bottom right (clear SGS, PasswordEntry, etc.), so the GV get indeed consulted by the upper case structure right.

    ??

    Your right upper case structure does not run until your time ends in a loop.  The while loop does not stop until the total is equal to 3.  Where can increment you the world besides structures case you cannot yet?

    Have you tried in your point culminating execution of the VI in order to see how they are actually running?

    Another problem that I see.  Assuming that your first while the loop is going to end.  In the structures of your case, you lock the semaphore.  But you can never unlock the semaphore unless you have the right combination of conditions that allow you to get to the case that unlocks the semaphore.  The conditions are based on data that are read before the start of the case of structure, which means that data will not be read and changed until it all ends.  You have the timeout of your lock semaphore connected on one of the cases, but your semaphore lock can never timeout because you do not have a value on his entry time-out.  I think you have a situation where you can lock a semaphore, then arrive at a situation where you can not unlock, then wind locking up of your cold code.

    I don't really think that you need a semaphore at all.  I think you can protect reading and writing functional your overall using a global variable, i.e. the motor action.  Overall, I think you need to rethink the architecture of your code.

  • I don't get to use the global variable. Take a look in my form, please.

    Hello.

    I'm ashamed. I'm not able to use a base on the LiveCyle feature: Global Variable / object.

    I have a textfield for the user to put your name. Then, the user must click at the base. His name and value must be of value to a global variable, then I would use this value in any form.

    This look at my example I would use this value.

    https://Acrobat.com/#d=k0YlC1MXEdVTh1g2TXAJxw

    What is the error? I tried to put as a global variable, but it does not work.

    PS: Call of the value using textfield (TextField.rawValue = TextField2.rawValue), it works fine, but I prefer to use the variable

    Thank you very much.

    Hi Rafael,.

    I'm good thanks

    I do not know if I understood the question, but I think you're asking if it is possible to have a field that displays the value of a global variable (i.e. the 'view' you refer to), which is updated automatically via scripts of calculation or similar to but not dependent on another event, such as 'click '.

    In my view, using a linked across the object world is the only way, and you are right - it is certainly easier.

    Please let me know if I've not understood the question

    Thank you

    Tim

  • How to declare global variables with the help of another global variable in ODI

    I declare a variable gloabal using another global variable.
    Suppose for example that:

    I have a global variable empid.
    I'm decalaring an another global variable empname refreshing the global variables tab and select statement is

    Select empname emp where empno = #GLOBAL .empid - if I write like this I get the error message like character not valid.

    Select empname emp where empno = ' #GLOBAL.empid '-if I write like this I get the error message in the number not valid.

    I kept the datatype as digital and non-persistent action

    Help, please

    Thank you in advance.

    Hello

    You must perform this operation from a package.

    V1 (COOLING MODE) - OK---> V2 (REFRESH MODE)

    Thank you
    Fati

  • Setting the value of an element of Application (defining a global variable);

    Apex 3.2.0.00.27, I need to initialize a global variable to 0 to implement a variable to test to see if something on the page has changed. Will update to 1 when some lists of selection on the page are changed. Read through a few similar questions and answers within the forum, as well as blogs and other sites. So, I think that what I do is the way forward in this regard. Unfortunately, my point/global application initialization is not past yet. Here's an overview of what has been implemented:

    1) has created an element of demand, G_CLASSIFICATION_ID_NEW in the shared components.
    (2) created the Javascript (JS) function called by addLoadEvent area header html page so when the page is loaded, the application global/G_CLASSIFICATION_ID_NEW element should be set to 0 with the following JS and using AJAX and htmldb_GET:

    < script type = "text/javascript" >
    function initVars()
    {
    Alert ("before the initvars get");
    get var = new htmldb_Get (null, $x('pFlowId').value, null, 22);
    Get.Add ('G_CLASSIFICATION_ID_NEW', 0);
    gReturn = get.get ();
    {if (gReturn)}
    Alert (gReturn.value);
    }
    get = null;
    Alert ("after get initvars");
    }

    Alert ("before the call to the initpage");
    addLoadEvent (initVars ());
    < /script >

    I used the htmldb_Get successfully to populate other global variables and processes on request with onchange THAT JS call in the attributes of html form elements select list on the page. Later, I check the globals via the Session view and research on elements of Application. Unfortunately, I'm missing something, because my G_CLASSIFICATION_ID_NEW never gets filled when I load the page. The Alerts popup every when the page is loaded, so I know that the script is running when the page loads. alert (gReturn.value) is not defined. And, of course, the G_CLASSIFICATION_ID_NEW to 0 does not place.

    I tried the htmldb_Get with her call for a process of application and without (null value). What I read, you should not need to call an application process to have the get.add of the value of the global variable. Here again, this could be where I'm wrong. However, as I mentioned, it works for the other functions called from an onchange to fill a part of the application, but the page has already loaded when the onchange (s) executed. They can work because the page is already loaded when the onchange is called. My point here is that my other on application processes are NOT set or modify global variables at all. The globals are preparing with the get.add (< element app >, < value >) part of my other JS works within the HTML header area. So I'm inclined to believe that I don't need 'application_process = < some_odp >' set parameter, but if it is not true, please let me know. If so, what should be in the application process-that is to say, what would be the purpose of the get.add (< application item >, < value >) if I set the global variable in the application process on because it's the only thing I could think to do within an application process on for this?

    If someone can point out what I'm not understand or, failing to do it here, that would be great. I am doing fine with APEX, but don't consider myself a guru with it immediately. I'm certainly not a JS/AJAX guru, and when things like that, go astray, I get bogged down because I'm not sure of the problem. So, I hope that you gurus who monitor this forum can get going in the right direction.

    Thank you
    Bob

    Hello

    Create page 0 (zero) to your application.
    Then try this javascript in your HTML page header

    
    

    BR, Jari

  • Global variable in the progress bar

    I have an existing labview code that consists of a main vi, which is the GUI user, and several (about 70) under vi. I am trying to add a progress bar on the screen before (user GUI) which will be immediately after it hits certain sections of code. I write this using a global variable to store the value of the status and any attempt in the main on-screen progress bar after each increment. Is there a way to link the main progress bar value to the global variable so that it updates as soon as the value is incremented? The problem that I am facing is that when I update the global variable in a Subvi, the progress bar takes the value of the Sub - VI is finished, all the numbers to jump between the two. I know it's because I do not correctly write to the progress bar, but I don't know how to do. If this isn't a good method, are there any suggestions?

    For example:

    SubVi2 SubVi1 Vi main

    (1-4)                (5-8)             (8-12)

    Progress bar: 1 2 3 4 8 12

    (I tried the Progress Bar Library OR offer, but I need a progress bar on the front panel, not a sound upward, so I can debug for code execution)

    Thank you - Adam

    I would go with a motor of Action update the progress bar VIA referance Server vi.  Here is an example of the use of a side effect I have to make this kind of progress bar.

    If you have not read Ben nugget of action engine, it should be mandatory, you can find here

    By building a "resource module" (a special AE that keeps a referance to the resource to act on) after initializint EI, you can call any 'method' on the resorce from anywhere in the instance of the application.  These babys really allow you to do interesting things to the GUI from around where the real action takes place.

  • Create the global variable

    I am new to animate. Please can you tell me how I can declare a global variable?

    I try to have a single button that plays the next 10 frames, another button that plays the next 20 images. I put the event listeners for the buttons on the first image. I'm putting the code on the timeline each 10 images that works if the game has to stop. I would like to connect with some global Boolean values. The project is the html canvas.

    It must be simple. Can you help me?

    Scope of variables in canvas mode:

    myVar = 1; variable is accessible everywhere in the current page

    this.myVar = 1; variable is accessible in all the images of the current clip

    var myVar = 1; variable is accessible in the current context only

    So yes, the creation of a global variable is simple the most.

Maybe you are looking for

  • Cannot install OS (10.6.3) on 2007 MacBook Pro.

    Hello world! Since my Macbook Air drowned, I bought a MacBook Pro opportunity. The previous owner completely wiped off everything so there is no operating system when booting it shows only the folder with the question mark. We are talking MacBook Pro

  • Cannot add photos to my Gallery of photos from my PC

    Tonight I have successfully downloaded a picture from my PC to my photostream (clicked right on the photo/add to the shared album). Went to charge a second picture and all of a sudden cannot download any photo to any photostream. It manifests and all

  • USB ports on the Satellite P10-340 does not

    On Christmas day, my son had problems loading PC games on my laptop. After several attempts, he gave up eventually pointing upwards. During an attempt, he started typing on the keyboard and by dragging the mouse in all directions in anger. As it happ

  • video and slow pc

    I have a Dell dimension3000 and use AOL as my browser... the system is extremely slow and when I try to play videos the video freezes or stops and starts... I have broadband with my cable co

  • After that the most recent windows update, my computer starts a little more slowly and the start bar at the bottom rises gray and rasterized.

    After that the most recent windows update, my computer starts a little more slowly and the start bar at the bottom rises gray and rasterized. In addition, all pages that I opened on the internet are coming with the same blocks of old, gray. Any ideas