A good solution to set the actual data record after execute query ..

Hi,
in my Form there is a block on a temporary table.
The user can add query results and wishes to save the last data focus on the last actual record before the execute query to restore this focus after the query.
Is there a robust and fast solution to save the
actual data focus - execute_query - restore the saved focus ?
Thanks
Friedhold

Here is a simple solution to try:
Create a package specification in your form: Package P0 is
  Save_rowid  varchar2(30);
  Found_rec   number;
End;Create a Key-Entqry trigger on your block: P0.save_rowid := :Myblock.rowid;
P0.Found_rec := null;
Enter_Query;Create a Post-Query trigger on the block: If :Myblock.rowid = P0.save_rowid then
  P0.found_rec := :system.trigger_record;
End if;Create a Key-Exeqry trigger on the block: Execute_Query;
If P0.found_rec is not null then
  Go_record(P0.found_rec;
End if;

Similar Messages

  • How to dynamic set the X date series...

    Hi,
    I set the X axis date value interval 1 so it can show as a daily "date", however, the chart is good if the data point is within 24 records. However, when I draw 7 days data (around 168 records), the x axis date lable will be messed up and cannot
    view the actual date values.
    Could you advise a formular to evaluate the returned data set, if it is bigger than a variable (e.g 168 or returned data set records is larger than 168 then it will set to auto) ??
    Thanks

    Hi kkcci88888,
    According to your description, you create a chart and many values display on X axis, then you can’t see the actual date value clearly. So you want to make X axis values group on date, right?
    In your scenario, since there are too many records within 7 days, it will have too many date appear on the category (X-axis). However, we could specify the dataset fields group on day values, and make label displays as YYYY-MM_DD using expression. Please
    refer to steps below:
    1. Specify Label with expression Category Group Properties like below:
    =Year(Fields!date.Value)&"-"&Month(Fields!date.Value)&"-"&day(Fields!date.Value)
    2. Specify the Group on expression Category Group Properties like below:
    =day(Fields!date.Value)
    3. Preview the report.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • How to get  the actual data in ALV report

    I am doing some upgradation work   in that i am using Submit  & And return and  also i am using some function modules like LIST FROM MEMORY , LIST TO TXT wnd WRITE LIST , it gives output in normal list format , But i need to print in ALV report .
    With the use of set table for 1st display i got the  ALV report   but not with actual data, (some junk value is showing) , So can any 1 suggest me how to get  the  actual data in ALV report, With the use of  Any Function Module or with Coding,
    with regards,

    Hi Saravana
    I am sure you must be getting the values in tables of table parameters from every FM.
    consolidate the values from tables of all FMs in one table and built ALV for that table only.
    I hope this way you can show the actual data in ALV.
    thanks
    Lalit

  • In Aperture 3.4 Export Slideshow to a video, what are the actual Data Rates used for "Best", "High", ... "Least" quality for a given resolution?

    My Photo website host (SmugMug) converts uploaded video files at a specific Data Rate in Mbps before installing them. I would like to compress my slideshow video file to the same rate before I upload it to reduce file size and upload time. When I choose the "Custom" setting for an Export, I can choose 1 of the 5 Quality choices and see the estimated file size. But, I cannot know what the actual Data Rate is until after I wait a long time to export the slideshow (hours for a long slideshow) and then examine the resulting file in QuickTime Player's Inspector.

    I ran a few tests using a short slideshow (16 images, 1:23 mins/secs) at 1,728 x 1,080 resolution to find out the bit rates for various quality level choices.
    Export setting              Quality          Resulting bit rate          File Size
    HD 1080p                    default                20.68 Mbps              214.8 MBytes
    Custom                       Best                   20.49                       212.8
    Custom                       High                     6.25                         65.0
    Custom                       Medium                3.97                         41.3
    However, I don't know if those bit rates will be the same for different length slideshows or for different output resolutions. My SmugMug host site uses an 8.0 Mbps rate for a 1728 x 1080 video file. If I choose Custom/Best, my file will be almost 3 times bigger and much higher quality than necessary, but if I choose Custom/High, my file will be smaller and lower quality than SmugMug's converted version.
    I have installed MPEG StreamClip that will let me convert an exported Aperture slideshow video file, and StreamClip allows me to choose a specific bit rate in Mbps. But, I would prefer not having to do a 2 step process (Export from Aperture, then convert in StreamClip).

  • Provide brings back the actual date , different to the table content

    Hi,
    I´m not a developer, but must do that part now in my company.
    We have a 46C with actual packages.
    In a customer report I have to add 2 fields to an output.
    It selects from PNP and provides data like follows:
    GET PERNR.
      PROVIDE * FROM P0000
    FROM P0001
    FROM P0002
    FROM P0006
    FROM P0007
    FROM P0013
    FROM P0016
    FROM P0053
        BETWEEN PN-BEGDA
            AND PN-ENDDA.
    That worked fine.
    Now I liked to set 2 fields with contents of IT 0000 (table PA0000):
        IF P0000-MASSG = '01'.            " MA aktuell im Vorruhestand ?
         TRANS-BEGVORRST = P0000-BEGDA.
         TRANS-ENDVORRST = P0000-ENDDA.
        ENDIF.
    At debugging I can see, that the requested fields from P0000 are set to the actual date, not to the value I can select from table or shown in the SAP transaction.
    All other fields from PA0000 are matching the row I expect, but not the date fields
    Any idea?

    Hi,
    That is the behavior of PROVIDE statement. If you combine (JOIN) several tables (P0001, P0002, etc) together, it will give you all the intersected dates.
    For example, in two tables itab1 and itab2, the respective columns col1 and col2 are interval limits of type i. The filling of the internal tables results in the following intervals (rows two and three):
    |   Itab1 Int1    |     |Itab1 Int2 |     |
    |        |      Itab2 Int1       |        |
    |  |          ... BETWEEN ...             |
    |  | i1  |   i2   | i3  |   i4   |i5|     |  <<<< This is the result
    Regards,
    Lim...
    Edited by: Ruslim Chang on Apr 17, 2009 11:26 AM

  • Setting the Member & data build level dynamically

    Hello, I have got a situation where i need to set the Member & data build level dynamically based on the member. The option "Build Multidimensional down to here"(OLAPMetaoutline Menu)can be used,But when we use this option i could not perform my task as i need set the Build level dynamically based on the member level.I have to set the level dynamically for the following instance.Suppose My time dimension hierarchy is as follows: BY Year BY Quarter By Month If the year is say 1995,then quarter level & month level data is not required. If the year is say 1998,then quarter level & month level data is required. Could anyone provide a solution for dynamically setting the Member & data build level? Thanks,Sathyan

    Hi CTS,
    Thanks for ur repply,
    My source side i am having BANK_BRANCH_STATUS table has BRANCH_CODE and EOC_STATUS(possible values for this column is 'N','T','F','E' & 'B').
    The source table from which data has to tranform will be having BRANCH_CODE.
    i made odiwaitfordata as 1st step in package ,in this step the code looks like this
    OdiWaitForData "-CONTEXT=GLOBAL" "-GLOBAL_ROWCOUNT=1" "-LSCHEMA=ORACLE_FCSAILS" "-POLLINT=1000" "-RESUME_KEY_OPERATOR==" "-SQLFILTER=EOC_STATUS='E'" "-TIMEOUT=0" "-TIMEOUT_WITH_ROWS_OK=YES" "-UNIT_ROWCOUNT=>=1" "-INCREMENT_DETECTION=NO" "-TABLE_NAME=BANK_BRANCH_STATUS" "-OBJECT_TYPE=T"
    In the procedure,
    Source command-select branch_CODE from BANK_BRANCH_STATUS WHERE EOC_STATUS='E'
    Target command- Execute scenario for batch with branchid as a parameter... how to put up this in code form....could u suggest me?
    3) flag those which are executed so you don't wait for them again --how to put up this in code form....could u suggest me?
    Please sugest me,
    Thanks,
    MNK

  • [svn:fx-trunk] 9127: Fixes bug in Slider animation where we would set the actual value during the animation , ignoring any snapInterval setting.

    Revision: 9127
    Author:   [email protected]
    Date:     2009-08-05 17:25:39 -0700 (Wed, 05 Aug 2009)
    Log Message:
    Fixes bug in Slider animation where we would set the actual value during the animation, ignoring any snapInterval setting. The fix uses the pendingValue property to hold the animated value, which makes the slider look correct, but no actual value update is sent until the animation completes.
    QE notes: None
    Doc notes: None
    Bugs: SDK-21776
    Reviewer: Hans
    Tests run: checkintests, Mustella (gumbo/components/Slider)
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21776
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as

    Revision: 9127
    Author:   [email protected]
    Date:     2009-08-05 17:25:39 -0700 (Wed, 05 Aug 2009)
    Log Message:
    Fixes bug in Slider animation where we would set the actual value during the animation, ignoring any snapInterval setting. The fix uses the pendingValue property to hold the animated value, which makes the slider look correct, but no actual value update is sent until the animation completes.
    QE notes: None
    Doc notes: None
    Bugs: SDK-21776
    Reviewer: Hans
    Tests run: checkintests, Mustella (gumbo/components/Slider)
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21776
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as

  • When is the actual date for FSC HD availability?

    Anyone from verizon FiOS - please advise the actual date of Fox Soccer Channel HD availability date.
    Or at least the aproximate date
    Thanks

    Not a Verizon employee but Verizon almost never announces in advance when something will be deployed (new channels, IMG, or whatever).
    Best answer is when you see it in your guide then that will be the date (and not trying to be a wise guy, just relating 4 years of experience).
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.

  • Can we set the dynamic data source when using getReportParameters() ?

    Hello!
    I have a report where one of its parameters refers to a list of values (LOVs). This list of values is an SQL Query type. When the data source used in the report is defined in the BI Publisher server, I'm able to get the report parameters using the getReportParameters() function in my application. However, if the data source is not defined the function throws an exception, which is understandable.
    I decided to dynamically set the data source so that even if the data source used by the report is not defined in the BI Publisher server, it still will be able to get the LOVs for the parameter. I tried setting the JDBCDataSource of the dynamicDataSource for the ReportRequest object that I passed to the getReportParameters() function. Please see the sample code below:
    reportRequest.dynamicDataSource = new BIP10.BIPDataSource();
    reportRequest.dynamicDataSource.JDBCDataSource = new BIP10.JDBCDataSource();
    setReportDataSource(reportRequest.dynamicDataSource.JDBCDataSource, connectstr, jdbc, dc); //function to set the values for JDBCDataSource object
    reportParams = webrs.getReportParameters(reportRequest, uid, pwd); //call the getReportParameters
    I was expecting this to work as this is what I did to dynamically set the data source before calling the runReport function. So, my question is -- can we set the dynamic data source when using getReportParameters() ? I tried this both in versions 10g and 11g. It does not seem to work on both versions.
    Regards,
    Stephanie

    report_id column of apex_application_page_ir_rpt can help us uniquely identify each saved report.
    We can assign this report_id value to a page item and this page item can be put in the Report ID Item text box of the Advanced section of the Report Attributes page of the IR.
    This should load the saved report identified by report_id and you can get rid of javascript
    Regards,
    Vishal
    http://obiee-oracledb.blogspot.com
    http://www.packtpub.com/oracle-apex-4-2-reporting/book
    Kindly mark the reply as helpful/correct if it solves your problem

  • How can I set the insert date to auto update in Pages 5.2.2

    how can I set the insert date to auto update in Pages 5.2.2
    I am attempting to have the date in header auto update in a Pages file.
    I can insert it, but where is the AUTO UPDATE selection
    OS10.9.4
    thank you

    Apple never included the auto-update feature for dates in Pages v5.2.2. You would have to single-click the date, and deliberately update it.
    If you have Pages ’09 v4.3 in /Applications/iWork '09, then it will allow you to configure auto-update of the date field. Right-click on the date, set the format, and click the selection for automatically update on open.

  • JMS Adapter setting the header data of MQ message

    Hi All,
    I need to set the properties in JMS adapter for setting the header data of MQ message.
    JMS_IBM_MQMD_Format = MQFMT_NONE.
    Thanks in advance
    Ravijeet

    Hi All,
    I am stuck in a typical XI issue.......I have a scenario where my input to XI is IDoc and output is xml message going to IBM MQ.
    The IDoc is sending some chineese character which is fine is SXMB_MONI Integration server and also fine in the payload of message monitoring, so feel the message is going fine from XI to MQ.
    But the receiver EDI system which is picking the message from MQ queue says the chinese characters are getting corrupted. They say that you need to set the additional properties in MQ header data
    JMS_IBM_MQMD_Format = MQFMT_NONE.
    How do I do this in communication channel for jms adapter ? How to I set the MQ header data in jms communication channel ?
    Thanks in advance
    Ravijeet
    Edited by: RAVIJEET DAS on May 12, 2009 8:27 AM
    Edited by: RAVIJEET DAS on May 12, 2009 8:27 AM

  • How to set the Expiration Date for a task which is been assigned explictly.

    Hi,
    When I assign a task to myself and not work on it for couple of weeks the task is getting released automatically into the original unassigned pool. The TaskActionHandler WSDL is causing that to happen. I don't want a task to be automatically released into the pool when I don't work on it for couple of weeks, how can I make that happen? TaskActionHandler is something which comes with the BPEL so I can't change the way how it behaves. Do I need to set the expiration date or duration explicitly when a task is created?then how do I do that?
    If anybody could let me know how to make TaskActionHandler not to release a dehydrated task, I would be glad.
    Thanks,
    Mythili.

    Hi,
    Make AUTO RELEASE a restricted action for the task by adding the following line:
    <restrictedAction>AUTO RELEASE</restrictedAction>
    to the <restrictedActions> tag in the task configuration file.
    Works effectively.
    Alternatively, you can specifiy the auto release durations on a per task priority basis. There is more on that in the BPEL Dev Guide.
    Hth, Sjoerd

  • How to set the expiration date in content server

    Hi all,
    I wish to set the expiration date as 3 years later the current date. I have current Date in DocCreateDate but I am not able to set it as DocCreateDate + 3 years.
    Can anyone tell me how to set it?
    Any help appreciated..
    Thanks

    You will need to use an idocscript function, most likely in a global rule.
    One option could be dateCurrent, which can take a number of days to move it forward or back. See http://docs.oracle.com/cd/E23943_01/doc.1111/e10726/c08_config_ref.htm#i1053616

  • How do you set the expiration date of a secure zone?

    I am trying to set up a form where a user can sign up for access to a secure zone for 1 year. How do I set the expiration date of the secure zone for them to expire one year after they sign up for it?
    I have tried using a hidden field named "ZoneExpiry" (I have tried "ExpiryDate" as well) in the form and set its value attribute manually in the HTML (with the format 13-May-13), and the expiration date always ends up being 31-Dec-9999.
    Any help would be greatly appreciated.
    Thanks!

    I have done this.
    Have a hidden input field on form  <input name="ZoneExpiry" id="ExpiryDate" />
    Then have a function as follows:
    var dat=new Date();
                                                      dat.setDate(dat.getDate() + 365);
                                                      var monthname=new Array("Jan","Feb","Mar","Apr","May","Jun", "Jul","Aug","Sep","Oct","Nov","Dec")
                                                      var pretty = dat.getDate() + "-" + monthname[dat.getMonth()] + "-" + dat.getFullYear();   
                                                      jQuery("#ExpiryDate").val(pretty);
    Hope this helps.

  • How to Set the Effective Date to Sysdate in OAF Page

    Hi All,
    I am new to OAF and started working on OAF. I have a unique situation and I am unable to get it going. Here is the situation.
    1) Currently on Benefits module when an user logons he/she will be directed to FamilyMbrsPG. In this Page I had extended the controller(BenEnrlHeaderCO) to set the Effective Date to as that of life event occured date. This is working fine.
    But the issue arrises when one clicks the next button on FamilyMbrsPG. The requirement is when One navigates to CurrOvwPG at that page the effective date needs to be reset to Sysdate which I am unable to do. But the probloem is when I am trying to debug the controllers files of CurrOvw It is pointing to the controller class of FamilyMbrsPG which is BenEnrlHeaderCO.
    I was trying to reset the Effective Date as of sysdate.
    Can you please let me know as how to proceed from here.
    Thanks and Regards
    Vinod
    Edited by: user5149618 on Sep 17, 2009 8:01 PM

    Hi Gauravv
    Well here it is
    1) But the probloem is when I am trying to debug the controllers files of CurrOvw It is pointing to the controller class of FamilyMbrsPG which is BenEnrlHeaderCO
    In this scenario what is happening is for the page CurrOvwPG there are 6 controller class files which are as follows.:
    1) BeneficiariesOverviewCO.java
    2) CoveredDependentsOverviewCO.java
    3) CurrentBenefitsCO.java
    4) CurrentBenefitsTopCO.java
    5) SelectionOverviewTableCO.java
    6) SelectionsOverviewCO.java
    When I ran the project in debug mode and placed the breakpoints for the controller class files. As soon as I click the next button in FamilyMbrsPG the breakpoint in occuring at line31 of BenEnrlHeaderCO which is again a controller class file for FamilyMbrsPG which has been already extended to set EffectiveData to that of Life even occured Date.
    Now in CurrOvwPG I need to reset the EffectiveDate to Sysdate. Please let me know if this is clear...
    Thanks and Regards
    Vinod

Maybe you are looking for