set_item_property does not take effect immediately

Hi all
I use oracle forms 10 g 2. I have a CHANGE after tripping on a text field and under certain conditions, I want to make a button in the same block to be visible. Initially, the visibility of the button is set to 'NO '. So this is my code in the trigger after CHANGE:
begin
          if :XXBG_CE_STATEMENT_LINES_NEW.DOC_TYPE = 'Invoice'   
              then
                 set_item_property('XXBG_CE_STATEMENT_LINES_NEW.INV_DET_BTN',VISIBLE,PROPERTY_TRUE);
                 set_item_property('XXBG_CE_STATEMENT_LINES_NEW.INV_DET_BTN',ENABLED,PROPERTY_TRUE);
          else
                set_item_property('XXBG_CE_STATEMENT_LINES_NEW.INV_DET_BTN',VISIBLE,PROPERTY_FALSE);
                set_item_property('XXBG_CE_STATEMENT_LINES_NEW.INV_DET_BTN',ENABLED,PROPERTY_FALSE);
          end if;
end;
The 'DOC_TYPE' field is populated through LoV. When I choose "Invoice" button for this field does not appear... I have to open a LoV randomly and then the button appears... Any ideas?



Thanks in advance,
Bahchevanov.

You can try when-validate-item trigger instead of change after and use the same code.

Hope this helps

Tags: Oracle Development

