Scroll bar not in the right position aftre to select an item (to check)

Hi all

I use Forms 10 G.

I have a block of details and it is based on a view.

In this block of details, I have a feature, if I double click on any column of the all of the unique value of this column should display in a window pop up with checkboxes.

After that the user can select the checkbox to filter the display.

And my detail screen which is based on a view similar to below: -.

article no. name of the element The update Update user
111AAAAugust 14, 2014

ABC

222BBB14 may 2014DEF
333FGD14 may 2014ABC
444ASD14 may 2014ABC
555MERAugust 14, 2014WWW

Here if I double click on the last 2 columns (Date of update and update user) then a pop up screen should come with checkboxes that shows only the unique values.

I double-clicked on UPDATE DATE column then:

all.png

Here you can see the unique values of a column of date of update, and same should happen when I click in the update user and it should show ABC, DEF, and WWW.

Here according to the requirement first time in this small screen need checked all and then according to the user. Here is the user only checked the babou, then press send button then it should display based on babou value.

So I have a logic as below to select the check box. This will make the visible and the invisible button submit, if any one or all the checkboxes are selected, then the SEND button should visible.

 FUNCTION atleast_one_Selected(p_selection IN CHAR) 
  RETURN BOOLEAN
  IS
  l_return BOOLEAN := FALSE;
 BEGIN
   First_record;
   
   FOR i in 1..:global.g_count LOOP
    IF  :BLOCK1.VAL_CHK = p_selection THEN 
     l_return := TRUE;
    EXIT;
    END IF;
    Next_record;
   END LOOP;
  
   RETURN l_return;
   
 END atleast_one

;

For the code above I am facing a problem as below.

Note:-J' took a few other examples that a lot of data, so you can see the difference.

Here you can see my scrool in the middle bar and my corsur is worth 29 January 2010.

all.png

Now, if I uncheck the value you can see the scroll bar is declining and the value is declining.

all.png

So, how can I keep the scroll bar and the value in the same situation, how it was before the selection.

Normally it should come as below.

all.png

But your code snippet to your a times-news-block-Instance (WNBI) does not show that you save the current record so you can return to it after the call to pkg1.atlease_one_selected ().  I would move your code from your when-box-changed that captures the CURSOR_RECORD and put it in your function as "atleast_one_selected".

I recommend that look you into other options for recording if a box is checked, rather than going to the block and loop lines..., it is extremely inefficient.  If you do not use a group (by the previous article I listed) record, you can use a calculated field to the place.  If your item checkbox is set to 1 or 0 - you can perform a text-to-speech function to calculate the selected check boxes.  Then your fuction (atlease_one_selected) will simply have to check if the value of your calculated field is greater than 0. If you need to know 'who' record has a check mark, then I would use the record group.

Craig...

Tags: Oracle Development

