Forms6i(urgent)(help me with code)

Hi all,
I am having table like this
CREATE TABLE SYS_PROFILE (
APP_CD VARCHAR2 (5),
LOCK_DT DATE,
AUDIT_DT DATE,
ST_DT DATE,
END_DT DATE)
There is global variable: global.sys_id.
This is supplied from the main menu.
On loading the form for the :global.sys_id = 'ST', it should load the third record (maximum start date for that app_id) automatically.
In case the user changes the start_dt then it should pick up that record and display.
to acheive this please help me with the code
Regards
Ni

Hello,
Firstly, please, avoid the "urgent" word in this forum. Nobody 's paid to answer questions, and there is no question that is more "urgent" than other.
You can filter a based block by 2 ways:
- set the Default_where block property
Set_Block_Property( 'the_block', DEFAULT_WHERE, 'the_new_where_clause');
- set the field content in a PRE-QUERY block-level trigger
:block.item := :GLOBAL.SYS_ID ;
Francois

Similar Messages

  • Urgent help needed with un-removable junk mail that froze Mail!!

    Urgent help needed with un-removable junk mail that froze Mail?
    I had 7 junk mails come in this morning, 5 went straight to junk and 2 more I junked.
    When I clicked on the Junk folder to empty it, it froze Mail and I can't click on anything, I had to force quit Mail and re-open it. When it re-opens the Junk folder is selected and it is froze, I can't do anything.
    I repaired permissions, it did nothing.
    I re-booted my computer, on opening Mail the In folder was selected, when I selected Junk, again, it locks up Mail and I can't select them to delete them?
    Anyone know how I can delete these Junk mails from my Junk folder without having to open Mail to do it as it would appear this will be the only solution to the problem.

    Hi Nigel
    If you hold the Shift key when opening the mail app, it will start up without any folders selected & no emails showing. Hopefully this will enable you to start Mail ok.
    Then from the Mail menus - choose Mailbox-Erase Junk Mail . The problem mail should now be in the trash. If there's nothing you want to retain from the Trash, you should now choose Mailbox- Erase Deleted Messages....
    If you need to double-check the Trash for anything you might want to retain, then view the Trash folder first, before using Erase Junk Mail & move anything you wish to keep to another folder.
    The shift key starts Mail in a sort of Safe mode.

  • Some urgent help needed with MobileMe suddenly saying my password is wrong

    Hi
    First of all I want to say sorry if this is in the wrong forum, but I needed some urgent help and I couldn't find a forum other than this that might relate to this issue.
    The issue that I am having is with my MobileMe Account. I was on my Mac, when when my MobileMe Account suddenly dropped its connection and told me that I had entered the wrong username or password (I know I hadn't) I tried to re-enter them but every time I try I just get a message that says I have entered the wrong username or password. I no longer have access to my Mail, I can not sing-in to MobileMe to access my online account and it wont let me change the password because it keeps saying that safari can not open the page.
    I can not sign-in to my MobileMe folders on my Mac and it wont sync. I was signed in perfectly fine before this happened so I know its nothing to-do with my password or user name.
    I am now locked out of MobileMe and need some help as to what might have went wrong
    Can someone please give me some quick help as this is really worrying me as I am afraid my MobileMe account might of been hacked (that is the kind of behaviour that I am seeing - saying that my username and password are wrong, when they are not, and not letting me sign in to change them)
    Huge thanks

    Ughhh,
    it seems my panic was for nothing. I just ran apple 24 hour support and they put it right for me it cost me but I'd rather be safe and pay then loose all the information I have on MobileMe. This has taught me a lesson anyway, I need to keep a backup of everything and not just rely on time machine

  • URGENT - HELP NEEDED WITH ECC 6.0 ACCESS KEY and USER SETUP

    Please help me with the two issues:
    1) In ECC 6.0, When I go to SE12 , table V-FAGL_ACTIVEC (New GL Activation) to make the table display and maintenance allowed, I am asked for the access key. What is the access key that I am supposed to put here. When I go to DEVACCESS table and put my username, I still dont get the access key.
    2) Also I need to know what should be maintained under SU01 to give a user all authorizations. I have SAP_ALL and SAP_NEW. Is there anyother profile need to be given here. Also do I need to give anything under roles tab in order for the user to have all accesses??

    OK I have TAR for this:
    TAR 4234076.996
    and related issue discussed in regards to 500 Internal Server Error described on Neverending frustration with JDeveloper
    with the TAR number
    TAR 4332393.995
    The latter has been demonstrated and confirmed to be a BUG at this point. For the future updates on this issue please refer to
    Neverending frustration with JDeveloper

  • Urgent help needed with Lucida Grande

    I have to use this font for a project, I can't get away with Lucida sans, it HAS to be Lucida Grande.
    I don't quite know what is going on but I have some text in Lucida Grande Regular which is all fine, I tried creating another text box but it's showing up as Lucida Grande Bold? I tried to change it to Regular but there's no option for it? When there is regular font right next to it?
    If this is something really simple I'm sorry! This is my first time using indesign, if it was my choice I would of used something I was more familiar with. The deadline is on Friday so it's urgent I get help so it doesn't get presented half bold half not.
    Using CS5, on Windows Vista

    Yes that's fine. Unfortunately is doens't show something obviously out of the ordinary.
    I gues the next ting is to see if the font is available in a new document. If it is, try this on the one giving you trouble: Remove minor corruption by exporting
    If not, you should look at: Replace Your Preferences

  • Urgent help need with Spry Submenu Bar

    Am new to Dreamweaver and do not use code. Am trying to align spry submenus directly below their respective spry menu bars. Please advise as to what CSS style I need to modify and what I should necessarily modify within that style.
    Thank you.

    Am new to Dreamweaver and do not use code.
    Welcome to Dreamweaver. If you don't use code, now is the time to start learning. Otherwise, everything you do in Dreamweaver is going to be an uphill struggle. Dreamweaver is a professional web development tool that requires at least a basic knowledge of both HTML and CSS. You can find a lot of CSS tutorials in the Adobe Developer Connection at http://www.adobe.com/devnet/dreamweaver/css.html.
    Spry submenus automatically line up with the main menu items, so it sounds as though you have done something to knock them out of alignment. The only way that anyone can help with design issues is for you to upload the problem page to a site, and post the URL here. Since you're new to both Dreamweaver and the forum, take a few moments to check out How to get help quickly and the Dreamweaver FAQ. Both should save you some time.

  • JTAPI + Xtapi: Urgent help needed with compensation.

    Hi
    I'm new to jtapi. I'm using xtapi implementation with the following statements in Outcall.java sample code.
    import javax.telephony.*;
    import javax.telephony.events.*;
    //import MyOutCallObserver;
    public class Outcall {
      public static final void main(String args[]) {
        Provider myprovider = null;
        try {
          JtapiPeer peer = JtapiPeerFactory.getJtapiPeer("net.xtapi.XJtapiPeer");
          myprovider = peer.getProvider("MSTAPI");
        } catch (Exception excp) {
          System.out.println("Can't get Provider: " + excp.toString());
          System.exit(0);
        Address origaddr = null;
        Terminal origterm = null;
        try {
          origaddr = myprovider.getAddress("1");
          //Just get some Terminal on this Address
          Terminal[] terminals = origaddr.getTerminals();
          if (terminals == null) {
            System.out.println("No Terminals on Address.");
            System.exit(0);
          origterm = terminals[0];
        } catch (Exception excp) {
          // Handle exceptions;
        // Create the telephone call object and add an observer.
         Call mycall = null;
        try {
          mycall = myprovider.createCall();
          mycall.addObserver(new MyOutCallObserver());
        } catch (Exception excp) {
          // Handle exceptions
        try {
          Connection c[] = mycall.connect(origterm, origaddr, "5149372568");
        } catch (Exception excp) {
          System.out.println(excp.toString());
    }I have dowloaded all the jar files (xtapi.jar, mstapisp.jar, jtapi1.2.jar) and added to the library in Netbeans IDE. And i have put Xtapi.dll in the source folder (same as Outcall.java).
    When I run the project I get the following error and the program hangs execution without finishing.
    javax.telephony.InvalidArgumentException
    MyOutCallObserver.callChangedEvent
    java.lang.NullPointerException
    java.lang.NullPointerException
    I believe the above exception come is from the below line in the code.
    origaddr = myprovider.getAddress("1");
    The getAddress( ) of the provider class throws InvalidArgumentException. Can some one help me in solving the error?
    Is this error has anything to do with the my modem or the xtapi.inf file. I want to know how to get the contents for xtapi.inf file and where to place it. I'm using US Robotics Fax modem. I also tried the same code in a system wich has intel voice modem, but got the same error.
    If some one has a complete source code for java application, which can pick and answer phone calls. If it has a link from pbx to voip through the modem, it will be really great. I'm ready to buy the code from you if its is working.
    Thanks in advance for the help.
    Harun.

    Problem solved.
    Actually the exception doesn't affect the running of the program. The problem was solved when i reinstalled the modem driver and tried again.

  • Urgent Help Requried with Logic

    Hi All,
    Here is the data
    Country Count
    India 1
    China 10
    USA 8
    Now I want to get the country name with maximum count.
    Can anyone quickly help me on this plz.
    :)

    > Is this forum only for COMPLEX questions?
    Not at all.
    I'm hard on postings that claim they have urgent complex Oracle problems. (it is not acceptable for anyone here to claim they have an urgent problem - truly urgent problems require official Oracle support)
    You barged into a forum. Attempted to jump the queue (so to speak) by trying to grab attention by shouting "urgent problem!! help!!". And then it was not even an Oracle problem!?
    That was a very selfish thing of you to do.

  • Urgent help needed with a CSC2310 project!

    Hello everyone. I have a project due tomorrow and it is not working correctly. I am not getting any errors but the output isnt right. The main problem arises when I open 2 accounts and then deposit an amount. I think my array setup is incorrect. The main program is called Bank3 and there is also a class called BankAccount which I havent posted in this message. I dont have any arrays declared in BankAccount and that might be a problem. Could anybody please tell me what to do to fix it? I would really appreciate help from you guys. Thanks a lot and here is my program:
    public class Bank3 {
        public static void main(String[] args) {
         int numaccount = 0;
         int currentacc=0;
         String[] currentaccount = new String[100];
         currentaccount[0] = "None selected";
         String[] accountnumber = new String[100];
         double[] accountbalance = new double[100];
         BankAccount  yourAccount = new BankAccount();
         while(true) {
              System.out.println();
              System.out.println("--------------------------------------------------------------");
              System.out.println("| Commands:   o  -  Open account         c  -  Close account |");
              System.out.println("|             d  -  Deposit              w  -  Withdraw      |");
              System.out.println("|             s  -  Select account       q  -  Quit          |");
              System.out.println("--------------------------------------------------------------");
              System.out.println();
              System.out.println("Current account :  " + currentaccount[currentacc] + "   Balance: $"
    + accountbalance [currentacc]);
              System.out.println();
              SimpleIO.prompt("Enter command: ");
              String command = SimpleIO.readLine();
              System.out.println();
         if(command.equalsIgnoreCase("o")) {
              SimpleIO.prompt("Enter new account number: ");
              String newaccnum = SimpleIO.readLine();
              accountnumber [numaccount] = newaccnum;
              currentaccount[numaccount] = accountnumber[numaccount];
              SimpleIO.prompt("Enter initial balance: ");
              String newaccbal = SimpleIO.readLine();
              double newbal = Convert.toDouble(newaccbal);
              yourAccount.deposit(newbal);
              accountbalance [numaccount] = yourAccount.getbalance();
              numaccount++;
              currentacc = numaccount-1;
         else if(command.equalsIgnoreCase("c")) {
              if(numaccount == 0)
                   System.out.println("Please select an account");
              else {
                   currentaccount[numaccount] = "None selected";
                   numaccount--;
              numaccount--;
         else if(command.equalsIgnoreCase("d")) {
              if(numaccount == 0)
                   System.out.println("Please select an account");
              else {
                   SimpleIO.prompt("Enter amount to deposit: ");
                   String depos = SimpleIO.readLine();
                   double amount = Convert.toDouble(depos);
                       yourAccount.deposit(amount);
                   accountbalance [numaccount] = yourAccount.getbalance();
         else if(command.equalsIgnoreCase("w")) {
              if(numaccount == 0)
                   System.out.println("Please select an account");
              else {
                   SimpleIO.prompt("Enter amount to withdraw: ");
                   String with = SimpleIO.readLine();
                   double amt = Convert.toDouble(with);                                        
                       yourAccount.withdraw(amt);               
                   accountbalance [numaccount] = yourAccount.getbalance();
         else if(command.equalsIgnoreCase("s")) {
              SimpleIO.prompt("Enter account number: ");
              String search = SimpleIO.readLine();
              int i;
              for(i=0; i<numaccount; i++) {
                   accountnumber = yourAccount.getnumber();
                   if(accountnumber.equals(search))
                        break; }
              if(i><numaccount)
                   currentaccount[numaccount] = accountnumber;
         else if(command.equalsIgnoreCase("q")) {
              break;
         else {
              System.out.println("Command was not recognized; please try again.");
              System.out.println();

    What would this replace or what effect does this have on the program?Your approach in using parallel arrays works. But it is not object oriented programming, which I am guessing is the whole point of the exercise.
    Replacing the multiple arrays with one array of bank account objects that makes your code simpler.
    Currently you have a seperate array for the accountnumber, and amount in it. You are using the arrays "in parallel" because accountNumber[x] has amount[x] in it.
    Simpler:
    - You only have one array to deal with rather than 3.
    - You can deal with the concept of a "BankAccount" on its own.
    Currently all your operations affect arrays.
    However deposit/withdraw should only worry about the currently selected account.
    If you only wanted to affect one account, you can pass that BankAccount object as a parameter. Right now you would have to pass all your arrays, plus the index into the array to specify which to use.
    So when you open an account
    1 - create a new BankAccount object
    2 - set its values
    3 - assign it into the next empty place in the array
    What happens if I try to open a new account with a number that already exists?
    if(command.equalsIgnoreCase("o")) {
    // read in the required info:
      SimpleIO.prompt("Enter new account number: ");
      String newaccnum = SimpleIO.readLine();
      accountnumber [numaccount] = newaccnum;
      SimpleIO.prompt("Enter initial balance: ");
      String newaccbal = SimpleIO.readLine();
      double newbal = Convert.toDouble(newaccbal);
      // create a new BankAccount
      currentSelectedAccount = new BankAccount();
      // set its values  -  maybe use a constructor for this?
      currentSelectedAccount .setAccountNumber(newaccnum);
      currentSelectedAccount.deposit(newaccbal);
      // add it to the array of entries:
      bankAccounts[numAccount] = currentSelectedAccount;
      numAccount++;
    }Don't you agree this is simpler dealing with one object than with multiple arrays?

  • URGENT: Help reqd with wwsbr_explorer

    Jerry,
    I am able to create a sitemap by using the above package and passing it the values that I need for site and render type. However, I do not know the values for p_header and p_footer. Can you please help me out.
    Also, I would like to supress the [Return Object] hyperlink. I am quite content with any unsupported bit of code. My client
    cannot wait till 3.1 for the sitemap feature.
    Please help
    Sanjay

    p_header takes the name of a valid string in WWNLS_STRINGS$ table for which the actual string that is displayed is returned. The domain and sub-domain is hardcoded to wws and text respectively. This is the equivalent of:
    v_header := wwnls_api.get_string
    (p_domain=>'wws',
    p_sub_domain=>'text',
    p_name => p_header,
    p_language=>'us');
    v_header would then be the actual header that gets displayed. p_header is the string that identifies the v_header within wws domain and text sub-domain.
    To hide Return Object (remember this will result in the functionality becoming unusable) find all instances of l_robj and the associated 'ReturnObject' and set them to null in sbrexplr.pkb. For example:
    if p_object_type = 'FOLDERMAP' then
    return l_robj;
    under upper(p_menu_type) = 'LABELS' and the associated
    if p_object_type = 'FOLDERMAP' then
    return 'ReturnObject';
    under upper(p_menu_type) = 'COMMANDS' should be set to return NULL:
    if p_object_type = 'FOLDERMAP' then
    return NULL;
    if p_object_type = 'FOLDERMAP' then
    return NULL;
    Another way this was implemented is:
    l_folder_menu.MenuLabel := l_robj;
    l_folder_menu.MenuCmd := 'ReturnObject';
    These should also be set to NULL:
    l_folder_menu.MenuLabel := NULL;
    l_folder_menu.MenuCmd := NULL;
    null

  • Urgent help please with MIDI pedal

    I just got an old awesome midi pedal called the X-15 Ultrafoot.
    The pedal has two expression pedals, and 10 pushbuttons/pads. (and two buttons to cycle through additional banks, and a "mode" and "bypass" button)
    Somebody please help I am on the verge to having amazing control.
    What I want to do is have each pushbutton be assigned to a parameter, which is easy to program. Then I want to make the expression pedal(s) also be assigned to that last selected parameter. How do I do this?
    How can I make the expression pedals control over the parameter remain exclusive to just the last selected parameter?!
    Somebody save me please thanks

    mr kglad i really hope my ( too many replies and questions ) don't bother you.. but please excuse me if they sound foolish or something im a beginner as mentioned...
    There must be something wrong with whatever im doing ... ( im so desperate and since you are the only one who replied on me i really need your help please.. )
    1- i published the first fla as a swf (10.3 ) with a button with the code you've given me )
    2- i published the second fla as a swf (10.3) with another button with the same code you've given me )
    3- i made a main page where there are two buttons.. one for english and one for foreign language
      English button with this code :
    Engbutton.addEventListener(MouseEvent.CLICK, fl_ClickToLoadUnloadSWF_4);
    import fl.display.ProLoader;
    var fl_ProLoader_4:ProLoader;
    //This variable keeps track of whether you want to load or unload the SWF
    var fl_ToLoad_4:Boolean = true;
    function fl_ClickToLoadUnloadSWF_4(event:MouseEvent):void
        if(fl_ToLoad_4)
            fl_ProLoader_4 = new ProLoader();
            fl_ProLoader_4.load(new URLRequest("englishformFIN.swf"));
            addChild(fl_ProLoader_4);
        else
            fl_ProLoader_4.unload();
            removeChild(fl_ProLoader_4);
            fl_ProLoader_4 = null;
        // Toggle whether you want to load or unload the SWF
        fl_ToLoad_4 = !fl_ToLoad_4;
    and the other button with the same code ( the second fla )
    IT DOESNT WORK WHEN I TEST THE MOVIE.. the return buttons nor the main ones..why why why why why... ???
    i really need your help
    THANK YOU in advance

  • Urgent help needed with reading data from Cube

    Hi Gurus,
    Can anyone tell me how to read a value from a record in the CUBE with a key (combination of fields).
    Please provide if you have any custome Function Module or piece of code.
    Any ideas are highly appreciated.
    Thanks,
    Regards,
    aarthi

    Due to the nature of the cube design, that would be difficult, that's why there are API's, FMs, and MDX capabilities - to eliminate the need to navigate the physical structure.  Otherwise you would have to concern yourself with:
    - that there are two fact tables E and F that would need to be read.  The Factview could take of this one.
    - you would want to be able to read aggregates if they were available.
    - the fact table only as DIM IDs or SIDs (for line item dims) to identify the data, not characteristic values.  A Dim ID represents a specific combination of characteristic values.

  • Urgent Help Needed with missing frames

    Hi guys
    I have a student with an urgent problem that I can't seem to fix.
    The student is making a film having shot it on mini DV tape. He has been editing the film in Adobe Premiere Pro CS5.5, editing sections in different sequences.
    The problem he is having is when he moves a selection of clips on his timeline random frames or half frames disappear, leaving a very quick flash to black.
    I cant work out why the frames are disappearing when moving clips up and down the timeline, any suggestions?
    Thanks
    SteveG

    The settings for a sequence cannot be changed once it is created.
    If source footage is being interpreted wrongly, right-click the source file on the project panel and choose Modify > Interpret Footage. You can now create a new sequence that matches the real properties of your footage.
    Dragging one sequence into another won't cure the problem; you have to copy the footage from the timeline into the new sequence so it reverts to the new sequence frame rate (assuming the footage has been defined properly in the project panel it will then be correct).

  • Urgent help needed with installation of Logic!

    Hi I just installed Logic Pro 9 on the Macbook Pro I bought today and it failed because 'this version of OSX is not compatible with Logic 9.1.1.' What should I do? Two years ago I installed the same version on my previous Macbook. Both Apple and the reseller said it was going to be fine. Please help me as quickly as possible. I need to use it in a couple of hours...thanks. Xavier

    Restart your Mac and Run Software update

  • Urgent help needed with CP5 on Windows 7 64 bit and 'old' CP 5 projects.....

    Hi,
    I have a serious problem, at least the sympthoms are very serious.
    I have worked on a lot of projects with CP 5 on Windows Vista Ultimate 32 bit.
    CP5 was installed on the default root C:\Programs....
    These projects partially contained recordings (demos, assessments...) of applications running on a Windows XP 64 computer.
    Projects stored on E:\.....
    All was OK
    THEN:
    I upgraded my OS to Windows 7 64 bit a couple of days ago.
    D: and E: partitions were untouched by the new OS install.
    Intalled CP5 on D:\..... not on default path C:\Programs...as I want to keep C: as clean as possible out of performance reasons.
    All is OK except that:
    - MINOR ISSUE: the projects on in the browser do not show assosiation to CP5 graphically as they used to in front of project name, this is the same for all other MasterSuite CS5 (also installed on D:...) applications too:
    - MAJOR ISSUE: the demonstrations run properly but the results of action are graphically misplaced after generating the project:
    Recording new demo projects on my system and generating them is OK
    Can you please help to clarify and find solution so that my projects run properly.
    Thanks in advance for your FAST help!!!!!
    Stephanie

    Hi there
    My gut tells me it's not so much an issue with Captivate as it may be an issue with the new Windows 7 setup. You might try right-clicking the Windows 7 desktop and choosing Personalize. Then in the lower left corner of the dialog, choose Display. See if you are configured for 100% or if it's something different. If it's something different, try choosing 100% and see if it helps.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

Maybe you are looking for

  • Full Screen Problem - Dual Monitors - Hulu Desktop

    I am using Hulu Desktop with dual monitors. I keep Hulu on full screen on monitor #2. I use monitor #1 for computer use, etc. It is IMPOSSIBLE to look at an app in full screen mode on monitor #1 and keep my Hulu full screen in monitor #2 at the same

  • Hi guys my ipad is connecting to my laptop for itunes but my iphone wont

    i am having problems syncing my iphone to my windows 7 laptop.it has been synced before and my ipad is syncing no problem

  • Change Search help for Location in Schedule creation screen(NWBC)

    Hi all, My requirement is to change the standard search help for Location field in Standard stop sequence of Schedule creation in NWBC. Presently, the search help for the location field is a webdynpro component WDR_F4_ELEMENTARY .Is there any possibi

  • Views and corelated query

    Hi , 1> When are views useful?(scenarios where u could use) 2> when are corelated subqueries used?(scenarios where u could use) Thanks in advance

  • Importing Tones into iTunes 12.1

    How do I import a m4r ringtone into iTunes 12.1? I cannot get it to upload when I "add to library" and on drag and drop I get a "+" but the tone doesn't import. If this question has been asked before (which it probably has), please point me to the di