Displaying all values when Checkbox is unticked Oracle APEX - oracle

I created a checkbox in an interactive report for searching a table in APEX. When a option is checked the correct rows are displayed. However when no checkbox option is selected the search function only returns rows with null values. What I want is for all rows to be returned when no option is selected. How can I do this?
This is the code I used to implement my checkbox
WHERE instr(':'||:P20_APP_METHOD||':',application_method)

what about this?
instr(':'||:P20_APP_METHOD||':',application_method) or :P20_APP_METHOD IS NULL

Related

Oracle Apex - Select List on Interactive Grid

I have an Interactive Grid with a really simple select list (two values only):
No
Submitted
This is an editable IG, when I click on my select list column the value automatically changes to 'No' (which is the one displayed first out of the two options) regardless of what I have on that row.
E.g.
This is row 1:
It had 'Submitted' as its value, but when I double clicked to edit, it automatically changed to 'No'.
Does anybody know how to fix this?
Thanks
(using Apex 22.1.3)

Oracle Apex LOV return mutiple value just like forms 6i lov

Oracle Apex LOV return mutiple value just like forms 6i lov
in interactive grid layout how to return mutiple value if user select from list
PLEASE SEE PICTURE
LOV
Region detail interactive grid
ig PAGE ITEM TO ig COLUMN VALUE
Dyanmic action on ig column and set value from page item
I just created an Interactive Grid and set one of the columns to be a Popup LOV. In the settings for that column, I saw this:
Once I enabled Multiple Values, I was able to select multiple values:
If that doesn't answer your question, please update your question with more detail as to what you're trying to do. The pictures you provide are not enough to understand.

Oracle Apex 5.1: Report column based on LOV(List of values) showing returned value not display value

I have created an interactive report with a form. In the form I have two select lists. The first select list is a list of values defined in the shared component. And the second select list is another list of values which is also defined in the shared component but this select list populates its LOV based on the selected item in the first select list.
Let the names of the select lists are:
Region.
Country(which is dependent on the selected item in Region field).
Now when I press save/create button in the form, a row is created in the report. The Region column and Country column in the report are both "Plain Text(based on List of Values)". But what I see is the Region column is showing the correct display value of the LOV but the Country column is showing the returned value of the LOV.
I want both of these columns show the display values rather than the returned value. Could anyone help me find the solution?
Are you using the same LOVs in form and interactive report? If so and in the conditional LOV (countries) you refer your form item (ex. PX_REGION) it will not work correctly in IR. Probably IR is showing the returned value because the option "show extra values" is checked.
If this is the case my suggestion is to change your IR and instead of a "Plain Text(based on List of Values)" you make it plain text and change the query to an inline query in IR query to obtain the value you want to show.
If you don't want/like to put your LOV queries in different places I suggest you to use this approach shared by Nick Buytaert
Hope this helps you solve your problem.

Display Column and Return Column LOV

I am working in Oracle APEX(Application Express). When I want to create a List of Values (LOV) it gives me only one option for displaying and returning value. Is there any method in APEX so that it can Display me more than one column.
No, there is no way to display more than 1 column by default.
You could alter your lov query to concatenate multiple column values into a display columns
select empno return_value, empno||': '||ename||' - '||job display_value
from emp
You can steer markup through the Popup LOV template too, if you'd want to use a fixed width font.
Use a plugin such as the SkillBuilders SuperLov. However, this plugin does not work in tabular forms.
Roll your own by using for example modal pages (again, SkillBuilders have an excellent plugin for modal pages), or through the use of javascript (ex creating new windows and handling returns)

Dropdownlist,CheckBox in MVC Grid in flat mode not in Edit Mode

I'm struggling to create a grid with two columns as bound columns and other two columns as dropdown and checkbox and last column is a column with update button.
I need to change the values of dropdown and checkbox and then need to store those values in the database while clicking the update button. I don't know how to save the changed values of ddl and checkbox in the database.
Thanks in advance.

Resources