Similar Questions

  • my Start menu bar is on the right side of my screen and not to the bottom... How can I get that back down?

    I closed a program and my Start menu bar went on the right side of my screen. I need to know how to get it back down.

    Do you mean the Windows taskbar? Right-click on it and unlock it. Left click on an empty space and just drag it down. Re-lock. Bruce Hagen
    MS - MVP October 1, 2004 ~ September 30, 2010
    Imperial Beach, CA

  • Menu bar moves to the right in IE6 and IE7

    Hello, my name is Stephen and a site I worked on is having problems of compatibility with IE6 and IE7. It could very well have problems of compatibility with other browsers as well, but I work in newer versions of IE, Mozilla, Safari, and Chrome.

    My problem is that the navigation at the top of my screen bar moves to the right, off the page, when there should be balance.

    I use Dreamweaver CS5.

    The Web site can be found at http://www.dremata.com

    It is currently under construction, but you should be able to see the line menu bar.

    Here is a screenshot of the page rendered in IE7, with the wrong menu bar on the right:

    menubar-off.jpg

    And behold, it is correctly aligned in IE8:

    menubar-correct.jpg

    Below, I've posted my CSS and welcome, opinions, critical and all your comments. My knowledge on HTML, CSS and using Dreamweaver is incredibly limited. All that I know is a mixture of self-taught and a course I took in high school. I try to learn as much as I can, so don't hold back. I have tried countless hours to get this menu bar for centering in IE6 and 7 and have applied the techniques I've read on (something hasLayout and floats compensation), but nothing helped. It is too frustrating to work more, so I hope someone can help me, lol.

    @charset "utf-8";

    {body

    background-color: #FFF;

    Color: #000;

    font:90%/1.4 Arial, Helvetica, without serif;

    }


    H1, h2 {}

    Color: #333;

    Auto margin: 0;

    padding: 0;

    }


    H3, h4 {}

    color: #696;

    Auto margin: 0;

    padding: 0;

    }


    {.menubar}

    width: 960px;

    zoom: 1;

    * display: inline;

    _height: 20px;

    }


    . MenuBar ul {}

    width: 960px;

    list-style-type: none;

    zoom: 1;

    * display: inline;

    _height: 20px;

    }


    .sidebar ul ul {} information

    border: 0;

    margin: 0;

    padding: 0;

    list-style-type: none;

    text-align: center;

    }


    . MenuBar ul li {}

    display: inline;

    zoom: 1;

    * display: inline;

    _height: 20px;

    }


    .sidebar ul li ul li {} information

    display: block;

    text-align: center;

    padding: 0;

    margin: 0;

    }


    . MenuBar ul li a {}

    background: #fff;

    width: 100px;

    height: 20px;

    border-top: 1px solid #CCC;

    border-left: 1px solid #CCC;

    border-bottom: 1px solid #CCC;

    border-right: 1px solid #CCC;

    color: #000;

    text-decoration: none;

    display: inline-block;

    text-align: center;

    police: normal 10px/18px "Lucida Grande", "Lucida Sans Unicode", verdana, lucida without serif.

    zoom: 1;

    * display: inline;

    _height: 20px;

    }


    .sidebar ul li a, any ul li {}

    background: #fff;

    width: 175px;

    height: 25px;

    border-top: 1px solid #CCC;

    border-left: 1px solid #CCC;

    border-bottom: 1px solid #CCC;

    border-right: 1px solid #CCC;

    padding: 0;

    margin: 0 10px 0 0;

    color: #000;

    text-decoration: none;

    display: block;

    text-align: center;

    police: normal 10px/18px "Lucida Grande", "Lucida Sans Unicode", verdana, lucida without serif.

    }


    .sidebar ul li a: hover, any ul li a: hover, .menubar ul li a: hover {}

    color: #FFF;

    background: #B1CAAE;

    }


    body #one a {#onenav

    color: #FFF;

    background: #696;

    }


    an img {}

    border-color: #000;

    }


    . Header {}

    Background: #FFF;

    Auto margin: 0;

    text-align: right;

    Width: 960px;

    }


    . Header p {}

    Auto margin: 0;

    padding: 0;

    text-align: right;

    }


    . Container {}

    Auto margin: 0;

    Width: 980px;

    }


    {.box1}

    Background: #FFF;

    margin: 0px 0px 10px 0;

    padding: 10px;

    Width: 960px;

    -moz-border-radius: 6px;

    -webkit-border-radius: 6px;

    border-radius: 6px;

    border-top: 1px solid #CCC;

    border-left: 1px solid #CCC;

    border-bottom: 1px solid #CCC;

    border-right: 1px solid #CCC;

    }


    . Sidebar {}

    Background: #FFF;

    Color: #000;

    float: left;

    Auto margin: 0;

    padding: 0px;

    Width: 180px;

    }


    {information

    Background: #FFF;

    float: right;

    Auto margin: 0;

    padding: 0px;

    Width: 180px;

    }


    {.box2}

    Background: #FFF;

    Auto margin: 0;

    Width: 960px;

    }


    .footer {}

    background-color: #FFF;

    do-size: 12px;

    Auto margin: 0;

    text-align: center;

    Width: 960px;

    padding: 10px;

    -moz-border-radius: 6px;

    -webkit-border-radius: 6px;

    border-radius: 6px;

    }


    UL, ol, dl {}

    margin: 0;

    padding: 0;

    }


    #content1, {#content2}

    margin: 5px 200px 200px 0;

    padding: 0;

    Width: 560px;

    }


    {UL.info168}

    margin left: 186px;

    }


    {UL.list148}

    margin left: 184px;

    }


    UL.list148 li {}

    list-style: disc;

    padding: 1px;

    }


    {UL.list168}

    margin left: 204px.

    }


    UL.list168 li {}

    list-style: disc;

    padding: 1px;

    }

    {.overview}

    margin left: 265px;

    }


    {.overviewinfo}

    margin-left: 20px;

    }


    a: link {}

    color: #696;

    text-decoration: none;

    }


    a: visited {}

    color: #B1CAAE;

    text-decoration: none;

    }


    a: hover, a: active, a: {emphasis

    text-decoration: none;

    }


    {h}

    margin: 5px 5px 0 0;

    color: #CCC;

    }


    {} .info

    margin: 5px 5px 0 25px;

    }

    Thanks in advance to anyone who can offer help!

    -Stephen

    Add clear: both; in the .menubar css selector.

    HOWEVER, although that will position your navigation inside your page it will still not be rendered exactly the same in IE6 IE7 & as in Firefox, Safari, etc.

    Thick cross-browser I would revise the css for the .menubar .menubar ul, li and css anchor as below (is there no need to use the star or underscore hacks as long)

    {.menubar}
    Width: 960px;
    Clear: both;
    }
    . MenuBar ul {}
    Width: 960px;
    list-style-type: none;
    }
    . MenuBar ul li {}
    float: left;
    margin: 0 0 0 4px;
    }
    . MenuBar ul li a {}
    display: block;
    Background: #fff;
    Width: 100px;
    border: 1px solid #CCC;
    Color: #000;
    text-decoration: none;
    text-align: center;
    Police: normal 10px/18px "Lucida Grande", "Lucida Sans Unicode", verdana, lucida without serif.
    }

  • input string was not in the right format, fix it?

    I get this message when you try to download Microsoft Fix It...

    input string was not in the right format.

    How can I fix?  I'm a novis.

    Sincerely,

    Nancy

    If I were you, I wouldn't bother with Microsoft FixIts.

    Why don't ask you a question with an object that describes your problem and give some details about it?  See How to ask a question.
    At a minimum, include the following:

    • What version of Windows you have, including the Service Pack (right click on desktop and select properties)
    • the brand and model of your computer and any other involved material (for example, a printer)
    • a description of your problem in as much detail as you can; There is no charge "by the word" to post questions here
    • the full text of the error without paraphrase messages
    • something unusual happened to your system, shortly before the problem started

    And insofar as this error "input string was not in the correct format?  This seems to be a common problem that Microsoft keep because it creates new tools 'FixIt '.

    There is a support forum for Microsoft FixIt Center in which this right was requested more than 2 years, on September 14, 2010.  The next day, a Microsoft employee answered and said that Microsoft was aware of the problem and that he had set. There are lost then several positions - in the same thread - AUGUST 2011 to September 2012 all reports the same problem... and here, you are as well.

  • Windows 7 taskbar and start menu large icons are either missing (empty by default) or do not show the right program.

    I use Windows 7 Home Premium on an AMD Athlon (TM) II X 4 630 2.80 GHz with 6.0 GB of RAM (64 bit OS). PC is up-to-date with the latest updates and use Norton Anti Virus.

    I used this PC for several months with no problems. After doing some research in my menu of the taskbar Windows Explorer and start icons have become corrupted. The links always work but do not show the right program.

    I tried several things to fix this. I removed everything in the start menu and taskbar, rebooted, added a few back but the problem still exists. I deleted the icon cache file (renamed to db.old), restarted, problem still exist. I made a recovery of a checkpoint system before the problem was still not fixed. When I go to small icons, the problem disappears. The problem only seems to appear when you use large icons in the bar of tasks and the start menu.

    Based on what I've tried so far is there any other suggestions on how to fix this?

    This tutorial is to rebuild the icon cache when the cache is corrupt.

    http://www.SevenForums.com/tutorials/49819-icon-cache-rebuild.html

    Option One is easier.

    If that doesn't do anything for you, please repost to Windows 7 forum, section office and customization:
    http://social.answers.Microsoft.com/forums/en-us/w7desktop/threads

    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • Unnecessary scroll bar appears at the bottom of my site!

    I just loaded my site and a scroll bar appears at the bottom, the whole site is visible to the scrolling is not necessary. -?  It's weird on office and mess truly mobile experience. Someone at - it's not how get rid of? I have looked at works of art that may be sitting outside the work area and couldn't find anything so I am at a loss. Any ideas?

    There is text on your site, don't know if this could be the cause of the problem...

    .. as you reduce the unavailable site in size down, it seems really low...

  • Microsoft fix - it message 'string input not in the right format. '

    Microsoft fix - it message 'string input not in the right format", I have uninstalled & reinstalled. always the same problem on all fix - its

    Hello

    The following forum would be more suited for this question.

    Microsoft Fix it Center - NOT for general support questions
    http://social.Microsoft.com/forums/en-us/fixitcenter/threads

  • Microsoft It - fix diagnose and repair Windows and problems would not install on my computer. He said the chain was not in the right format. Clues?

    I installed Microsoft Fix It on my computer (MSXP). The diagnosis and repair of the Windows files and problems would not install on my computer. He said the chain was not in the right format.  Clues?

    Hi Kathryn1713,

    ·         You are not able to run the Microsoft Fixit tool?

    If so, you can post your query on the Forums of Microsoft Fixit. Please see the following link for the same.

    Microsoft Fix Center - NO support general questions Forum

  • My desktop screen is upside down. How he turned around in the right position?

    The top of the mu screen is upside down.  How di me he turned around in the right position?

    Sunday, December 26, 2010 23:08:09 + 0000, extra Dingo says:
     
    > The top of the mu screen is upside down.  How di me he turned around in the right position?
     
     
     
    The ability to rotate the screen image is a characteristic of your video
    card, to help work with instructors who turn to the portrait
    orientation. Almost certainly you accidentally pressed Ctrl-Alt, and
    an arrow key.
     
    Rotate using these keys.
     

    Ken Blake (MS-MVP)

  • Impossible to uninstall a program; error message: sorry you do not have the right permissions tocomplete this action. Please contact your administrator on this computer to continue

    I downloaded a program on the internet, but now when im trying to uninstall it is showing this error message: cannot uninstall a program. error message: sorry you do not have the right permissions tocomplete this action. Please contact your administrator on this computer to continue. What should I do please help.

    Hello

    you tell us the name of the program

    go to the website of manufacturers of programs and to find a way to uninstall

    or try this free program for her

    http://www.revouninstaller.com/

    and it is a program 'downloaded a program from the internet' search for malware

    Download update and scan with the free version of malwarebytes anti-malware

    http://www.Malwarebytes.org/MBAM.php

    You can also download and run rkill to stop the process of problem before you download and scan with malwarebytes

    http://www.bleepingcomputer.com/download/anti-virus/rkill

    If it does not remove the problem and or work correctly in normal mode do work above in safe mode with networking

    Windows Vista

    Using the F8 method:

    1. Restart your computer.
    2. When the computer starts, you will see your computer hardware are listed. When you see this information begins to tap theF8 key repeatedly until you are presented with theBoot Options Advanced Windows Vista.
    3. Select the Safe Mode with networking with the arrow keys.
    4. Then press enter on your keyboard to start mode without failure of Vista.
    5. To start Windows, you'll be a typical logon screen. Connect to your computer and Vista goes into safe mode.
    6. Do whatever tasks you need and when you are done, reboot to return to normal mode.
  • I bought the ability to convert PDF files into word documents. However, when I opened a PDF it does not include the right panel that had been giving me the option to convert. After spending 30 minutes on a cat, I learned that (1) the option is not on the

    I bought the ability to convert PDF files into word documents. However, when I opened a PDF it does not include the right panel that had been giving me the option to convert. After spending 30 minutes on a cat, I've learned that (1) the option is not on the right side panel on Acrobat 9 Pro, (2) it is on the top. What should I do to convert my files?

    Look at the file menu.

  • Hello, I would just remove my ADOBE ID but I have not found the right place to post my question! Could you help me?

    Hello, I would just remove my ADOBE ID but I have not found the right place to post my question! Could you help me?

    What do you mean by "delete my ADOBE ID"?

    The following link might be useful.

    To the link below, click on the still need help? the option in the blue box below and choose the option to chat...

    Support of Adobe ID and registration of chat (non - CC)

    http://helpx.Adobe.com/x-productkb/global/service-C1.html ( http://adobe.ly/19r6ZDp )

  • Quiz - not recognizing the right answers

    Just try to create a quiz using Captivate.

    I thought that I understood, except that it does not recognize the right answers.

    http://www.learners-Guide.co.UK/QuizTest/Captivate/tests/test3/test3/index.html

    I checked the box to tick boxes for Q2 and Q1.

    That I may have hurt or spleen?

    Thank you.

    Donal thanks. Look again I can see what I was going to hurt. I was clicking "Next" rather than "submit" after each question. Thinking about it, I assumed that 'next' lets back you to the questions that you might want to mull over.

  • How to display relationships on the current bar not on the base bars

    How to display relationships on the current bar not on the base bars

    Ah ok, just tested. Relationship arrows are drawn on which ever bar appears first. In the menu bar, move the base bar to the bottom of the list, or least after current/remaining bars.

  • Why is my picture below and not to the right?

    I have a problem of layout and it's driving me crazy. The code I have for a page is a hodgepodge of all kinds and I can't, for the life of me, figure out how to get two images to be on the right side.

    That's what I want it to look like:

    skitched-20110524-011243.jpg

    But all I can get it to look like in is the following:

    The photos in the album are the form below. Not to the right of the shape that I want them to be. I would be very grateful for any advice, that the community has to offer. I am tech savvy; I'm a genius of the apple store. But I have not worked in before Dreamweaver and it is, apparently, push the limits of what I can do. The site is a model so there's a lot of redundant code.

    Thanks in advance.

    James.

    Correct these problems, first http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fweb.me.com%2Fjames.veitch%2FGMedi a%2FContact.html then come back here if your problem persists.

    GRAMPS

Maybe you are looking for

  • Satellite Pro A60 does not recognize DVD-R blank disc

    Can anyone help? I've tried several brands of DVD - R, but also blank discs DVD + R on my Satellite Pro A60, but very few of them are even recognized. Pioneer DV - RW DVR - K13A is supposed to work correctly when I check the Properties tab. I tried t

  • to access the data of hyperteminal using labview

    Hello Sir, I'm a problem to access the data of hyperterminal directly through LabVIEW. Whenever I go to hyperterminal and the text capture option allows you to select data and save it in another file. My application requires automatic access of hyper

  • Partitioning

    Hi, can someone help me on how to partition a hard disk after formatting. Or you can only partition during formatting...

  • HP Pavilion dv6 - 3048es Entertainment Notebook PC motherboard replacement

    Hello Last Friday, my laptop losses appear on the screen. I thought that the problem will be the video graphics card. But, the card is integrated on the Board of Directors of the system, so I think I need to replace the motherboard. Anyone here know

  • Event ID 1001 when you try to delete a file or folder.

    Hi out there. Trying to remove a results file in a pop-up window: "Windows Explorer has encountered a problem and needs to close. We are sorry for the inconvenience. »and event id 1001. By clicking on the link says what SQLite requires an update - wh