Similar Questions

  • Gether statistical does not take effect immediately

    Queries vary sometimes slow due to no updated statistics. This is usually solved by statistical gether using DBMS_STATS. GATHER_SCHEMA_STATS.
    However, I noticed that I have to run this time or I may have to wait a few moments see queries to a normal return.

    Is this happen because of the query plan has been cached? or any other reason? How can I make statistics updates take effect immediately.

    Thank you

    Yes, by default, the table statistics regarded as expired if it has 10% or more DML last time statistics run.

    In Oracle 11 g you define the individual threshold on the table plan according to the nature of the tables
    DBA_TAB_STAT_prefs stores the values for each table, and it can be defined by this procedure
    DBMS_STATS. SET_TABLE_PREFS ('OWNER', 'TABLENAME', STALE_PERCENT, value);

    Hope that answers all your questions.

  • Firewall Windows with advanced security rules do not take effect immediately?

    Hello everyone, I seem to have a problem with the Windows Firewall with advanced security. I put a rule that should prevent some IP address the ability to send packets to any port on my pc, however, it doesn't seem to work, said ip was still able to send packets until I installed the third-party firewall. That's what 'the netsh advfirewall firewall show = rulename rule name' indicates:

    Activated: Yes
    Direction: in
    Profiles: Domain, private, Public
    Group:
    LocalIP: all
    RemoteIP: x.x.x.x/32
    Protocol: all
    Traversed side: No.
    Action: block
    Protocol used to send packets was UDP.
    Is it normal that the rules from windows firewall do not take effect immediately?

    Thanks for the reply, I checked the Windows Firewall service, it is set to automatic, and two long-term services are started (BFE and MPSDRV). It turns out that the PC was connected to the Public network, while the Windows Firewall has been enabled only for the private profile. Activation of the firewall for the public profile, did the trick.

    Thanks for your comments.
  • Changes to the login items does not take effect

    I deleted a program from the list of login items and saved the changes. Now, the changes are saved. However, when I stop and restart the system, program seems to return to the boot and login items list goes back to the original. No matter how many times I tried to remove and save, the program continues to reappear. How can I get rid of this problem?

    OS: Mac OS El Capitan

    Have you removed the article by clicking on the sign less.

    Unchecking it does not remove the connection.

    Otherwise, it may be a corrupted preferences file.

    Remove the com.apple.loginitems.plist on the desktop

    Restart the Mac, and then see if there is a difference.

    path to the file.

    Library is hidden by default

    Make visible click go in the Finder menu, then hold down the option/Alt down, library should

    appear in the list.

  • VM storage setting does not take effect

    I have a virtual machine with a lazy drive stocked thickness. When I change the size in the settings and click Refresh in VSphere client updates. However, even after the virtual machine restarts it does not reflect this change on the disc when I look in my computer. Any ideas?

    It's the first half of the process, and now you must use diskpart to extend the operating system volume. There are some limitations that you should be aware of... You may not use part of disk on a system drive (ie. the C:\), or on a disk that has been configured for virtual memory (pagefile.sys). For a system drive, download and use the Dell extpart tool, which allows you to extend drives on the system without any downtime. For disks that contain a swap file, leave the page file (requires restart), and then use diskpart to extend the volume. For diskpart to work, make sure that your virtual disk service is running.

    Do you need help with diskpart syntax? Open a command prompt, run as administrator if UAC is enabled, and then type diskpart. Type list disk to see the available disks. Type select disk #, where # is the disk you want to expand. Then type list volume to see the volumes. Now type select volume #, where # is the volume you want to extend. Now type extend, and you should see a message saying that the disc has been extended successfully. Type exit, close the command prompt and you should see the additional available disk space.

    See you soon,.

    Jon

  • By pressing the home button does not take me to the home screen of iOS 9.3.3

    I have recenly updated upgraded to iOS 9.3.3 and I noticed that pressing the home button does not take me to the home screen. The only way to get there is by using the creature of multitasking. (double pressing the home button) Also, some applications seem to freeze if turn my phone off and then turn it back on, or when I access it via the multitasking function. Can someone please help?

    Try a forced reboot. Hold down the Home and Sleep/Wake buttons at the same time for about 15 seconds, until the Apple logo appears. You won't lose anything.

    If a force restart does not help, try a system restore. First save your device via iTunes. Also import your photos on your computer and copy all the important data. Reconstruction of the support first test and test. If this does not help, you may need to restore as a new and reconfigure from scratch as the backup may be damaged. It is important to have your photos and your saved data separately from the backup. Here are the steps for a restoration:

    https://support.Apple.com/en-us/HT201252

  • How do I set up my hp6700 printer so that it prints in black and does not take into account all the colors?

    How do I set up my hp6700 printer so that it prints in black and does not take into account all the colors?

    To print the black ink only follow the steps below.

    1. Select Start menu
    2. go into devices and printers.
    3. right click on the printer, select printing preferences
    4. in the lower right corner, select Advanced
    5. and then under features of the printer select print grayscale a dropdown list will appear to black ink only.

    Let me know how it goes.

  • Editing audio first in Audition, when the marquee tool, the changes do not take effect or I would like to export.

    Editing audio first in Audition, when you use the marquee tool to get rid of unwanted 'knocking' noise audio, the changes do not take effect or I would export after changes in the spectral display.

    No indication on how to save the changes to the marquee selection tool would be great.

    Hmm.  You did something for the audio in the selection?  It looks not to the file has been modified at all, and the registration option is not enabled, unless a change has occurred.  I suppose you try to remove or reduce the volume of the sound inside the selection rectangle, is that correct?  With this selection, you can press DELETE to remove it completely, or set the volume floating just above the selection of lower button.

    It also seems that you stopped reading, and while that save the selection under will be activated pause, of many other commands will not.

    So, try in the following order:

    1 stop playback.  Is File > Save now activated?

    2. otherwise, do some edit to this file.  You will know that the file is considered 'dirty' when an asterisk * appears next to the name of the file in the files Panel and the top of the editor Panel.

    3. There is no number 3.  I feel confident, one of the first two options will work.  Once the file is saved and overwritten, go back to the first and you should hear the content updated the.

  • I have 9, 1 pages in PDF files that are accessible and the need to combine them into 1 PDF file.  I tried adding, adding and the combine process of PDF files. The file created does not take my changes. The file created is partially accessible, but I have

    I have 9, 1 pages in PDF files that are accessible and the need to combine them into 1 PDF file.  I tried adding, adding and the combine process of PDF files. The file created does not take my changes. The file created is partially accessible, but I have to re - the problems that I had fixed in the unique files. I need suggestions on what else can be done, if any. Using Acrobat pro XI.

    By habit, I tend to combine PDF files in the Page pane by right-clicking thumbnails then 'Insert of Pages'-> 'From File'. For me, this preserves the tags of these two documents, although the tags may have to be moved to the correct location (if I remember correctly the tags for inserted pages are put at the end of the tag structure, regardless of where the pages are inserted), if I put the tags in the document to insert into a container as a Section tag It makes the process easier. Travel set of tags in the right place is the only re-fixing that I remember having to do. What behavior you encounter?

    a 'C' student

  • need to replace my number of credit card for the monthly payment. What they suggest to do, does not take me anywhere. Is there any phone number to call to expedite this update?

    I need to replace my number of credit card for the monthly payment. What they suggest to do the update your credit card number does not take me anywhere. You is any phone number to call to speed this up?

    Francosp

    Ensure that EACH DETAIL is the same in all places, you enter your information

    -in how to spell and punctuate the parts of your name and address

    Change/Verify account https://forums.adobe.com/thread/1465499 can help

    - Https://helpx.adobe.com/utilities/credit-card.html credit card

    -or by phone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html

  • PS does not take into account the GPU 880 m

    Asus g750jz laptop

    Windows 7 sp1

    Intel latest driver HD4600

    latest version of the nvidia driver

    last PS

    PS is on nvidia gpu in Control Panel

    Does not take into account.

    Worked on windows 8.1 that I ran out of

    That's what you guys.

    Find NVidia inspector

    Go to personalization profiles

    Find the Windows Explorer profile

    two options of Optimus game like here

    http://PUU.sh/bx8KO/04c5c70c11.PNG

    Save

    Goto NVidia Control Panel

    Find the Windows Explorer

    use the Nvidia Gpu on it (its open now)

    This forces explorer.exe to render on nvidia

    After that PS recognizes NVidia correctly

    See you soon!

  • make the artboard does not take into account the effects

    Screen Shot 2016-01-18 at 14.35.26.png

    Hello

    When I click on my object, it only takes the vector part in accounts to make the artboard and not the effects. He used to work, but no more

    Thanks for the help!

    I think you're right, if it's a group, you get this problem.

    If she is divorced and the outer glow efffects are applied to a selection, the artboard adapts to the area, including the effects.

  • Windows 7 does not take into account swap file settings

    I have Windows 7 Professional 64 bit installed on a system with a mirrored system disk and two disks no mirroring, including a SSD drive which is configured with ReadyBoost. Because mirroring is to the integrity of the data, and has a performance cost associated with it, I don't want any file on my system disk. Instead, I want that page files on non mirrored disks.

    So I use computer-> properties and go to the "advanced system settings" to bring up the System Properties dialog box. I click on the "Advanced" tab and in the 'Performance' section, click on 'Settings' to bring up the "Performance Options" dialog box Then I click the "Advanced" tab and in the "Virtual memory" section, click on 'Change' to bring up the dialog box 'virtual memory '. Here, it lists the drive letters and for each drive paging file options.

    I put the SSD (:)) has 'Custom size' with ' Initial size (MB): ' as 24576 and ' size maximum (MB): ' as 24576, click on 'Set'. "" "")

    I put the other disk not mirrored (b) 'Custom size' with ' Initial size (MB): ' as 24576 and ' size maximum (MB): ' as 24576, click on 'Set'.»»» "

    I put the system disk (c :)) "No paging file" and click "Set".) I also tried setting the system drive (c :)) "Minimum allowed" value of 16 MB (size initial and maximum size).)

    I get the warnings appropriate, if I didn't put "No paging file" and accept the consequences. If I put the pagefile to 16 MB on the system drive, I don't get a warning of not having a swap file.

    I reboot, to let the new settings take effect. When the system is in place, if I put "No paging file" on the system drive, Windows tells me that it has created a pagefile on the system drive, and the file is approximately the same size as the physical memory, i.e. 12 G and the "Performance Options" Advanced tab reports that "the file size for all readers of Total paging" is 12288MB.

    If, instead, I put the system drive for the authorized minimum 16 MB paging file, Advanced tab "Performance Options" reports "Total paging file for all readers size" is 16 MB.

    In any situation he always respects the settings specified in the dialog virtual memory for other readers.

    I checked that 'HKLM\SYSTEM\CurentControlSet\Control\Session Manager\Memory Management\PageFileOnOsVolume' is set to 0, and 'HKLM\SYSTEM\CurentControlSet\Control\Session Manager\Memory Management\TempPageFile' does not exist OR has been set to 0 (Windows always change this parameter to 1 if I chose "No paging file" for the system volume.) So, I change it to 0, reboot and Windows it passes 1 ad creates the 12288 MB pagefile on the system volume).

    I disabled BitLocker - it does not start.

    I don't really know what hoops I have to pass through to convince Windows to use the swap file configuration that I specify. At the very least, if I put in place minimum swap file on the system drive, to avoid the essential consequences pagination on a mirrored disk performance and to prevent Windows from automatically creating the 12 G pagefile on the system drive, I expect that the other swap files on non mirrored disks will be used by the system , but dialogue "Performance Options" it is clear that single paging file in use is the one on the system volume - exactly what I don't want.

    Can you please tell me how to get Windows to my settings?

    Hello

    Please contact Microsoft Community.

    We have specific forum for the RAID configuration operating system and they are experts in this field of investigation and would be in a better position to address the concerns. So refer to the link below and post your query on the TechNet Forums.

    https://social.technet.Microsoft.com/forums/en-us/home?category=w7itpro&filter=AllTypes&sort=lastpostdesc

    I hope this helps. If you have any questions on Windows, please answer. We will be happy to help you.

  • Cascades does not take sides property links in all components

    I believe that many elements found in the Cascades are poorly designed because they do not take sides QML property bindings. The worst example is the ActivityIndicator component that is not a race (or something similar named) property.

    Let me show you an example, I'll start with a snippet of code that does not have the property running:

    {ActivityIndicator}

    ID: indicator

    }

    WebView {}

    onLoadingChanged: {}

    If (loading)

    Indicator.Start)

    } else {}

    Indicator.Stop)

    }

    }

    }

    It is not declarative, it's imperative code. Now, let's take a look at the following example which shows how it would look like if the ActivityIndicator have had an ongoing execution property:

    {ActivityIndicator}

    running: webView.loading

    }

    WebView {}

    ID: webView

    }

    Much cleaner, easier to read and completely declarative. You also get the dependencies between the components on the right. In the first example, the Web mode has a dependency to the ActivityIndicator which is completely false. In the last example, you see that this time, the ActivityIndicator has the addiction to the Web mode, which is OK because the ActivityIndicator has a dependency for Web display and not vice versa.

    To make things even worse with ActivityIndicator-case, is that there is a function called isRunning which returns Boolean If the indicator is running or not. Why is it good?

    There are a couple of other components that have similarities with the ActivityIndicator, such as the cursor and TextField. Would be my pleasure to clarify if you are interested.

    Yes, we certainly do.

    With the cursor, there are 2 valueChanged and valueChanging, events which provide 2 different functionality, so should not in this case for valueChanged to send a signal until after the slider has ceased to be changed because the value itself is not changed until the cursor was placed, valueChanging provides instant feedback. Introducing the necessary logic to see if the user has lifted a finger, left the area of cursor or otherwise ceased to move the cursor would certainly complicate the case.

    The next point you have raised is very valid, but with the method used by Cascades, as described above, the value of the slider is defined not until after the cursor is moved and stopped. I suggest you connecting everything you see as strange behavior or unexpected in the Issue Tracker as a bug. We can step up to the development of review, this will allow developers also know that the behavior used by Cascades is not always what is expected, or exactly in line with QtQuick QML.

    Kind regards

  • It does not choose effect options

    all the Illustrator effects are greyed out...  I thought that maybe I needed to update driver gpu I did.  I think it might have something to do with my fonts?  I downloaded and installed the google font, this could be a problem?

    You must select the objct of text with the Selection (black arrow) tool. It does not work when there are only characters with the text tool selected.

