How do programatically set focus on a record other than the first one in a block?

My form performs the query for the block, and by default it leaves the focus on the first (top) record in the block.  I'd like to have it focus on the last record in the block upon initial query.
i've tried Last_record and go_record in a post-block trigger but these builtins are restricted and you can't execute them from post block triggers.  i don't see any block property things that would influence this either...  how can i do it?  thanks.

i just figured out the answer to my own question... in the when new block instance trigger, there's an execute_query statement, and i simply put last_record statement after that...

Similar Messages

  • How to enable remote debugging for a session other than the current one

    Hi all,
    I am trying to figure out how to enable remote debugging for a session other than the one I am currently using.
    More specifically, we have an application that is making database calls to Oracle 11gR2. Something is causing an exception during this invocation. My system is currently not set up to recompile said application, so I can't just add the debug call to the code and recompile. Therefore I would like to be able to log into the database (as sys, if necessary) and invoke dbms_debug_jdwp.connect_tcp on the desired session.
    The docs indicate that I should be able to do so:
    dbms_debug_jdwp.connect_tcp(
    host IN VARCHAR2,
    port IN VARCHAR2,
    session_id IN PLS_INTEGER := NULL,
    session_serial IN PLS_INTEGER := NULL,
    debug_role IN VARCHAR2 := NULL,
    debug_role_pwd IN VARCHAR2 := NULL,
    option_flags IN PLS_INTEGER := 0,
    extensions_cmd_set IN PLS_INTEGER := 128);
    But when I try (even as sys), I get the following:
    exec dbms_debug_jdwp.connect_tcp('1.2.3.4',5678,<session id>,<session serial>);ORA-00022: invalid session ID; access denied
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    00022. 00000 - "invalid session ID; access denied"
    *Cause:    Either the session specified does not exist or the caller
    does not have the privilege to access it.
    *Action:   Specify a valid session ID that you have privilege to access,
    that is either you own it or you have the CHANGE_USER privilege.
    I've tried granting the 'BECOME USER' privilege for the relevant users, but that didn't help. I read something about having to set some kind of ACL as of 11gR1, but the reference documentation was very confusing.
    Would someone be able to point me in the right direction? Is this even possible, or did I misread the documentation?

    Interesting deduction, that would be very useful indeed. I hate recompiling just to add the debug call, and it can't be done in our production environment. But it seems unlikely to me it would be implemented this way.
    I would cross-post this in the SQL AND PL/SQL forum though, as this is really a database issue, not with the SQL Developer tool. Do add the links to the other posts in each.
    Regards,
    K.

  • How do I update Firefox to a version other than the latest one?

    As you can see from the troubleshooting information, I am several versions behind the latest Firefox. I am wondering whether an update would make Hotmail work on Firefox again and make it faster. However, Firefox Auto Updater is set to install the latest version, so I have to keep refusing it permission because: a) Character Palette isn't compatible with it; b) Last time I looked, there was no fix to turn off that infuriating swear word censor in the latest version. Is there any way I can get a version that is newer than my current version, but doesn't censor anything I choose to type and lets me use Character Palette?

    try the alternate and easiest way by downloading from here
    * getfirefox.com
    simply run the installer, you can install on top of current version or you can remove the current one if you wish

  • Auto-Capitalization: How can I set Pages v5.01 to auto-capitalize the first letter of the first word in a sentence and to automatically change lower case "i" to "I" appropriately. I'm unable to find a menu that offers me these.

    Auto-Capitalization: How can I set Pages v5.01 to auto-capitalize the first letter of the first word in a sentence and to automatically change lower case "i" to "I" appropriately. I'm unable to find a menu that offers me these.

    Gavin Lawrie wrote:
    Once it had been established that the iWork rewrite had resulted in some features being lost and others broken, and once Apple had acknowledged the concerns* and suggested they are working on fixes**, I'm not sure what else there is to achieve.
    You are writing that in the perspective of having read about it here already. Repeated often enough that you encountered it somewhere in the posts.
    Users are flooding in here and don't know any of this. Of course we have to repeat everything endlessly.
    Because I like to give precise, understandable and workable answers to repeated questions, and Apple doesn't allow sticky posts here, I created a separate forum which users can consult to look up real answers, and contribute for themselves if they have something valuable to add:
    http://www.freeforum101.com/iworktipsntrick/
    There is a section purely devoted to Pages 5. Add whatever answers you feel will lighten the problems of Apple's 'upgrades'.
    Peter
    * Where have they acknowledged anything?
    ** They have barely anything listed, compared to the massive list of deleted features, and nothing but an extraordinarily long time frame considering they created the problems here and now. Apple has not said they will do anything at all about fixing the real issues, the biggest of which is that the new iWork apps break virtually all the work of existing users.

  • How do i install reader to a drive other than the boot drive?

    how do i install reader to a drive other than the boot drive?

    Hi nicksdaddy,
    There is an offline version:
    http://get.adobe.com/reader/enterprise/
    Hope that helps!
    Stacy

  • TS3297 iTunes puts up a message "The item you've requested is not currently available in the Hong Kong Store." I had not requested anything from the HK store at that point, and I have never used any store other than the HK one. How I can clear that messag

    I've been running iTunes on WinXP for years with few problems.  I have all my iTunes files on an external USB drive. I just bought a new PC running Win7, 64-bit.
    I connected the external USB drive to the new PC and installed 64-bit iTunes on it. When iTunes started up, I pointed it at the iTunes directory in the external drive, using Edit > Preferences > Advanced > iTunes Media Folder Location. It showed a progress bar that it was updating the iTunes Library. I signed in and authorized the new machine. I have one spare authorization.
    Then iTunes put up a message "The item you've requested is not currently available in the Hong Kong Store." I had not requested anything from the HK store at that point, and I have never used any store other than the HK one.
    When I click OK, the iTunes Store page remains blank, apart from saying "iTunes Store" in the middle of the page.
    I went to "View My Account" and pressed the Reset button to "Reset all warnings for buying and downloading items", but that doesn’t fix this particular warning. I also tried Edit > Preferences > Advanced > Reset Warnings and Rest Cache.
    But still, every time I click the “App Store” button in the iTunes Store window, the message appears. If I click the Books, Podcasts or iTunesU buttons, these display normally.  So I’m stuck with being unable to purchase apps, other than through my iPad and iPhone.
    If I move the external drive back to the XP machine, the same thing happens.  If I go to another PC - a notebook running Vista - everything is normal.
    Any idea how I can clear that message?
    Thanks for any help you can offer.

    Further info on my question above.
    I have tried re-validating my credit card, which apparently fixed it for some. 
    I have also tried uninstalling, re-downloading and installing again.
    Neither of these steps fixed the problem.

  • How to install PS CC to a SSD other than the boot or "C" SSD.

    I want to install PS CC, Bridge CC, and Lr CC to a SSD other than the boot or "C" SSD.
    How to do that?
    Problem is, CC Set-Up automatically installs these apps to my boot or "C" SSD.

    I signed-out of PS; and deleted PS, Bridge, Lr, and Creative Cloud. The, when I download (i.e., saved) Creative Cloud Setup to my "A" drive SSD, then double click to install Creative Cloud, "it" automatically installs the Creative Cloud app to my "C" SSD.
    The app does not ask where I want to install Creative Cloud.
    I keep looking for an opportunity to "change the default install location" but I do not see such an opportunity.
    Previously, when I installed PS there was no opportunity to "change the default install location."
    Can you tell me how to find or force an opportunity to "change the default install location?"
    Where or how do I find "the CC app settings?"
    Does Abode have a manual install version for Creative Cloud, PS, Bridge, and Lr?
    FYI, my OS is Win 7 pro 64 bit.
    Also, why does Adobe automatically install a 32bit version of PS on my system?
    Can I prevent that?

  • CR 2010 - Need to limit records returned to the FIRST ONE OR TWO

    I need a way to limit the data returned in a subreport to just the first one or two records (depending on the report requirements). The data is sorted by Date DESC and I only want the latest one or two recs. Can someone please tell me how I can do that?
    Thanks!

    Well, you can enter a suppression formula for the details section of the subreport like this:
    Recordnumber > 2 //
    This will display the two most recent records in the subreport.
    -Abhilash

  • How do you receive iMessages from a device other than the iPhone they originally are being sent to?

    I'm trying to receive iMessages from a phone other than my own. How do I receive them, I have both Apple IDs and both passwords but do not have current access to the phone I'm trying to get the iMessages from.

    Do you have the other phone's Apple ID active in your iPhone iMessage setting? If not, then you would not get them. And, the person sending the iMessage would have to be sending to the Apple ID and not the phone number.

  • How do i purchase music from a country other than the one i'm in

    i live in the usa and i want to purchase music form the greese itunes store. I don't have a credit card registered in greece. Is it possible to purchase and download from a different country? How do I do it? or how do i contact apple to ask this specific question/
    thanks

    This question is asked frequently so I'll just quote the most succinct answer (courtesy of Dave Sawyer) from the many given:
    In order to buy from any given country's iTunes Music Store, you must have either:
    a) a credit card with a billing address in that country, or
    b) a mailing address in that country and a gift certificate or a prepaid card that was bought in that country.
    If you cannot fulfill one of these two sets of conditions, you will not be able to purchase from any given country's iTMS.
    .......this is due to restrictions placed on Apple by the record companies and other rights holders (who are often completely different from country to country and so all require their own individual negotiations and contracts), not by Apple's choice. And this also applies to all the legal download stores that carry major-label content, not just the iTMS.

  • How do I sync my iPhone 4s with a different computer other than the original one that I used initally?

    How do I change computers for syncing my iPhone 4s?  The original laptop that I used to sync with died and I can not get my iPhone to sync with my desktop.

    can't if you do not have access to the old library (the usual workaround is to backup the old library and import it to the new itunes)
    for important data...
    sync your existing contacts with icloud, your text messages will not be disrupted, music will sync with whatever music you have on your new itunes, photos shoud still be in the camera roll (I would sync them to photostream before you sync, just in case).   Any photos on your phone that are not in camera roll or photostream... if you lost those pictures with the computer crash I would take screen shots (lock button + home button at the same time) of each photo so they show up in the camera roll.  App data may or may not be lost.  In my experience, it depends on the app.  Some of the apps recognize your apple ID and sync data over the internet with servers, some do not.  I would take note of important data (such as passwords in a password keeper if you have such an app) just in case if you lose that data.

  • In TestStand, How do I pass variables to a sequence, other than the standard Input Buffer?

    I have Labview VIs that have arrays as inputs, I want to pass information in that array to the VI. TestStand already has the Input Buffer setup, but how do I create more input buffers, like array input buffers?? I know that the "Parameters" section in the sequence file is for passing info to subsequences, but that does not help me, Thank you in advance!!

    See the TestStand shipping example located in the directory \Examples\AccessingArrays\UsingLabVIEW. This will show you how to pass arrays back and forth from a VI to a sequence variable.
    If you are trying to create a step that handles arrays, then you will need to create a new step type that has an array step property. There is an example on the NI web site of a step type that handles arrays. Go to www.ni.com/support and search the Examples Program database using the search string of:
    +"step type" +waveform +teststand

  • How do you restore IPhone to a backup other than the most recent.  Phone crashed, restore didn't work.

    My iPhone 4 crashed and I did a restore, but instead it set it up as a new install.  So when I went to do a restore, I still lost all my contacts and apps.  Need help restoring using a precious backup.

    control + click(mac) or right click(windows) on the name of your iPhone on iTunes then select restore from back up
    _if you have multiple back up, it will give you option which back up to restore

  • How to park an invoice with a vendor other than the PO vendor ?

    Dear all,
    Can anybody pl give an idea about how i can park an invoice for a vendor which is different from the PO vendor ?
    regds
    amitava

    hi
    go to MIR7
    here give all detials then in details tab change the po vendor to any other and save

  • How to disable iTunes Match on a computer other than the one with my main library?

    I have iTunes installed on a home MacBook for syncing music, photos etc and iTunes on a work PC to sync calendars and contacts.  iTunes Match is enabled on both. However, I'd like to disable it on my work PC as it slows down my iTunes when I open it up.  When I click "Disable iTunes Match" in the store link in iTunes on my work PC, it appears to want to disable the service universally.  Is this only disabling it on this one device, or universally?  Thanks.

    Thanks... took over an hour to turn off the iTunes Match, but it did not effect my home iTunes.

Maybe you are looking for