Cannot have execute_query in post-change but can have it when-radio-changed
why is it possible to put execute_query in a when-radio-changed trigger but one cannot put it in
a post-change or post-text-item trigger? (11.1.1.4)
For example I want to ask for a year, and a month. I don't much feel like creating radio items for all those years. Whenever a year
or a month is changed I want it to reconstruct the where clause and execute the query. But the year not being a radio group
is more problematic about how to get execute_query to run. What is thinking here? I think that a text item post-change deserves as much power as a radio_group change! It's unfair.
Over the years, I have found that the people that complain about Oracle Forms the most are the people that refuse to learn how Oracle Forms works. You can't expect to develop in a any framework unless you learn the rules of the framework. I've seen numerous complaints about the lack of documentation on Forms and yet the single most important form of documentation is the Oracle Forms Help system. The answer to virtually every question you might have can be found in the Forms help system, but it helps to understand a little about how Forms functions so you can ask the right questions in the help system.
I also find it hard to understand how an employer will throw someone, with little or no exposure to Oracle Forms, into a Forms project and expect them to "Pick it up" along the way rather than take the time and expense to send them to an Oracle Forms class. How can the employer expect the employee to be successful if they are unwilling to give them the resources they need to be successful. If you are one of the unfortunates that are in this situation, then you could at least perform a simple Google search on "Forms Tutorials" and you will find numerous on-line "Free" tutorials. Don't worry about the Forms version used by these tutorials as you are only going through the tutorial to learn how to create a Form and how the Forms tool interacts with the database; which is doesn't matter which Forms version you are using because this part hasn't changed all that much between the Forms versions.
There are even some really good books (however, quite old) that you can purchase that teach you all the basics of Oracle Forms. Here are just a few:
Developing Oracle Forms Applications by Albert Lulushi
Oracle Forms Developer's Handbook by Albert Lulushi
Oracle Developer: Advanced Forms and Reports by Peter Koletske
Programming with Oracle Developer by Matthew BennettThese are just a few books and yes they are all for older versions of Oracle Forms. But the concepts you will learn apply to any Forms version.
While I admit that it is inconvenient that I can't call a Restricted built-in from certain triggers once you understand the reasons why you can't call Restricted built-ins it make sense why Oracle built their event model the way they did. By calling certain restricted built-ins in a trigger, such as the When-Validate-Item trigger, you could very easily cause an an endless loop to occur in your application. For example, if you were allowed to call the GO_BLOCK or GO_ITEM built-ins from a When-Validate-Item trigger you could cause cascading validation events to occur. While this is not a bad thing in and of itself, but what would happen if I sent the Forms Navigation cursor to go to an item before I had completed my validation logic. The item I sent the cursor too also happens to have validation logic assigned to it that just so happens to send the navigation cursor to the item I just left. Understand, the first item has not yet completed it's validation process and the second item sends the cursor right back the first item - which triggers a new validation event on the first item. Now I've got compounding events in the execution stack and I've put my application into a loop that I will never get out of because I've got validation logic that never completes successfully so the validation event never exits - it just keeps running and running.
At first, you might say that it is the developers responsibility to ensure this does not happen and the developer should be more careful with their code to prevent this from happening and you would be right. We (developers) are responsible for writing safe code. However, after a while, software manufacturers eventually put restrictions in place because there are enough irresponsible developers out there causing problems and the only way to fix the issue is through the use of framework restrictions.
Having said that, Oracle Forms has certain restrictions for good reasons. Because you don't understand what those reasons are is not a good reason to complain about the restrictions. Rather, I would hope, that your lack of understanding of a particular framework/methodology would encourage you discover the "Why's" and "How come's" of the framework.
The simple fact of the matter is you cannot be successful with Oracle Forms unless you learn how to program within the Forms Framework. You can't take C++, Java or any other programming language and apply the rules of programming these languages to Forms. You absolutely must learn how Oracle Forms operates and what the rules are for developing successful Forms applications.
That's my two cents on the topic. I'm trying to start a flame war; I'm just tired of hearing people complain about Forms just because they don't understand or haven't taken the time to understand how Forms operations and what the rules are for developing within Oracle Forms.
Sincerely,
Craig...
Edited by: CraigB on Aug 2, 2011 12:38 PM
Similar Messages
-
I have changed my e-mail address and therefore need to change my apple ID. When I change it to my new address it says it is already my rescue address and cannot be used. Any ideas how to change my rescue address?
To change the iCloud ID ("email address") you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iDevice, then sign back in with the ID you wish to use. When you do this you may find that the password for your old ID isn't accepted. If this should happen, and if your old ID is an earlier version of your current ID, you need to temporarily recreate your old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID. Click edit next to the primary email account, change it back to your old email address and save the change. Then edit the name of the account to change it back to your old email address. You can now use your current password to turn off Find My iDevice on your device, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll. When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud). Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was. Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.
-
In Aperture 3, how can I easily move entire projects out of my main Ap Library into other libraries? My Ap library is running super slow because it's overloaded, so I have created two new libraries, but can't seem to move the projects into them?
Hello Annabel,
To move entire projects export them as Aperture Libraries, and then import those Libraries into the other Aperture Library:
Select the Project in the Inspector, then
File -> Export -> Project as Library
In the other Library do:
File -> Import -> Library/ Project
But I am not quite convinced, that the size of your current Aperture Library is responsible for the slowness of Aperture - Aperture is designed to cope with huge libraries.
You may want to post your hardware setup and details of your library, and some of the hardware experts here may help you to find the reason for the slowness.
A huge library should only be a problem, if the projects are too big, and if you have many, many smart albums at the root level of your library.
So keep the projects small, and try to move some of your smart albums to lower levels in your folder structure (then Aperture does not need to scan all of your images to build the smart album).
Other reasons for Aperture's slowness may be, e.g.
An overfull system drive and/or external drive (keep at least 20% of your drives empty)
lack of RAM
a corrupted Aperture Library, that needs repairing
Have you checked those options, before you split your library? It would be a pity to split it, for you would loose the ability to browse all parts at the same time, to use all your images in the Media Browser, etc.
Regards
Léonie -
I only have one apple ID and facetime has worked with it before, but now I get the message "Unable to verify email because it is already in use". I have looked ofr a solution but can't find one. can anyone help please?
I spoke with Apple Support this morning and they believe anything MobileMe related is due to the conversion over to iCloud that's taking place.
As for other email clients, check with your host to see if settings have changed on their end. I use inmotionhosting.com and over the weekend the updated their outgoing requirements so that a password authentication is now needed.
Hope that helps get some on the right path to resolving their issues! -
i have adobe cc on pc but i have now joined the mac world but not sure how i change my pc software to mac please help
Your Photoshop CC can be installed on a Mac or PC. Just install the Mac CC Desktop app and install Photoshop CC from there. It will be in your Application folder.
-
I have downloaded a calendar app but can't add events. I have been to settings but can't locate default calendar as suggested, have also turned the app off and on as suggested.
You got the new iphone????? I have same problem. I transferred audiobooks to device to find no audiobooks on device (despite it being in iTunes as if it was). Have you found a solution????? I even tried to change import settings on format transfer but hasn't worked.
-
I need help with color pallette in iPhoto 11. I have created a book and would like to use a different color background than those given in "background." I have found the color palettes but can't seem to incorporate them into my backgrounds palette.
That is not a feature of iPhoto - suggest to Apple - iPhoto Menu ==> provide iPhoto feedback.
Additionally I have no idea what you are saying here
I have found the color palettes but can't seem to incorporate them into my backgrounds palette.
And it always helps for you to dientify the version of iPhoto that you are using
LN -
How do I get my music onto icloud from my ipad? I can see i have plenty of icloud storage but can't get my music to store on icloud hence taking up lots of storage on my ipad
If you want to be able to access your entire music library from iCloud, you'll have to subscribe to iTunes Match (http://www.apple.com/itunes/itunes-match/). Music purchased from the iTunes store is already in iCloud as it can be redownloaded at any time (see http://support.apple.com/kb/ht2519).
-
Have purchased a new computer but can not install elements 12 since it has been installed on an older laptop. This is a one time user program, is there a code that can be put in or a small fee to pay to be able to use the program again. Never installed the video editing and hoping this can be installed with no problem.
If the laptop is still connected Launch Elements in Expert Mode. Go to the help menu and sign-out. That will deactivate usage on the laptop.
-
I'm trying to update my iPad but it says I don't have enough available storage. But I have more than enough can anyone tell me what the problem is?
Well, we can't as we don't know what you consider as "more than enough". The built is quite heavy (like it can be 800mb) then it needs to be extracted to be installed before everything unneeded gets deleted...
-
I have a ringtone in iTunes, but can't get it to "sounds" file
I have a ringtone in iTunes, but can't get it to "sounds" file
Is it in the "Ringtones" category under "Library".
Does it show under "Ringtones" tab in itunes when you are selecting sync options? -
I have made a folder before but can't remember what I did.......help
Press and hold an app icon until it wiggles. Drag it over top of another icon. A folder will be created.
-
I'm from the USA but am on vacation in Brazil; I have a great WiFi connection but can not connect to the iTunes Store. Is this because I am out of the Country?
Thank you very much for your insight; I guess I had assummed that iPads/iPhones/iPods were here in Brazil and further assumed that the iTunes store would also be available.
-
I have just bought a MacBook but can't seem to sync my Contacts or Calendar to the Address Book or iCal via iTunes, I have tried everything including watching support videos and putting this into a search engine. Even icloud doesn't seem to be doing it.
If you are trying to sync via iCloud, make sure your MacBook is running OSX Lion 10.7.7, and that you have set up your iPhone as described here: http://www.apple.com/icloud/setup/ and you MacBook as described here: http://www.apple.com/icloud/setup/mac.htm (including turning On Contacts and Calendars as shown in step 3). If you're syncing via iCloud don't check to sync in iTunes too (on the Info tab in iTunes) or you may end up with duplicate data.
-
I have purchased my iphone in uae and now i m in india and my iphone hardware buttons are unreactive and i have to service or replace but i have lost my bill and on net there exist all info of my purchase can i service it in india without the bill
If you purchased in the UAE then it must be returned to the seller in the UAE for repair or service under warranty
NO Authorised servicer in India will touch it as it did not originate in India
If you purchased in an UNauthorised seller in UAE then you will have to find out where it came from for any warranty support
Maybe you are looking for
-
Can not find data in virtual cube
Experts, I can not find data in virtual cube with services function module (copying Z_RS_BCT_FIGL_DATA_GET_VC10 from RS_BCT_FIGL_DATA_GET_VC10).The standard cube is maintained with data. Can anybody tell me what could be the reasons the data is comin
-
What is happening? 5 Kernal Panics in less than a month
Hello, I apologize if this is in the wrong forum. I have a new MacBook Pro 2.4, I updated the memory from the stock 2GB to an OWC 4GB set. I have had 5 kernal panic since I received the machine (approximately 1.5 months, updated memory about a month
-
Sync Notes in Outlook 2011 for Mac with BB Q5
As per KB27248, Notes in Outlook 2011 for Mac are not synced with BB devices running OS7 (although Contacts, Calendar & Tasks sync), & the issue hasn't been resolved. Does this issue exist on Q5 running OS10?
-
How connect 10g with discoverer (host name give me error)
hi master sir i install discoverer but not connect with oracle 10g i flow this step 1. From the Start button use Programs | Oracle - BIToolsHome1 | Configuration and Migration Tools | Net Configuration Assistant. 2. Select Local Net Service Name Conf
-
Folders don't want to open in iWorks iCloud After last update.
With the new iWorks Update for iCloud i cannot open the folders with my files. Is this a known bug now ? Clicking on the folders does nothing. I am using the latest version of Safari on a Mac. UPDATED: It works now. Not sure why it was not working th