Items in the block are not refreshing

Hi,
I am having a master screen ,in which for a particular job_name there can be "N" version_no's .
for 1 version_no it is having around 15 items.
i am having a second screen, which will display all the version_no's for the job_name.
if you select a particular version_no and press view details button,it will go back to the main screen and display the details of the version.
my problem is it's not refreshing it's holding the version details that we entered while creating.
for ex:
if i select only 5 items in the query in version details button also it is displaying all the version details.
in the view_details button i am having the following code.
declare
     v_job_name chng_cntrl_job_dtls.job_name%type;
     v_job_version_no   chng_cntrl_job_dtls.job_version_no%type;
begin
-- message('inside when-button-pressed');     
  v_job_name := :CHNG_CNTRL_JOB_VERSIONS_VIEW.JOB_NAME;
  v_job_version_no := :CHNG_CNTRL_JOB_VERSIONS_VIEW.job_version_no;
  clear_block (no_validate);
  set_block_property( 'chng_cntrl_job_dtls', default_where, 'job_name=v_job_name and job_version_no=v_job_version_no' );
  go_block('chng_cntrl_job_dtls');
SELECT  JOB_NAME              
                 ,LPAD(JOB_VERSION_NO,5,'0')        
                    ,TEXT                  
                    ,LAST_UPDATED_DATE     
                    ,USER_ID               
                    ,ACTIVATE_DATE        
                    ,SENT_DATE             
                    ,HR_FLAG     
INTO
         :CHNG_CNTRL_JOB_DTLS.JOB_NAME              
                    ,:CHNG_CNTRL_JOB_DTLS.JOB_VERSION_NO        
               ,:CHNG_CNTRL_JOB_DTLS.TEXT                  
                    ,:CHNG_CNTRL_JOB_DTLS.LAST_UPDATED_DATE     
                    ,:CHNG_CNTRL_JOB_DTLS.USER_ID               
                    ,:CHNG_CNTRL_JOB_DTLS.ACTIVATE_DATE         
                    ,:CHNG_CNTRL_JOB_DTLS.SENT_DATE             
                    ,:CHNG_CNTRL_JOB_DTLS.HR_FLAG 
FROM CHNG_CNTRL_JOB_DTLS
WHERE JOB_NAME = v_job_name
AND JOB_VERSION_NO = v_job_version_no;
exception
     when others then
     message('exception in when-button-pressed '||sqlerrm);
end;Please advice.

I'm a little confused by your code sample. Why are you setting the DEFAULT_WHE RE clause of the CHNG_CNTRL_JOB_DETLS block but you never execute a query; instead, you manually query one (1) record into the block after this?
se t_block_property( 'chng_cntrl_job_dtls', default_wher e, 'job_name=v_job_name and job_version_no=v_job_version_no' );go_block('chng_cntrl_job_dtls');
S ELECT JOB_NAME
>
Let Oracle Forms do the work for you! You've s et the DEFAULT_W HERE clause of the block - now use it and simply execute a query. Try the following:
DECLARE
   v_job_name          chng_cntrl_job_dtls.job_name%type;
   v_job_version_no   chng_cntrl_job_dtls.job_version_no%type;
BEGIN
   -- message('inside when-button-pressed');     
   v_job_name := :CHNG_CNTRL_JOB_VERSIONS_VIEW.JOB_NAME;
   v_job_version_no := :CHNG_CNTRL_JOB_VERSIONS_VIEW.job_version_no;
   clear_block (no_validate);
   se t_block_property( 'chng_cntrl_job_dtls', default_w here, 'job_name=v_job_name and job_version_no=v_job_version_no' );
   go_block('chng_cntrl_job_dtls');
   Execute_Query;
EXCEPTION
   WHEN OTHER THEN
      message('exception in when-button-pressed '||sqlerrm);
END;Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly.
Edited by: CraigB on Dec 2, 2010 8:37 AM

