Assignment of values in Oracle Apex
Hi all
I am working in Oracle Apex 4.2 for mobile application development.
I have a doubt regarding the assignment of the values for items of data in Oracle APEX.
My scenario is,
I have 3 select lists,
1. the first is Account_Type values will be "the and 'P'."
2. the next field is Account_Name, whose value will be based on the list of Account_Type above.
3. the third list is Sales_Person, and this value will be based on the two lists above.
That is the 1 and 2 list works perfectly, whenever I changed the list 1, the corresponding values are filled in list2.
Whereas that list 3 will not change its value.
Added more, when I change the type of list POPUP LOV 3, then list3 works well. But for the type of selection list, it scrolls to infinity.
List 1 - static list
2 & 3 - dynamic list list
I have almost 5 fields to assign based on lists 1 and 2.
Please tell me how to do this.
You can view my project @ https://apex.oracle.com/pls/apex/f?p=1798:1:4681984457103
Login @ apex.oracle.com
workspace: myws_net
username: guest
password: Mani_1
project name: test
Thanks in advance.
Kind regards
Melanie
I made a few changes,
It should work now, check on your side and let me know. If this is what you wanted?
Thank you
Tags: Database
Similar Questions
-
Move to an another textitem in IR same value textitem: oracle Apex 5.0
trying to pass values between two text on the same page of IR element
I have two processes calling on the same key.
one for the insertion of data in the table and the other to pass the value of a textitem to another page as well.
What I tried...
Create a process that is running on Submit - after calculations and validations.
Use it for the body of the process:
:P11_x := :P11_total;
In your process, scroll to the transformation of the condition and the value of the When the button pressed (process after submit when this button is activated) list of selection to your add button.
I want to spend
:P11_total
value in:P11_x
Hi Pranav.shah,
No need to use processes for this purpose.
You can use the calculation:
Calculation element: P11_X
Type: PL/SQL Expression
Point calculation: after submit
Calculation:
:P11_TOTAL
I hope this helps!
Kind regards
Kiran
-
I use oracle apex 5.0
Issues related to the:
(1) I created an application where I have a form on which I have a button named 'Add', now if I click on that button values need to be stored in table.how to create! I use the dynamic button that is created by the html tag < input type = "button" > need help with this.
(2) if the value stored in the table how the same value will be on the agenda of the calling page. ?
New to this world of Apex.
concerning
Pranav shah
http://zderadicka.EU/Apex-dynamic-actions-with-report-region/
-
The assignment of value to the block multi-record in Oracle's 10 g
Hi all
I'm new to form of Oracle 10 g.
I have a block of several recording that does not rely on the database. I need to assign the value to this block multi-record dynamically the ref cursor.
I'm trying to set the value as below, but its does not work. Please help me on this.
loop fetch cur Into screenval_rec ; exit when cur%notfound ; first_record; :BLOCK1.COL1:= screenval_rec.value1; :BLOCK1.COL2 := screenval_rec.value2; :BLOCK1.COL3:= screenval_rec.valu3; next_record; End loop;
Kind regards
REDA
Hi Craig,.
Thank you for your information.
But I found the exact cause of this "Invalid cursor error' (ORA-01001) in Oracle forms. It is because of the unique enclosed in quotes the select statement of the REF cursor. I found in the paragraphs below Oracle.
Note 170881.1 - ORA-1001 calling a stored procedure that contains a REF Cursor Oracle Forms
Once I deleted the quotes, it's working properly now.
Thanks again for your help.
Kind regards
REDA
-
Oracle apex dynamic action set value action does not
Hello
I have two questions, that I am trying to solve. This is the scenario:
(i) 4.0 on oracle 10 g oracle apex
(II) created a form with the following page:
-P526_SES_DET_ID
-P526_VESSEL_ID (selection list)
-P526_JOB_DATE (date picker)
-P526_DAY_TYPE (list of selection with values DAY ORDINARY (if P526_JOB_DATE is a day from MONDAY to FRIDAY),)
SATURDAY (if P526_JOB_DATE is SATURDAY) and SUNDAY/PUB. HOLIDAY (if JOB_DATE is SUNDAY)
-P526_LABOUR_TYPE (selection list)
-P526_SHIFT (selection list)
-P526_NO_OF_LABOUR
-P526_RATE
-P526_SES_TOTAL
(1) I created a dynamic action of the value set on the P526_JOB_DATE page element to set the value of P526_DAY_TYPE to one of the three values above depending on the day
P526_JOB_DATE falls. Parameters are the following:
-Action: Value set
-Set type: SQL statement
-SQL statement:
Select case when (to_char (to_date(:P526_JOB_DATE,'DD-MM-YYYY'), 'DAY')
like ' % MONDAY % ") then" DAY ORDINARY. "
When (to_char (to_date(:P526_JOB_DATE,'DD-MM-YYYY'), 'DAY')
like ' % TUESDAY % ") then" DAY ORDINARY. "
When (to_char (to_date(:P526_JOB_DATE,'DD-MM-YYYY'), 'DAY')
like ' % WEDNESDAY % ") then" DAY ORDINARY. "
When (to_char (to_date(:P526_JOB_DATE,'DD-MM-YYYY'), 'DAY')
like ' % THURSDAY % ") then" DAY ORDINARY. "
When (to_char (to_date(:P526_JOB_DATE,'DD-MM-YYYY'), 'DAY')
like ' % FRIDAY % ') then ' DAY ORDINARY. "
When (to_char (to_date(:P526_JOB_DATE,'DD-MM-YYYY'), 'DAY')
like ' % SATURDAY % ") then 'SATURDAY '.
When (to_char (to_date(:P526_JOB_DATE,'DD-MM-YYYY'), 'DAY')
like ' % SUNDAY % ") then ' SUNDAY/PUB. HOLIDAY"
end DAY_TYPE
of the double
-Page article to submit:
-Select the Type: Item (s)
-Article (s): P526_DAY_TYPE
The SQL statement sets the value of P526_DAY_TYPE that when I replace: P526_JOB_DATE with a date like January 11, 2010 format ' and a date is taken to
Duration otherwise it doesn't.
(2) want to be able to maintain the values of P526_VESSEL_ID, P526_JOB_DATE, P526_DAY_TYPE, P526_LABOUR_TYPE, P526_SHIFT after an insert action as default values for the next create another form operation.
Like all the ideas on how to implement or to solve problems (1) and (2) would be very appreciated.If you want to use P526_JOB_DATE in your SQL statement add P526_JOB_DATE to the "referred to submit Page:" field.
-
How to integrate the search engine (Google) customized with oracle apex 5.0?
<script> (function() { var cx = 'aaaaaaaaaaaa:bbbbb'; var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true; gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//cse.google.com/cse.js?cx=' + cx; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s); })(); </script> <gcse:searchbox ></gcse:searchbox>
Like, I then politico who and want to change the settings of the CSE research must have be take place. Above the CSE code works for any thing you search I want to connect this way regardless of the setting I have spend in search results will go.
For this I need to use Json rest api in oracle apex to bind the varibales. Say for example: cr = (country); LN (language) = en; This value will be passed through JSON ESC (google), and the result will appear any suggestion I how to get this...
Thank you.Used JavaScript get json response and show it to the page. You can also use the pl/sql to achieve this.
-
check for oracle apex of validation 5.0
Hello
I use oracle apex 5.0. I have a problem when it comes to Validations.
I used a blank in it two static region an address and one for the text elements. So, basically static region (a) a address in it and select the button called. If I click on the "Select" button, then the address will pass to the second static region based on the id.
text element 7 I used.
When you click on the button select associate address fields will be filled with good values. present all the text elements are Disable means that you can change. You can read only, so far its working fine.
Now on the same region I have 1 button of Validation checking and redirecting to another page in the application.
What I tried.
Action button: Submit Page
Branch created to redirect
The apex of the Validation process integrated.
-----------
Also created DA to Submit page.
-----------
Need advice
Thank you
Pranav.Shah wrote:
Oky I created a DA to make the disabled items.
so, how to read-only
If they are always read-only, then change the items and set the attributes of the HTML Form element (the component view) /custom attributes (Page Designer) property read- only.
If it is necessary to be dynamic, and then create a dynamic action to run the JavaScript Code that defines the attribute using jQuery
prop
method:$('#ITEM_NAME').prop('readonly', true);
-
Find the node of a tree leaf in oracle apex 5
Hello
I use TREE in oracle apex 5.0. I created a tree and an IR.
For example, when the user clicks on the evolution of the event tree leaf node will occur and data of the selected node will be displayed in IR (on the change event of DA).
Right now I am able to show that one of the values of node root.
SQL OF THE TREE:
Select case when connect_by_isleaf = 1 then 0
When level = 1 then 1
else -1
end the status,
level,
"PRODUCT_GROUP_NAME" as the title,
NULL as an icon,
"PRODUCT_GROUP_ID" as a value.
NULL as ToolTip,
' javascript:nodefunction('''||) PRODUCT_GROUP_ID | " ') ; "as link
of ' #OWNER # '. " OMS_PRODUCT_GROUP ".
start with 'PRODUCT_GROUP_ID' = (select product_group_id from the OMS_product_group where parent_id = 0)
connect prior "PRODUCT_GROUP_ID" = "PARENT_ID".
siblings arrested by 'PARENT_ID '.
IR SQL:
SELECT
op.product_id_dump,
op.product_name,
OPG.product_group_name "Prodcut group."
op. Description,
op.unit_price
Op OMS_PRODUCT, OMS_PRODUCT_GROUP opg
WHERE op.product_group_id = opg.product_group_id
AND opg.product_group_id = TO_NUMBER(:P53_SELECTED_NODE)
Hi Dominique,.
Try this query in your report,
SELECT
op.product_id_dump,
op.product_name,
OPG.product_group_name "Prodcut group."
op. Description,
op.unit_price
Op OMS_PRODUCT, OMS_PRODUCT_GROUP opg
WHERE op.product_group_id = opg.product_group_id
AND op.product_group_id = TO_NUMBER(:P53_SELECTED_NODE)
Union
SELECT
op.product_id_dump,
op.product_name,
OPG.product_group_name "Prodcut group."
op. Description,
op.unit_price
Op OMS_PRODUCT, OMS_PRODUCT_GROUP opg
WHERE op.product_group_id = opg.product_group_id
AND op.product_group_id in (select product_group_id from the OMS_PRODUCT_GROUP where parent_id = TO_NUMBER (:P53_SELECTED_NODE))
hope it works for you,
Kind regards
Jitendra
-
Oracle Apex Interactive report missing filter column header information?
Hello
I use Oracle Apex 4.2, on Internet Explorer 9. I created an interactive report based on the views created in the database (11 g, version 11.2.0.1.0) oracle (workspace = database schema) I use the value of rownum to act as a key to identify the different lines.
Whenever I try to find the information of one of the column headers for the interactive report (number), I'm not able to find the line, but when I try the same search for "action bar" at the top I am able to see the desired results. That is true of the SQL Developer so know if enter the same information in the filter of the columns, I see the corresponding lines.
Y at - it an explanation for this behavior?
Thank you
Harry
Hello
This is a limitation of APEX. Column header filters in IR displayed first 999 distinct values in the ascending (after the application of all the IR filters). For example, you can filter 2310 using 'menu action filter' (as you specify) and then try clicking on the topic 'the number '. Then you must see 2310 here.
fac586 of course it is a bug in the documentation, but 1 million limit is neither practical nor a way to go.
Kind regards
Hari
-
How to hide the field element of text based on true or false cases in the oracle apex
Hello
I have a set of text field in the oracle apex:
- Order number
- Revision number
When we open the report, the review must be hidden.
Only when the user enters the unique order number (order not duplicate numbers), revision number should be visible.
If he enters the number of duplicate order, the revision number should be hidden.
Help, please.
Hi 2932464,
2932464 wrote:
Hello
I have a set of text field in the oracle apex:
- Order number
- Revision number
When we open the report, the review must be hidden.
Only when the user enters the unique order number (order not duplicate numbers), revision number should be visible.
If he enters the number of duplicate order, the revision number should be hidden.
Help, please.
Give you an example of how to do to get there.
Step 1. Create three elements of the Page
(1) P1_ORDER_NO - text field
(2) P1_REVISION_NO - text field
(3) P1_ENABLE_DISABLE_REVNO - hidden, protected value - no.
2 create dynamic Actions 3
(1) disable the revision on the loading of the page number
Event - loading of the Page
Action - disable
Fires when the result of the event is - real
Selection type - point
Point - P1_REVISION_NO
(2) check the number of duplicate order
Event - change
Selection type - item (s)
Article (s) - P1_ORDER_NO
Condition - is not null
Action - to execute the PL/SQL Code
Generate in front of false action - not checked
Fires when the result of the event is - real
Fire on page load - disabled
Stop execution on error - checked
Wait for the result - verified
PL/SQL - code
declare l_count number; begin select count(*) into l_count from emp where empno = :P1_ORDER_NO; if l_count > 0 then :P1_ENABLE_DISABLE_REVNO := 1; else :P1_ENABLE_DISABLE_REVNO := 0; end if; end;
To present the page = P1_ORDER_NO
Page referred to return = P1_ENABLE_DISABLE_REVNO
(3) enable and disable the revision number
Event - change
Selection type - item (s)
Article (s) - P1_ENABLE_DISABLE_REVNO
condition - greater than or equal to
value - 1
Action - disable
Fire on Page Laod - disabled
Generate the opposite action of false - verified
Selection type = item (s)
Article (s) - P1_REVISION_NO
Hope this helps you,
Kind regards
Jitendra
DER_NO
-
Update of the elements on the Page regarding filters in Oracle APEX interactive report
I recently started using interactive reports in my Oracle APEX application. Previously, all pages in the classic application reports. The interactive report in my new page works fine, but now, I would like to add a summary box/table above the interactive report on the same page that displays values added some columns in the interactive report. In other words, if my interactive report displays 3 names of separate Manager, 2 separate offices and 5 different employees, my summary (box) will contain a line and three columns with numbers, 3, 2, and 5, respectively.
So far, I did this job creating the box summed up as a classic report that account of the distinct values for each column in the same table that my interactive report pulls. The problem is when I try to filter my interactive report. Of course, the classic report is not updated based on the interactive report filters, but I don't know how I could link the two so that the classic report meets interactive report filters. From my research, there are ways to refer to the value in the search box of the interactive report using javascript/jquery. If possible, I would like to refer to the value of the filter of the interactive table with javascript or jquery to refresh the summary box whenever a new filter is applied. Does anyone know how to do this?Thanks, Patrick! I was always getting some of the old filters for a reason, but I was able to use the tables included in queries to retrieve my ID to report, that I used in the APEX_IR. Function GET_REPORT.
-
Oracle APEX help validate users
Hello
Please let me know, how I can activate a button for some specific users to Oracle APEX.
Only when these users login, they can show the button, but when other users are registered in the button should be hidden.
Please let me know if there is an article on this existing already or any reference on how to do this.
Thank you
Valsaint
Hi valsaint.
Alessandro wrote:
Hello
Please let me know, how I can activate a button for some specific users to Oracle APEX.
Only when these users login, they can show the button, but when other users are registered in the button should be hidden.
Please let me know if there is an article on this existing already or any reference on how to do this.
Thank you
Valsaint
By creating a system of authorisation and then assign to the Page or its components.
Reference: http://docs.oracle.com/cd/E37097_01/doc.42/e35125/sec_authorization.htm#HTMDB12004
If you are using Application Express accounts for the management of users, then you can also create a page of access control:
Reference: adding security to your Application database using Oracle Application Express 4 2
I hope this helps!
Kind regards
Kiran
-
How to assign the value to the application-level element
Hello
I'm learning to APEX. I use version 4.2.6.
My question is, I set a text field called 'FINANCIAL_YEAR' in the login page. I wanted to know how to assign this value to a text element of Application level (on page sent), so that I can get this value through at my request.
Thank you
-Anand
anand_gp wrote:
Yes, I created a 'text area' under 'HTML' in the 'Home' page Who accepts the exercise of a table through LOV. I intend to assign this value to a global variable so that this variable can be read in any of the application to filter the result set from different tables (not yet built the rest of the application). To do this, I was intending to use "Shared components"-> "Elements of Application". I'm still not quite sure how it works.
Start by reading the documentation on elements of application.
Go to the shared components > Application parts and create your G_FINANCIAL_YEAR item. Value Session State Protection Restricted - can not be set the browser so that the value is not editable by the user, falsification of URLS or scripts.
On the home page, if there is not already a button to submit the value of the fiscal year, add one in the HTML area, with the Action as a submit Pageclick. Otherwise, you can do without the button and using submit Page in Page Action when the changed value select the parameter in the list so he can undergo.
Then, in the section of the Page processing, create a calculation:
Point Type: Application-level element
Calculate Item: Application: G_FINANCIAL_YEAR
Point calculation: After submit
Type of calculation: Value of the element
Calculation:
Run the application, select a value in the list of the fiscal year and submit the page. Review of current session state in the viewer of session state by clicking on the link of Session in the toolbar developer. Select the Elements of Application in the view list, and then click set. The element of your application and its current value must be visible. You can now reference value throughout your application by using the appropriate syntax.
You should also consider if a default value (for example the current year) using a calculation Application from the point of calculation on the new Instance and coordinate the application point and part of the homepage using point application as the Source of value or an expression with Source page element, the value always, replacement of value that exists in the session state.
-
I have the classic report in oracle apex
with query below
Select EMPNO, ENAME, HIREDATE, ADDRESS of emp COMM;
If the ENAME = "John".
so, I want to do any "BOLD" line and readonly/inactive. (set of rank who name John)
Thanks in advance...
Simple answer: see this blog: reports APEX: color line based on column value
Thank you
Tony Miller
Software LuvMuffin
Ruckersville, WILL -
Oracle Apex 4.2.4 cannot create PDF
I can't create PDF reports through the use of Apex.
(1) I have installed Oracle XE, upgrade the application Express of Apex 4.2.4.00.08
(2) in the print report Listener Oracle APEX value Instance settings
(3) established a basic report of the emp demo table
(4) set to allow reporting printing = 'yes '.
When I run the report and select pdf I get error message not a pdf file is valid.
Open the file in wordpad and it contains, given therefore seems not to be conversion from XML to PDF format below. Any ideas what I am doing wrong! :
<? XML version = "1.0" encoding = "UTF-8"? >
< apexListnerFOP >
< DOCUMENT >
< DATE > 07/03/2014 < / DATE >
STAFF of < user_name > < / username >
< > 101 APP_ID < / APP_ID >
Ridgway library < APP_NAME > < / APP_NAME >
< > 12 PAGE_ID < / PAGE_ID >
Report < TITLE > 1 < /title >
< REGION ID = "2221822669173184" >
rowset <>
< ROW >
< > 7369 EMPNO < / EMPNO >
SMITH < ENAME > < / ENAME >
CLERK of < JOB > < / JOB >
< MGR > 7902 < / MGR >
< HIREDATE > 17/12/1980 < / HIREDATE >
< > 800 SAL < / SAL >
< COMM > < / COMM >
< DEPTNO > 20 < / DEPTNO >
< / ROW >
The issue was the auditor of the Apex. I didn't properly configure it.
I've recreated the service ensuring that account APEX_PUBLIC_USER has been unblocked and APEX static resources highlighted in apex/pictures folder.
Now works.
Maybe you are looking for
-
Windows 7. I am the only user and administrator.Every time I start Firefox I get the "the update could not be installed. Please make sure that you don't have any other instances of firefox... etc. ".The Task Manager shows all instances of firefox are
-
Family of sharing is not working
Hello. We try to use family sharing on Apple music - but without success. We have the family plan of Apple's music.Family of sharing is enabled. Each Member of the family is in the family group. When a family member trying to connect on the Apple mus
-
I check the updates manually, and it's frustrating because I can't stop it once it starts. There is no button 'Cancel' or anything that will stop the update. ' Check for updates ' does not mean 'Install updates'
-
Airport Time Capsule does not completely erase
1. I sell my Time Capsule airport. I've referenced the article here: check, repair, or erase a disc AirPort Time Capsule - Apple Support. 2 - I have completed each step, as shown in the article and place the drive to perform a secure erase drive wit
-
Log time GPS, position, speed
Hello I use the read time gps, position, velocity.vi and now I want to save this data in a text file or a spreadsheet. Is there a simple way to do this? I tried with write in the file of the measurement, but this handles dynamic data and no stamp str