After installing Oracle 12c database, Weblogic and forms.
I added button on blank form to show message or execute query.
In the runtime the when_button_pressed not work but if I press Ctrl+F11 it executes well.
Not that I move fmx file from Windows machine to Linux machine where weblogic and database are installed.
If you really named the trigger when_button_pressed, then this is the reason. Triggers - which are built-in into Forms - have a hyphen, not an underline, i.e. when-button-pressed is its correct name.
If this is not the case (but a matter of a typo), posting trigger code might help. What does it contain?
Related
I am going to use reusable mapping in odi 12c, but there is a problem. When ever I drag and drop a table into the environment, it gives me this error:
No object could be dropped on the diagram possibly because the chosen technologies in the "Create As" dialog were incorrect. Please, try again choosing a different technology.
I got confused and I do not know what is wrong because before that I was doing the same thing but suddenly this error pops out.
I was going to develop simple reusable mapping to save that for using in my other mapping.
I got the same error message. I couldn't drag and drop any of my tables - regardless of their source.
I did not find any solution except to delete my old mapping and create a new one.
Closing the ODI and launching again should help as a workaround for this error.
Use the command:
odi -clean -initialize
This will clear the cache and launch ODI and it should negate the error until next time.
Autocomplete is not working for DBeaver plugin (21.1.0) in Eclipse (2021-03) for Oracle PL/SQL (Oracle DB Developer VM: Oracle 19.3) in MacOS (Catalina).
It does autocomplete for SQL queries with MySQL, PostgreSQL, and Oracle.
But, with Oracle PL/SQL, it does some case changes and syntax highlights, but NO code completion.
For example, if I start typing DECLARE or BEGIN, it does NOT prompt it. But, once I complete these keywords, they are automatically turned to upper case and changes color to blue.
However, when I type dbms_output.put_line it neither prompts anything nor changes case or color thereafter.
(Noticed: In Oracle SQL Developer, it prompts several options as we continue typing the above command, and also does syntax highlight thereafter. Similarly, it prompts options, and code snippets with initial 3 letters like dec, etc.)
By default, the following are checked:
Windows > Preferences > Database > Database Editors > SQL Editor > Code Complete >
Enable auto activation
Activate on typing
Auto-insert proposal
Any idea?
I am using Visual Code to view all of the database objects in our Oracle database that I scripted to files. I installed the extension "Language PL/SQL" found here:
https://marketplace.visualstudio.com/items?itemName=xyz.plsql-language
On the extension download website page mentioned above, if you look at the animate GIF, it gives the impression that if you type "#" in the command palette that the extension should list all of the procedures in an Oracle package that I have open, but instead it gives me a message under the popup: "No Editor symbols."
Is it someone possible to either jump to a procedure within a package or better yet, see an outline of the package so, as I scroll through it, I can tell which procedure I am currently in?
I was using the Oracle function DBMS_METADATA.GET_DDL to get the DDL for a package. If you don't pass a version number into the function, the PACKAGES contain the word "CREATE OR REPLACE ** EDITIONABLE *** PACKAGE . The extension as choking on the word EDITIONABLE. So, I told the GET_DDL function to give me version 11.2 compatible DDL and the extension was worked
For some tables, whenever I use Edit to edit the Oracle table, the Trigger and Sequence inputs show that a new trigger/sequence will be created. In this image, you can see that it will create #7...
If I change the drop-downs to a previously used trigger/sequence then click "OK", then re-open the edit window again, there is no change.
I'm using an Oracle Cloud database at the moment, but this database will be used in an 11.2 environment.
I wish to add a Type Spec to an Oracle Form. Unfortunately, this option is disabled in the "New Program Unit" dialog:
Does anyone know how to add a Type Spec to an Oracle Form?
Version of Oracle Forms Builder: Forms [32 Bit] Version 10.1.2.0.2 (Production)
I've never created one with forms but one way to enable the type spec option is: from the Object Navigator expand the database objects node. Then select PL/SQL Stored Program Units now click the create button (so it brings up the dialogue box shown in your screen shot)
However this time the type spec option will be enabled.
Hope this helps.