Navigate to previous item doesn't work

Hi,
Why doesn't the Do_Key('Previous_item'); in my code below work. When I check with :system.cursor_item the focus s still on the last field and I get an error when trying to make it invisible
PROCEDURE HIDE_ITEMS (datablock in VARCHAR2) IS
l_curr_item VARCHAR2(40);
BEGIN
go_block(datablock);
go_item(datablock||'.'||Get_Block_Property(datablock, FIRST_ITEM));
LOOP
l_curr_item := :system.cursor_item ;
IF l_curr_item = datablock||'.'||Get_Block_Property(datablock, LAST_ITEM) THEN
Do_Key('Previous_item');
SET_ITEM_PROPERTY(l_curr_item,VISIBLE,property_false);
EXIT;
END IF;
NEXT_ITEM;
SET_ITEM_PROPERTY(l_curr_item,VISIBLE,property_false);
END LOOP;
END HIDE_ITEMS;

by the way: you can use the "NEXT_ITEM" in the get_item_property. So you have no need to do "go_item". That makes the code much easier and faster

Similar Messages

  • I have mozilla on Mac os x, The "Back" function for to go back at a previous page doesn't work. WHY?

    I have mozilla on Mac os x for about 8 months. The "Back" function, to go back on a previous page doesn't work, the "Back" arrow remains grey coloured, so it can't be pressed like when it's black coloured. It gets you tired to reopen pages all the time. WHY does this happen?
    == This happened ==
    Every time Firefox opened
    == I first downloaded mozilla.

    Go here to download Firefox 3.6:
    http://www.mozilla.com/en-US/firefox/all-older.html

  • Two select commands in one item doesn't work?

    I've created an item in a region which contains one select sentence which goes like:
    select sum(r.amount * price.prices * re.sats * ac.sats)
    from registration r, pricetype price, ressoucecostdriver re, activitycostdriver ac
    where
    r.art_art_id = price.art_art_id
    and r.activity_activity_id = 42
    and re.ressourcecostdriver_id = 47
    and ac.activitycostdriver_id = 53;
    to that sentence I need to add the following select sentence as a sum of this one and the previous select sentence
    select sum(r.amount * price.prices)
    from registration r, pricetype price
    where
    r.art_art_id = price.art_art_id
    and r.activity_activity_id = 22
    So what I really need is the sum (sum(r.amount * price.prices) + sum(r.amount * price.prices * re.sats * ac.sats)) so to say, but without the where sentences is the same.
    I've tried to "rename" the last select sentence to somthing like
    select sum(rr.amount * priceprice.prices) to avoid the where constraints to apply for both of the select sentences, but that doesn't work apparently.
    Can anyone help me?

    Morten,
    If you look closely at the query I posted for you, I have used WITH statements to encompass each of your two queries, I then (in the last line) perform a simple select from those queries, you could simply add the two values together there if you like.
    For example -
    jes@TESTDB>  with tab1 as (select 1 as num1 from dual),
      2  tab2 as (select 2 as num2 from dual)
      3* select num1, num2, (num1+num2) as num3  from tab1, tab2
          NUM1       NUM2       NUM3
             1          2          3
    jes@TESTDB>  with tab1 as (select 1 as num1 from dual),
      2      tab2 as (select 2 as num2 from dual)
      3*    select (num1+num2) as num3  from tab1, tab2
          NUM3
             3

  • Next and previous slide doesn't work

    Hey all,
    I'm working on a presentation in Captivate 3. I've added 2
    buttons in the slides, 1 button to go to the next slide and the
    other jumps to the previous slide. But when I test the
    presentation, the slide keeps repeating itself. In other words, it
    seems that the 'go to next or previous slide' function doesn't
    work. I've also tried 'jump to slide *, but this doesn't work
    either. Can anyone tell me what I'm doing wrong?
    And my next question is: How can I 'stop' a slide from moving
    on to the next slide? Like in PPT it stops automatically, and
    progresses with a mouse click or key press.
    Thanks in advance!
    Greetz,
    Frederik

    Hi Frederik
    Normally the presence of a button or a click box will pause
    the slide. Are you saying this isn't the case?
    Can you describe how exactly you are expecting things to work
    when you play the project?
    Cheers... Rick

  • SOCO function "Complete Item" doesn't work

    Helo.
    Please help to solve a problem.
    We have SRM 5.5
    We want to remove positions from SOCO through function "Complete Item".
    But at logon under the Ukrainian language function doesn't work. At logon under English language function in SOCO works.
    How can it be? And why?

    Hi,
    either you need to install the Ukrainian language completely (including supplementation) or if you plan to use the translation workbench for mass translation, you need to translate the texts included in the application you use.
    Please note: If you plan to use Translation Workbench (SE63) for mass translation, supplementation in that system should be avoided (see e.g. SAP Note 353852) !
    Best regards,
    Nils Buerckel

  • New Plug-in item doesn't work as cascading lov

    I have just finished creating a new plug-in that is a searchable select list. I want the LOVs to be cascading. In other words if I have another item on the page I want to be able to specify in my plugin item that the parent LOV is that item. How do I make it work with the cascading LOVs. I am guessing that I have to add some code to my render function but I have no clue what and there are no examples of how to do this. I did find the following in the api documentation but I am not sure how to use it or whether it is what I am looking for
    apex.widget.initPageItem
    Here is a link to an example of my new plugin. There are 2 items on the page. Z is set to have X as its cascading LOV parent but it doesn't work and would like to know how to make it work. You can also download my plug-in from this page and try it yourself.
    http://apex.oracle.com/pls/apex/f?p=32395:3

    Hi,
    the "apex.widget.initPageItem" will not help you in your case, it's used to register callbacks for $s, $v, show, hide, ... if you have a more advanced item type. You can have a look at the "Star Rating" plug-in which implements several of these callbacks.
    For adding cascading LOV support, please have a look at our own select list implementation in /i/javascript/uncompressed/apex_widget_4_0.js
    Search for
    apex.widget.selectList = function(pSelector, pOptions) {to get a blue print implementation for all the steps you have to add to your widget to add cascading LOV support.
    If you need further help, please let me know.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Apple Menu: "Recent Items" doesn't work proper anymore

    Hi,
    i switched from 10.5.8 to 10.6.4 and recognized that the "recent items" in the Apple Menu doesn't work proper anymore.
    While OS X is running everything works fine. When i restart the computer all recent items are cleared.
    I want it to behave like it did in 10.5.8, that all recent items where displayed even after a restart.
    I recognized that the "open recent" command in applications like TextEdit or Preview behave the same. While the Program is running everything works fine . If I close and restart the app, open recent is cleared.
    I tried do adjust it under Appearance in the System Preferences, but if i set all Numbers of recent items to "none" for example and restart the computer it will be set for each (Application, Document, Server) back to 10 again.
    Hope someone can tell me a solution because i use "open/ recent Items" alot and it really disturbes my workflow.
    Greetz
    Djordji
    p.s.: I did a quick forum search and did not find any topic about it.
    Message was edited by: SPUMD

    Hi Andy,
    thanks..i checked the preferences for the com.apple.recentitems.plist and didn't find one.
    It seems like the system doesn't write down which items i loaded. I trashed this .plist earlier because i
    saw that hint somewhere else.
    i did like you said and created a new user account, tested different apps and documents, restarded and everything was displayed proper in the "recent items" Appel menu and in the "open recent" of every App.
    I searched in the test account for the com.apple.recentitems.plist, copied it to the preferences of my account and restarted the computer. In the "recent items" displayed the Items that i used with the test account but after several tests it is clear that the system doesn't write down the recent items when i open my account. The com.apple.recentitems.plist still showes only the items i used with the Test account and the info of the file says that it wasn't touched sinced i copied it from the test to my account.
    The Terminal command didn't change anything. The question is why doesn't the system write down wich items and documents i used when i'm in my account?
    Greetz
    Djordji
    Message was edited by: SPUMD

  • Find Finder Items doesn't work?

    I can't seem to get a basic thing to work...
    Find Finder Items (Where "camerafiles" & Whose Name Contains "camera1")
    View Results
    Always results in ()
    Have tried contains, begins with, ends with....nothing works.
    The folder contains about 300 files that all start with "camera1-xxx-xxx-xxx"
    Any ideas or is it just broken?
    Dual Processor 1.4 Ghz   Mac OS X (10.4.9)  

    Depends on what?
    I don't understand why "where" the folder is located should make any difference. But here's the path:
    Macintosh HD:Applications:4DWebSTAR:WebServer:Users:heckman:camerafiles
    Spotlight doesn't let you limit your search to a specified folder. I mean, why search the whole hard drive when you know the files you want are inside a specific folder?
    I tried a Cmd-F find for the files, they don't come up. I tried a Spotlight find, they don't come up. I open up the "Macintosh HD" drive from another computer on the network, do a Cmd-F find on that machine, they show up.
    So I guess the issue is: why can't I find them on the local machine they are actually on? The files are definitely there.

  • ARD 3.2.2: Open Items doesn't work for share point application

    I am using open items to open a Mackiev Kidpix network document on an ARD client. It used to work but suddenly it just failed, where it seemed that the client was not able to find the application to open the document.
    Being a network version of KidPix, the application it self is located on a sharepoint instead of the application folder. I also tried to copy the KidPix to the application folder, but to no avail.
    Other documents from from other applications work without a hitch. So I am sure it is not the ARD. I also called Apple and the software vendor, neither can give a solution to the issue.
    If anybody can provide me with any help, I would really be grateful. At this point I do not know where to go about this.

    i'm sorry. I wanted to say 3.1.1.21 version.

  • OSX 10.9 Mavericks is there any way to hide servers which always appear in finder after login (hide login items doesn't work as stardered)

    hi all my boss has just got himself a nice new mac and wants to connect it on to my windows domain at work, no problems there it’s all connect fine, one thing we done was to map a few of our network drives on our domain so he can easily load them to his mac, works great when it’s on the domain however when he goes home and logs in for each mapped drive it throws up a window saying it can’t connect or when it is connect opens up every drive, even after disabling them at login, now on the apple website the text reads "if you don’t want an item's window to be visible after login, select hide. (Hide does not apply to servers, which always appear in the finder after login), does anyone know any work around that can maybe solve this or point me in the direction where I can find one.
    Cheers
    Gordon
    Network Admin
    BPDZenith

    hi all my boss has just got himself a nice new mac and wants to connect it on to my windows domain at work, no problems there it’s all connect fine, one thing we done was to map a few of our network drives on our domain so he can easily load them to his mac, works great when it’s on the domain however when he goes home and logs in for each mapped drive it throws up a window saying it can’t connect or when it is connect opens up every drive, even after disabling them at login, now on the apple website the text reads "if you don’t want an item's window to be visible after login, select hide. (Hide does not apply to servers, which always appear in the finder after login), does anyone know any work around that can maybe solve this or point me in the direction where I can find one.
    Cheers
    Gordon
    Network Admin
    BPDZenith

  • Hide function in Login Items doesn't work for iChat and Address Book app.

    There is a problem with the hide function for iChat and Address Book application in Login Items. If you go to System Preferences, click on Login Items, add the iChat and Address Book application to the Login Items, activate the hide function for iChat and Address Book application and restart your Mac iChat and Address Book application will start with opening a window. Normally this shouldn't happen if the hide function in Login Items is activated for iChat and Address Book application.
    Message was edited by: Roman Patrice Gego

    Hi,
    Your link refers to changes to 10.6.3 prior release as tested by Developers.
    The numbering system tells us that. (Build 10Dxxx).
    Therefore it is an Update and not an Upgrade, therefore no-one is going to get charged.
    If the article is the so called Release Notes then they mention nothing about correcting any issue with Login Items Hiding.
    If you think an issue is being missed there is a place to report that, from this icon view list http://www.apple.com/feedback/ which includes Hardware and Software.
    I personally have not tested Login Items Hiding as I tend to think there is no point in having an App open if it not on the Desktop.
    As Kappy pointed out there was little progress on a similar issue with Leopard.
    This could be interpreted that Apple feel that the issue does not effect enough people or that other issues are more important.
    As anyone and everyone can report Issues and contribute their ideas to the OS and it's improvement via the Feedback links it would seem to be a question of enough people bringing it to Apple's Attention.
    I would tend to work on Issues that stopped an App functioning first, linked with integration with the OS and any changes to the major parts of it such as a Quicktime.
    Lesser issues that maybe more cosmetic in appearance would tend to fall down my list of things to do.
    Presumably Apple have a grading system on such things that may not fit with either of our views.
    As Apple don't reveal any details about the OS Updates or even Upgrades then anything any of us think we interpret as a pattern is just that - an interpretation.
    Consequently anything we say on the subject is then likely to be seen as speculation under the Terms of Use of these Boards.
    8:28 PM Sunday; May 9, 2010
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • Permissions - 'apply to closed items' doesn't work - help!

    I took my wife's user folder off my MacBook Pro (and backed up) recently since I needed to clear some space. I then got a larger hard drive installed. I have now copied the user folder back onto this new hard drive. I am now having no end of permissions issue with that folder - can't open applications due to folders not being able to be modified, can't modify desktop etc. I tried to modify the permissions of the folder using 'get info' but it didn't modify enclosed items even though I selected that option.
    I then created a new user for my wife and copied the contents of the old user folder across. Then tried to modify contents - again it wouldn't apply to enclosed items. I have also tried repairing permissions but it then seemed to apply me (even though I was logged in as my wife) as the owner of the folders! Huh. I'm a bit lost.
    Any ideas?

    I would use Migration Assistant to move your user account from the old drive to the new drive.
    From what I've read about trying to 'fix' the permissions when you try what you did, you won't.
    Apply to enclosed items has always been flaky; however, applying to enclosed items is not what you want to do. While the folders have certain permissions, those shouldn't necessarily be applied to the contents. You are also propagating ACLs into the contents of the folders and that definitely is not correct.

  • HT201272 All my books disappeared when I bought a new computer and the download previous purchases doesn't work. Any suggestions will be appreciated.

    This is a problem I'm sure many people have had.
    I purchased several books a few weeks prior to purchasing a new computer. When I set it up using the file I had been saving to for the last couple of year I see that several of the Audio Books I had bought some as late as a few days prior, were missing.
    They're on my purchase list on the apple site but it doesn't let me download them so im stuck. I'm sure apple would just love it if I gave it the old American't try and gave up and called a loss and purchased them all over again.
    I've been using iTunes to make these purchases since they started iTunes. Since this isn't the first time its happened maybe I should call it all a loss and go shopping for another medium.
    Anyones help will be appreciated.
    Thanks
    Appler5210

    You say "ipod nano" in the subject line, but this is the forum category for the iPod shuffle (and you later say "ipod shuffle" in the post).  Is your iPod a shuffle or a nano?
    Even if iTunes is not installed, an iPod should charge when connected to an active USB port that is supplying sufficient power.  What indicates to your that the iPod is not charging?

  • Hide Volume als Login Item doesn't work

    Hi folks!
    When I login into my account on my mac all network volumes appear despite the hide-configuration in login items. Are there any ways to resolve that issue?
    Thanks...
    Timi

    see this link for a workaround
    http://discussions.apple.com/thread.jspa?messageID=10511740&#10511740

  • Play/Pause/Next/Previous functionality doesn't work using keyboard/remote

    I have recently upgraded my 24'' iMac to a 27'' i5 iMac and migrated my information via the Migration Assistant using a gigabit peer-to-peer (crossover cable) ethernet connection. Since then or shortly after the play, pause, next and forward buttons on the keyboard stopped working (or they never worked, I am unsure).
    Moreover, the same functionalities when accessed using the Apple remote also does not work, note that the volume up and down buttons do work from the Apple remote.
    I am also having difficulty getting my digital camera identified using the USB interface but that is another show. The camera is not even seen by the Image Capture tool in the Utilities, note that I succeeded once in getting it identified but not since then. The only change I can remember was installing the MouseWizard tool for extending gestures of the magical mouse, which is probably the finest thing I have got from the whole upgrade (the most easily appreciable). Please ignore the matter of my digital camera, for me mentioning it only for the slight possibility that it may be connected. To this humble users they are two things that are not working at all. Some of the applications I have installed is Parallels Desktop 4.0, which seems to identify the camera once connected but not the Mac OS X system.
    Thanks in advance for your generous help.

    Today I made a brave international call to Apple in the USA, realising that less than 90 days has passed since I purchased my new iMac. The phone call lasted for 62 minutes and was utterly embarrassing and genuinely awkward for me as it was totally unhelpful and very, very costly. The guy on the other side was very unable to provide any meaningful help and it was not easy for me to tell him that he was not, so I had to go on with the costly call which was mostly filled with moments of silence and contemplation (and forgetting -for the thousandth time, that my keyboard is wireless, telling me one time after the other to try to unplug it from the USB and connect it again).
    Anyway, I am delighted to have discovered the problem myself, which is amazingly simple, and unbelievably responsible of both of the two (seemingly unconnected) problems I was having (the problem with the functional keys on the keyboard and the identification of my digital camera).
    The problem was simply solved by deleting a textual file from the root of the home folder which is the file called ".CFUserTextEncoding". I have no idea what this textual file stores (a string of the form "X:XX") and how could the four bytes in it be of so much annoyance in my case, but deleting it can bring the media control keys back to life and make the digital camera identify effortlessly. Quite puzzling I would say.

Maybe you are looking for

  • Report Generation Toolkit Error

    I  have an application that generates multiple excel spreadsheets each containing a table and four graphs.  This has been working fine for three months but I am now getting error when generating the reports.  The source of the error is in the Excel_c

  • Installed a new printer and one line on the top is skipped

    Appreciate your inputs. We have been using the 'Check Printing report' for quite a while; We recently installed a new printer and we see that the alignment has gone wrong. The checks are printing from one line below as it is skipping one line. Where

  • Shift icon in the top right corner of screen? Help please

    Hey everybody, I have a question here. I've been getting a random problem on my curve 9310, and was wondering if anyone else had the problem or knows how to fix it. In the top right corner of my screen there's an icon, and it looks like its the shift

  • How to assign reconcilation account to particular compant code ,

    Hi , How to assign reconcilation account to particular compant code , please

  • MUTATING TABLES(ORA-04091) ERROR

    HI ALL, i am trying to solve the above problem. I don't have much experience in pl/sql. I tell u the problem. I am trying to write trigger on transaction_master table before insert or update so that record can insert into tran_modify_log table. Becau