Similar Messages

  • Line items for the PO are not automatically displayed

    Hi all,
    When attempting to post an invoice against PO, the line items for the PO are not automatically displayed. When we went to the Listing of PO's and brought this up, we noticed under the "invoice"tab that the: Invoice Receipt & GR-BsdIV is checked.
    need your help
    Thanks
    Fayaz

    Hi,
    Can you check delivery complete indicator in PO. It is in PO item details delivery tab.
    In MIRO transaction, select the  tab Purchase order/scheduling agreement, enter PO number and press enter.
    Right hand side select the layout all information .
    Regards,
    Chandra

  • Process Context changes (.XSD) are not refreshed in the Task Mapping

    Hello,
    I'm adding new attributes to the .XSD but the changes are not refreshed in the mapping section of the tasks. How can I refreshed these changes?
    Best Regards
    SU

    Hi,
    You can manually reimport DO xsd by :
    Your BPM Project > ProcessModeling > Data Types folder > XSD Files folder > Right click xsd file> Reimport.
    You can manually reimport WS wsdl by :
    Your BPM Project > ProcessModeling > Service Interfaces folder > WSDL Files folder > Right click wsdl file> Reimport.
    Regards,
    Unni

  • Some items on my ipod are not backed up - why?

    I want to reset my ipod touch because when I listen to music, the music tends to cease at random...the display shows that the tune is playing, but no sound comes out.  Also, some of the tunes seem to have their names incorrectly matched to the music, despite being OK when I check them in Itunes.  But when I try to reset the ipod, it says some items on the ipod are not backed up and will be lost.  But it gives me no way to find out what items are not backed up, nor how to make them become backed up.  So my backup is jacked up!  How do i fix this so I can at least try a reset in hopes that it might fix the problem of the music randomly stopping?

    This is going to sound dumb, but humor me, when was the last time you backed up your iPod? Before you try backing up try this: a Soft Reset, press and hold the power and home buttons together until the Apple logo appears, about 15 seconds +/-, then release both buttons, should not cause you to lose anything. Or going into Setting>General>Reset and tapping Reset All Settings, should not effect photos in camera roll or music, may cause you lose some contacts or email content. If you are thinking of doing a Restore make sure you backup anything you do not wish to wipe to your computer before starting a Restore from backup or a Restore to new (factory restore). To make the back up connect with the cable to iTunes then go into your iPod page and go from there. Before you start resetting / Restoring have you tried unsyncing the music library from your iPod then sync again. Or deleting the music and then sync with your computer's music library? (Note any music that is not on your computer may be lost to you if you don't sync it to the computer first.) May work, may not. Hope this helps, Good luck, Cheers.

  • Most Popular Items Report: items listed in report are not the document names or titles

    I have a document library that's loaded with typical corporate ppt, word, and pdf files.  When I run a Most Popular Items report on the library, the list of items displayed in the report are not the document file names or document titles. 
    Instead, the report is showing information that seems to pulled from within the content itself.
    For example, there's a new corporate ppt template in the document library and the Most Popular Items report shows the sharepoint url for the ppt file as being one of the most popular items.  Let's say that the file is named Standard_ppt_template.ppt. 
    The url for one of the most popular items reflects that in the URL.  However, the item is listed in the Most Popular Item as "Company Confidential".  The report seems to be pulling the words "Company Confidential" listed in the
    footer of the ppt template and showing that as the most popular content item. 
    Is there a reason or setting why the Most Popular Items report is not returning a list of items based on either the file name or the document title?
    Thanks in advance for any advice.

    Hi,
    According to your post, my understanding is that the PPT files items in the “Most Popular Items” report display these items’ names seem to be pulled from the PPT files’ content.
    Per my test, the Word, Excel, PDF, .txt, .png files items in the “Most Popular Items” report will display these items’ names based on the corresponding items’ title value if they have, or the corresponding file name if these items don’t have the title value.
    However, it’s by design that the PPT files items in the “Most Popular Items” report will display these items’ names only based on the beginning of these PPT files’ content rather than these files’ names and the corresponding items’ title value.
    Best Regards,
    Yumi Fu

  • HT1420 I want to authorize my PC to download my purchased items to my IPAD from itunes.  The instructions are NOT clear.

    I need to authorize my PC to download my purchased items to my IPAD.  The instructions are not clear (to me anyway).  Open itunes where (PC or IPAD), I do not see an option to "authorize computer" or maybe in this case and "advanced button".  Frustrated and confused buy this  

    Only computers nees authorising for your account, iPads (and iPhones and iPods) don't need authorising. On your computer's iTunes you should be able to authorise it via the Store menu at the top of iTunes - with iTunes 11 on a PC pressing Alt-S should get the Store menu to appear
    e.g. (screenshot is from a Mac, but it should be similar on a PC)

  • Dynamic Repository Variables are not Refreshing in OBIEE 11.1.1.6

    Hi Experts,
    As of sudden the dynamic repository variables are not refreshing.
    The same rpd is working fine in Test Environment.
    If any change in the query of initialization block, it is fetching old result.
    Even after refreshing in Analytics page, still it is showing old value.
    Please help me in regarding this.
    Regards,
    Kallu.

    Make sure init block is pointing to right connection pool.
    whats the status in NQServer.log and NQQuery.log files?
    If helps pls mark

  • NWDS WebDynpro views are not refreshing after changes in layout...

    Hello experts..
    I'm using NWDS 7.0.13 and every time I'm modifiying a webdynpro view in layout mode the view does not refresh, instead I get this message:
    This program cannot display the webpage
    Most likely causes:
    You are not connected to the Internet.
    The website is encountering problems.
    There might be a typing error in the address.
    What you can try:
    Check your Internet connection. Try visiting another website to make sure you are connected.
    Retype the address.
    Go back to the previous page.
    More information
    In order to display the changes I have made, I have to close the WD View and re open it, the funny thing is my other team mates can change their views and see their changes inmediately without closing/opening the view.. hope anybody can help me out on this one..
    Thanx in advance..
    JV

    Hi Armin, thanx for your answer and effectively I have installed IE7, I read other posts and after reading the "solutions" I rather close and open my WD views insted of removing security patches of IE.. I guess I'll have to wait until SAP fixes this and meanwhile I'll work the way I just mentioned.
    I'll let this question unanswered until this fix comes out.
    Cheerio !
    JV

  • Changes made to the database are not being affected in Toplink work bench..

    Hi,
    Im recently encountering the following problem with Toplink mapping work bench.
    The cchanges are not visible when I make any changes to the underlying database tables and retrieve that tables into mapping work bench .
    The retrived table information still contains old information and the new fields added are not seen and the old fields which were deleted are not deleted.
    Is there any cache associated with TOplink..if so How can I flush that cache so that i always end up with the latest DDL s in my Toplink
    Thanx in advance...
    Regards
    Mahi

    You need to explicitly refresh the tables. In the Mapping Workbench, select or multi-select the tables you'd like to refresh, right click on them and choose "refresh".
    IF you are doing that, and not seeing the changes, then the most likely issue is that you are connecting to a different database and/or using a different JDBC login.
    - Don

  • Performance Point: Code blocks are not allowed in this file.

    Hi All,
    I'm trying to use Performance Point 2010 in Sharepoint 2010...
    I have start the application in centrel admin
    I have created a site collection based on the Bisuness Intelligence Center template
    I can surf the new Site Collection but when I try to open the "Start using PerformancePoint Services" link I get the following error:
    "An error occurred during the processing of /PerformancePoint/Pages/ppssample.aspx. Code blocks are not allowed in this file."
    is there any way to fix it???
    is there any good source to understand and deploy Performance Point 2010??
    thanks All
    Vit

    I have tried the above PageParserPath settings, however none seem to fix this problem for me.  Does anyone have another solution to this issue?
    I've tried...
    <PageParserPath VirtualPath="/Pages/ppssample.aspx"
    CompilationMode="Always" AllowServerSideScript="true" />
    <PageParserPath VirtualPath="/PerformancePoint/ppssample.aspx"
    CompilationMode="Always" AllowServerSideScript="true" />
    <PageParserPath VirtualPath="/mysitecollection/ppssample.aspx"
    CompilationMode="Always" AllowServerSideScript="true" />
    Help Please!!!

  • The Executables are not pointing to the DataControl in the Page bindings.

    Hi all
    I am working in the Jdev 11.1.2.1 and weblogic 10.3.5.
    I would like to inform you that,in my page bindings,the executables are not pointing to the Datacontrol and hence when i debug my page i am geting an empty page.
    This is happening many times.
    Inorder to solve this,i am adding one more executable to my executables and then when i c the executable pointing to the required datacontrol i delete the added executable.Then i am rebuilding the project and then i am running the page.Then i can see the page with the data.
    This is happening many time and many times i did the same.
    I want solution for this kind of problem.Why is this happening and whats the solution for this issue.
    Please help me in this issue.

    Hi,
    I am not sure what causes this issue.
    1. Are you using ADF Libraries (model projects are deployed and used). If yes, does it work fine if you refresh the whole application (in the application navigator) and then run the page to see if it resolves?
    2. When you open up the pagedef in overview mode, do you see the Datacontrol? If not, try refreshing the datacontrol palette and see if it works fine after that?
    3. What happens if you do a build->clean all and then run the page? Does it work fine then?
    -Arun

  • Both my pc and android phone are synced to Firefox, but the devices are not syncing with each other

    Each device (pc + android phone) is logged into Sync, but there is no sync sharing happening
    <sub>edit: removed personal information for your protection. (philipp)</sub>

    HI msknack,
    Thank you for your question. I understand that both of the devices are not syncing to match. Can you please check the following:
    *Are they on the same version of sync? (Android account should not list Firefox Sync (deprecated))
    *Are the managed items checked to be synced in the sync options?
    Posting back could help out other users as well.

  • TS1424 I have purchased and downloaded an album, but some of the songs did not download correctly as the songs are not complete.  How do I redownload them without purchasing the album again.

    I have purchased and downloaded an album, but some of the songs did not download correctly as the songs are not complete.  How do I redownload them without purchasing the album again.

    If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copies of the track and try redownloading fresh copies.
    Otherwise, I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the items that are not playing properly. If you can't see "Report a Problem" next to the items, click the "Report a problem" button. Now click the "Report a Problem" links next to the items.
    (Not entirely sure what happens after you click that link, but fingers crossed it should be relatively straightforward.)

  • Synchronized {blocks} are not synchronized ?

    Hi
    I have a stored procedure containing a method with a synchronized block :
    public class MyClass {
    private static Connection conn;
    public static void insert(String stringData) {
    synchronized (conn) {
    //LOGGING
    Date startTime = new java.util.Date();
    ... some code ...
    //LOGGING
    Date stopTime = new java.util.Date();
    }I suppose that when a lot of concurrent users wil use the stored procedure, the synchronized block of code will not be executed at the same time. But when I do that my log dates are overcrossing, that means concurrent execution.
    How can I make this code really synchronized ??
    thanks,
    Xavier
    null

    radiatejava wrote:
    You mentioned there could be some thread caching - can you pls explain why/how ? Since the threads are not accessing the variable directly and instead they are querying the object using a method, why would the method return some old value ? I understand in case of direct access to the variable, a thread can cache the variable. Do you mean to say that threads will also cache the methods ? Otherwise, how is it possible to return the stale value. I am not expecting a blind answer like XClass is not thread safe (I too agree to this) but some explanation on how caching is being done with method calls too.You are thinking of it in a wrong way. It doesn't matter if methods are cached or not, methods are just static code blocks. The important thing to understand is that all data can be cached unless it is volatile or synchronized. The integer "inside" XClass is data, and that data might get cached, so e.g. getVar can return the cached value. It doesn't need to read the value from main memory. The same applies to setVar, it doesn't need to update the value in main memory.

  • In an eMail message, when I attempt to save two photos by clicking the 'Save 2 Images' link, not the 'Save Image' link, the images are not saved. (I use I I apologize for the late notice, butOS7 on IPhone5). Is this feature broken?

    In an eMail message, when I attempt to save two photos by clicking the 'Save 2 Images' link, not the 'Save Image' link, the images are not saved. (I use I I apologize for the late notice, butOS7 on IPhone5). Is this feature broken?

    Please don't post the same question multiple times!

Maybe you are looking for

  • Creating adobe forms in ABAP

    hi, I am new to adobe forms in ABAP.can anybody please tell me the pre-requisites for the set up and step by step procedure to create Adobe Forms in ABAP? Thanks, Parama.

  • Calling another form

    hi guys can anyone please tell what what the best way is to call another form, pass a parameter to it e.g patient id and execute query on the form based the id passed. basically display all related data as you open that form thanks

  • Conditional Build Tags Bug

    I have several problems with RoboHelp9. I am using Windows7 and 64bit. This is the one causing the most trouble. Conditional build tags apply themselves unwanted and unassigned. The deletion of conditional build tags at the topic properties tag (righ

  • To Journal Or Not To Journal An External FW HD ?

    I have always journaled my FW HDs. However, I notice in this article by Ken Stone, it says HDs should NOT be journaled unless they are going to be used as a boot volume. What are the pros and cons for this? Ian.

  • Encoding files in prores for windows for free

    it's chiristmas and i wanted to share an app for converting almost any video file to prores[HQ] & proress 444. it's a perfect utility for people who transfer files between a pc and a mac. http://eyeframeconverter.wordpress.com/