Maybe you are looking for

  • Access ICloud and functionality issues

    I have a continuous problem that my guard unit invites me to update my iTunes password. I've updated several times by resetting the password. I am still unable to access the features in iCloud.

  • Satellite C855-1GQ - warning of hard drive failure

    Hello Suddenly my laptop started to show me "hard drive failure warnings" and honestly, I have no idea what it takes to this topic please someone can help me. Symptom: The PredictFailure flag is set on the diskCause: A logical disk has the failure to

  • Why to acquire her VI % 27s does not record correct samples % 2Fch

    Hi all Not an important issue right now, but interested if anyone knows why. LV2011 using full development and work with the base acquire its VI.  Its very strange, but I put the sampling to tell 48000 Hz and samples/ch 96000 frequency assuming I'd g

  • Tradition DAQ installed but not available

    Hello I have a system that had LabVIEW executable v6.0.2 running with 6.9.3f3 NOR-DAQ with a PCI-6052E.  I have now installed LabVIEW 2009 with NOR-7.4.4 traditional DAQ OR DAQmx 8.9.5 on this system.  My 6052E appears in MAX under NOR-DAQmx and NOR-

  • free upgrade for the web users 3 exression

    I have a free update of Microsoft for Expressionweb 4 as user 3. It worked on my old machine, but cannot activate it on my new.