How can I get a detail block to requery after a database change?

Hi, I have a master/detail form. When the status of the master record changes, I need to update a date in one of the detail records. If I use SQL to update the detail row in the database in the ON-CHANGE trigger of the master block, how can I get the detail block to requery to show the change? When I try doing a go_block from any of the ...UPDATE triggers, it says it is restricted.

wjpenfold,
Do you have a "Relationship" defined between your Master and Detail blocks? If so, you simply need to requery your master block and the detail block will automatically be requeried. If you can't use a relationship, then you can use can create a timer in the trigger that updates the database and then in the When-Timer-Expired (WTE) trigger you can go to the detail block and execute a query. For example:
/* Sample On-Change trigger */
DECLARE
   timer_id  TIMER;
BEGIN
....your code here that performs the update....
   /* Now create an instance of a timer */
   timer_id := Create_Timer ('upd_detail',1,NO_REPEAT);
END;
/* Sample Form Level When-Timer-Expired trigger */
DECLARE
   timer_id   TIMER;
BEGIN
   -- Find the timer first
   timer_id := FIND_TIMER('upd_detail');
   IF NOT ID_NULL(timer_id) THEN
      GO_BLOCK('DETAIL_BLOCK');
      Execute_Query;
   END IF;
END;Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly.

Similar Messages

  • HT2589 Could you show me the full account information (account information)? How can I get the detail information that who charge me?

    Could you show me the full account information (account information)? How can I get the detail information that who charge me?

    I'm not entirely sure what you are asking, but you can view the purchase history on your account (and view your payment method) on your computer's iTunes : if you log into your account on your computer's iTunes via the Store > View Account menu option, you should then see a Purchase History section with a 'see all' link to the right of it. Click on that and you should then see a list of your purchases. On your iPad you can only see a cut-down version via this page (which also allows you to contact iTunes Support if you have a problem with a purchase) : http://reportaproblem.apple.com
    There are instructions on this page for managing and stopping auto-renewing subscriptions : http://support.apple.com/kb/HT4098
    Or do you mean something else ?

  • How can I get an excel spreadsheet onto the iPad and make changes to it?  I need this for a meeting this afternoon.

    How can I get an excel spreadsheet onto the iPad and make changes to it during my meeting this afternoon?

    I just bought splashtop, you have to have your home computer online,and download the pc version.  I have used it ot watch movies and to "go to work" on my ipad.  It controls the desktop through the ipad.  Whiteboard by splashtop does that and more and is on sale.  The education director at the hospital I work at is using that one.
    Splashtop 4.99 remote desktop(or laptop) control. Whiteboard 9.99 is remote control and more 9.99
    Julie

  • How can I get updated iMessages in my iPad after it hasn't updated in a while?

    How can I get updated iMessages in my iPad after it hasn't updated in a while?

    Apple's Limited Warranty http://www.apple.com/legal/warranty/ for iPad excludes coverage for damage resulting from accident, disassembly, unauthorized service and unauthorized modifications.
    Apple will provide a replacement iPad for:
    iPad model
    Out-of-Warranty Service Fee
    New iPad
    $299
    iPad 2, iPad
    $249
    Make a Genius Bar Reservation
    http://www.apple.com/retail/geniusbar/
    You can get the iPad repaired at 3rd party repair sources for less $, however, the Apple warranty will be voided.
    iPad Repair & Screen Replacement Services
    http://www.ifixyouri.com/16-ipad-repairs
    RepairZoom iPad Repair
    http://www.repairzoom.com/ipad-repair.html
    Mission Repair
    http://www.missionrepair.com/Apple_iPad_Repair_Services_s/431.htm
    iGadgetResQ
    http://www.igadgetresq.com/ipad-repair/
     Cheers, Tom

  • How can i get rid of the iTunes logo after updating my iPhone 4 to the iOS 6

    How can I get rid of the iTunes logo after updating my iPhone to iOS 6

    Absolute garbage.
    This abysmal excuse "Always have been built in apps" is irrelevant. NOTHING should be tied to the OS of even
    a phone so tightly that you can't get rid of it. NONE of the apple crap apps do I use, but they use space on MY phone.
    I want the **** things gone.

  • How can I get rid of my apple id after I have restored my iphone when my id has not been deleted?

    how can I get rid of my apple id after I have restored my iphone when my id has not been deleted?

    If it's asking for the original owner's credentials, you cannot "get rid" of it.
    http://support.apple.com/kb/PH13695

  • HT5312 How can I get the email for a rescue I'd to change my security questions

    How can I get the email for a rescue I'd to change my security questions

    You can't add or change a rescue email address (which is not the same thing as an alternate email address) until you can answer your questions - if you don't already have one then see if the instructions on this user tip helps : https://discussions.apple.com/docs/DOC-4551
    When you've got them reset you will then be able to add a rescue email address for potential future use

  • How can i get the info off of an old appleworks database. to my mountain lion. OS X?

    how can i get the info off of an old appleworks database. to my new mountain lion. OS X? My old data base is on AppleWorks 6

    1.  Read Roger Wilmut's excellent series of articles Abandoning Appleworks, especially the one on databases.
    2.  Call the Apple Store and order Snow Leopard Server for $19.99 + sales tax & shipping: 1.800.MYAPPLE (1.800.692.7753) - Apple Part Number: MC588Z/A (telephone orders only).
    3.  Install Snow Leopard Server into Parallels 8, now available for a short time (4 more days) in the March 2013 MacUpdate 10 App Bundle for $49.99:
    4. Install Appleworks 6.2.9 into Snow Leopard Server and it will now run concurrently with Mt. Lion:
                                  [click on image to enlarge]

  • How can I get PSE12 Trial Editor to start after icon is clicked, when Organizer runs ok?

    How can I get PSE12-Trial Editor to start, after Editor icon is clicked, although Organizer runs? The wait or loading icon or message runs for about 60 seconds, then disappears and actual load and run of Editor space never occurs.
    Can you help?

    It must be on your iPad somewhere.  Pull down on the center of your iPad screen to bring up spotlight search at the top.  Enter Starz in the search box to see if the app is located below it.  If it is, and is "hiding" inside a folder, the name of the folder it is in will appear to the far right.

  • How can i get the details on system before 2 months

    Hi gurus,
              To find the Total cpu time ,  cummulative users  we go for St03 and extract it. The details are available for only last 2 months.  How can i get the prevous months details. Is there any special job or parameter meant on SAP behalf, so tat it clears the history. If it runs kindly tel me wat job or parameter it is. And also tel how can i get the previous months details.
    Thank you.
       Livi.
    Moderator message: not directly related to ABAP development, please have a look in the Netweaver forums.
    Edited by: Thomas Zloch on Jan 5, 2011 11:43 AM

    Hi
    U should ask that to your basis, I know the system has the statistic data for a certain period only, the older data are deleted: I don't know if before deleting it a backup is done....but I don't believe
    Max

  • How can I get Firefox to block " Netflicks" pop-ups?

    Usually the first time I open firefox I get the netflex pop-up. How can I get this blocked?
    Thank you

    Thank you for your reply, I only clear cookies and cache on closing Firefox, the site preferences box is not ticked. On the permissions tab Paypal is allowed.
    However, I just closed Firefox and re-opened it, and paypal has remained on the list of exeptions. This is very strange as this morning I had to add it again before using paypal, the exeptions list was empty, I haven't changed any settings. Firefox has just had an update, so hopefully that has cured the problem.

  • How can I get my App Store app back after my daughter deleted it?

    My daughter somehow deleted my App Store app off my iPad. How can I get it back.

    The App Store is not possible to delete.
    Anyway, the easiest way is probably Settings > General > Reset > Reset Home Screen Layout
    If you don't care for that method, you can find the App Store by swiping your home screen from left to right, and typing "App Store" in the search screen.

  • How can I get my photos back from icloud after an upgrade?

    So I recently upgraded my iPhone 4s to an iPhone 5s last Wednesday. I had made sure to back it up with icloud 3 times on 3 different days prior to this. I received my new phone and it was backing up perfectly. Till I realized that my 1,500 photos hadn't uploaded and my phone wasn't letting me take pictures. It had only let me download about 300. I am devastated by the loss of these pictures. I have restored my phone multiple times and it still downloads the same pictures. I have no other problems. I called Apple and they said that the icloud only backed up these 300 pictures and my other ones were lost. But yet there were no signs of my backup being incomplete. How can I get my pictures back?

    Hi sadie,
    When you did the backup, were the 1500 pictures all on your camera roll? Or were they on other Albums?
    iCloud is not a storage device for your photos. You should be importing them to a computer or uploading them to a cloud storage facility like DropBox or Flickr.
    Each time you do a backup of to iCloud, it creates a backup of what is on your phone at that moment in time. So, if you had some photos on one backup, but not the other, you would only be able to "recover" the photos from one of those backups. Photos in iCloud are not aggregative.
    Also, the iCloud backup of photos only includes those photos or videos in the Camera Roll. Photos in any other album are not backed up:
    http://support.apple.com/kb/PH12519?viewlocale=en_US
    If you had PhotoStream turned on, then the last month's-worth of PhotoStream, or the last 1000 PhotoStream photos would also still be viewable.
    Can you tell us where those 1500 photos were located when you did your backup?
    Sorry that you lost your photos. Take a look at DropBox in the App Store, or check out Flickr. If you aren't importing your photos on a regular basis to a computer, then these would be your best bet to protect your photos going forward.
    GB

  • How can i get the SQL of a tablespace from the database

    Hello All,
    I am using Oracle 11g R2. I want to get the SQL of some tablespaces on my database. in the same way i get the DDL of the table using the GET_DDL function.
    How can i get that ?
    Regards,

    try this please
    select dbms_metadata.get_ddl('TABLESPACE',tb.tablespace_name) from dba_tablespaces tb;or
    select 'create tablespace ' || df.tablespace_name || chr(10)
    || ' datafile ''' || df.file_name || ''' size ' || df.bytes
    || decode(autoextensible,'N',null, chr(10) || ' autoextend on maxsize '
    || maxbytes)
    || chr(10)
    || 'default storage ( initial ' || initial_extent
    || decode (next_extent, null, null, ' next ' || next_extent )
    || ' minextents ' || min_extents
    || ' maxextents ' ||  decode(max_extents,'2147483645','unlimited',max_extents)
    || ') ;'
    from dba_data_files df, dba_tablespaces t
    where df.tablespace_name=t.tablespace_name Edited by: Mahir M. Quluzade on Mar 14, 2011 4:51 PM

  • How can I get the container of a button after the button is clicked?

    I have two components:
    public class A extends JPanel implements ActionListener {
        public A() {
        public void actionPerformed(ActionEvent e) {
            String command = e.getActionCommand();
            // here need to know the instance of B to execute it's process()
            // but I can only know the button jb in B via the following code:
            JButton myjb = (JButton)(e.getSource());
    public class B extends JPanel {
        public ContainerInfoInput(ActionListener al) {
            JButton jb = new JButton("OK");
            jb.setActionCommand("B.ok");
            jb.addActionListener(al);
        public process() {
    public class Main {
        A a = new A();
        B b = new B(a);
    }How can I get the instance of B in which the button is clicked?
    Thank you

    I think it's a defect of the listener mechanism. Under the present circumstance, I must do it like the following:
    I must use another class M as a bridge:
    class A {
        public A() { }   
        public processA (String info ){}
    class B{
        public B(ActionListener al) {       
            JButton jb = new JButton("OK");       
            jb.setActionCommand("B.ok");      
            jb.addActionListener(al);  
       public String processB () {    }
    class M implements ActionListener  {
        public M() {
            A a = new A();
            B b = new B(this);
        public void actionPerformed(ActionEvent e) {
            String command = e.getActionCommand();
            if(command.equals("B.ok")) {
                String information =b.processB();
                a.processA(information);
    }Why not just use A to listen B and obtain instance of B through the ActionEvent?
    Anyone know a solution about it?

Maybe you are looking for