Report with check boxes
Hi allI have a report with check boxes the empno they receive in return
I have
Select apex_item.checkbox (1, empno) cbox, a.empno, a.ename, a.mgr, a.deptno of the emp has
in the report...
I have a dummy hidden (P2_EMPNOS) field that stores from the inside with concatenated comma empno (for which I wrote a page process)
DECLARE
vRow directory;
BEGIN
: P2_EMPNOS: = NULL;
: P2_EMPNOS: = apex_application.g_f01 (1);
BECAUSE me in 2... apex_application.g_f01. COUNTY
LOOP
: P2_EMPNUMS: =.
: P2_EMPNOS
|| ','
|| apex_application.g_f01 (i);
END LOOP;
END;
on my next page, I want the records that I have chosen as this
Select a.empno, a.ename, a.mgr, a.deptno
EMP a
where empno in: P2_EMPNOS
I have tried (: P2_EMPNOS),': ' P2_EMPNOS
The problem is if I select a check box, and then on the next page, I get this a record...
But if I select several, then a bad start... it says "no data found"... but still, the values can be displayed on the next page with commas
A body can help me in this please.
Thanks in advance.
Gora
Write your SQL as
Select a.empno, a.ename, a.mgr, a.deptno
EMP a
where instr (: p2_empnos, ',' | empno |) ', ') > 0
CITY
Tags: Database
Similar Questions
-
How to create the report with check box (Update, Delete) operations
Hi all
I want to create report with check boxes.
I created it based on the user's manual. But do not delete records. Please help me
workspace: APPSGURU
P.W:rag$ 123
Application:36232
Page: 14
Thank you and best regards,
Rambeau
Raghu,
Request for check line deleted successfully.
made some changes in the removal process.
Leave.
-
Help with check boxes and actions
Hello
I just downloaded a trial version of LiveCycle Designer ES2 to see if this program works for the company that I work for. I need to create order forms for our products that our customers can fill out online and then send an e-mail to our sales department.
I have imported our current order form to LiveCycle as a work of art and have inserted check boxes on the form. I want the form to automatically add the price of the option they checked off the retail price of total at the bottom of the form. Do you have any suggestions for me?
Thank you!
Stefan
Hello Stefan,
LC Designer is a very powerful application. While you can drag and drop objects on the form, for things really move you need to put a script in objects. This allows to control the way in which the form will be according to the users actions.
To begin with there is help. If you have a look at the Action Builder in the Tools menu, you can select an object, then use the plain instructions accumulates the desired interaction. When you click OK, LC Designer will insert the necessary script.
Therefore, there may be a steep learning curve, so it depends on how comfortable you are to roll up your sleeves and do some scripts.
First, you must configure your workspace. This tends to be a personal preference, but here's a basic layout.
It is a bit small, because of the scale, but you get the idea. At any time, you should be able to see the page, the hierarchy and the script editor. The object library and the range of the object and other palette must be close to hand as well.
I am NOT inclined to import the form existing as work. This can limit the built-in options in LC Designer later. You can save your form existing in JPEG format and then in a new form to use the image object (value size full page) to display the image of the existing form.
[ALTERNATIVE: you can also add fields to a PDF in Acrobat].
Regarding scripting, the following JavaScript code should work in the click event of the checkbox (on the ground that the other field is named totalPrice).
If (this.rawValue == 1)
{
totalPrice.rawValue = totalPrice.rawValue + 10;
}
on the other
{
totalPrice.rawValue = totalPrice.rawValue - 10;
}
This should take into account if the user changes of opinion and unticks the box.
One thing to keep in mind about forms developed in the LC Designer, it is only the functions that will be available in the form (such as submit by e-mail in PDF format) will depend on whether the user has Acrobat or Reader, and also on whether the form has been active player (and how it has been activated). There is more information here: http://assure.ly/gYyYc2.
I highly recommend JP Terry on LC Designer which is excellent - book "create dynamic with Adobe LiveCycle Designer Forms. It starts at the beginning and clearly sets out the key learning points. In the end, there are a few good examples that you can copy anywhere in your forms.
We have solutions and blog posts on our website http://www.assuredynamics.com.
There are also a range of online resources. You can find these resources useful:
http://www.Adobe.com/go/learn_lc_scriptingBasics
http://www.Adobe.com/go/learn_lc_scriptingReference
http://www.Adobe.com/go/learn_lc_formCalc
http://www.Adobe.com/devnet/LiveCycle/articles/Adobe_XML_Form_Object_M odel_Refer ence.pdf
http://www.Adobe.com/devnet/Acrobat/PDFs/lc_migrating_acrobat_xmlform. PDF
And a very convenient resource (and even if it's for version 6, it is still very good because of the way it is presented):http://partners.adobe.com/public/developer/en/tips/CalcScripts.pdf
The HelpFile in the LC designer can also help with the syntax and LC designer itself comes with some great models and examples.
Finally, discover the network of the developer on http://www.adobe.com/devnet/livecycle/
A book that does not deal with the scripts at all, but is very good on the formatting is also ""does this work " by Caroline Jarrett and Gerry Gaffney."
The Adobe "PDF forms Bible" is OK, but focuses mainly on AcroForms.
WindJack Solutions have a service on subscription for the scripts and solutions tohttp://www.pdfscripting.com. There a lot of AcroForm script which can be modified according to LC designer and a growing library of LC Designer solutions.
I hope this helps,
Niall
-
The two problems with sub form of table, associated with check boxes
Hi all -
Jari already helped me thereby once last week, but I'm running into some new questions.
http://Apex.Oracle.com/i/index.html
workspace: Leppard
username: Guest
PW: app_1000
Application: MyTestApp
Maybe I need to split these into two questions, if so just let me know.
Question 1: On the first tab (tab 1 report) I have a simple tabular presentation based on the EMP table. The column of the box on the far right, when checked restores the Ename column readonly. The problem is that it only works one way. Unchecking the checkbox is not cancel the read-only.
It is javascript code that I have on the page:
The attribute of the element on the checkbox column isfunction test(pThis) { //get the current row index on change var currIndex = $('input[name="'+pThis.name+'"]').index(pThis); // check current items value (return value of lov) if (pThis.value=='Y') { $('input[name="f02"]')[currIndex].style.backgroundColor = "LightGrey"; $('input[name="f02"]')[currIndex].readOnly=true; } else if (pThis.value=='N') { $('input[name="f02"]')[currIndex].style.backgroundColor = "Red"; $('input[name="f02"]')[currIndex].readOnly=false; } }
(It seems to work although I use onClick or onChange so I don't know if that makes a difference).onClick="javascript:test(this);"
But the main problem is that the code does not recognize the value of "n" in the column. I checked with firebug and columns I have untick are definitely on 'n', but I can't get javascript code to recognize this value. Even if I take the "ElseIf" code and just change the first part to (pThis.value ==' no) still does not work. There seems to be something with the value "n" recognize themselves do not, but I can not understand.
Question 2: on the second tab - tab report 2. The same report but this time, I use a javascript character counter similar to that described in the sample application of the Dene (page 276 > http://apex.oracle.com/pls/otn/f?p=31517:276:19207673535900:NO). The counter of characters on the Ename field include javascript and an expression of HTML on the Ename column. The counter works fine, but now, the javascript code to make the column readonly work over all.
Any ideas on these are much appreciated!
Thanks in advance,
John- Please please understand what HTML is generated and how to inspect. Once you do this, you can easily eliminate many problems with selectors not seeming to work. A text box is not an input for example element.
- Boxes rely on the checked, not the value property. Apex circumvents this by creating a hidden extra element which will get the value based on the checked property of the visible checkbox
- Do not use these horrible onchange and onclick attributes :( Use a dynamic action or jQuery to bind events.
- Do not apply a style via javascript. Use CSS for this drive as with jQuery, you can easily add, remove, or toggle the classes too. And if you know jQuery selectors, you can understand css selectors because they are substantially the same.
- I don't know why people insist on using rowIndex or substringing ID. I find it unnecessary and more complex that the alternative (crosses with jQuery)
- The difficulty also in things into action through pagination. Running on just the visible page it of a trifle, but through paging requires more work than just check "fire on loading the page" is not enough. I'm sure you'd want your ENAME either red or gray column and readonly as soon as the page is loaded, and not when you start typing in the box...
- Please please understand what HTML is generated and how to inspect. Once you do this, you can easily eliminate many problems with selectors not seeming to work. A text box is not an input for example element.
Form 1 tab: copied to Page 12 and made my changes here:_
- OnChange on ENAME. This removed. No idea why you would need it there seems a crutch for not having the field in the desired state when the page is loaded.
- OnClick on CHECKBOX. Removed what I hate these attributes. Replaced by a dynamic action.
- Dynamic action "checkbox: ENAME readonly value."
- Event: After refresh
- Selection type: region
- Region: Form of tab 1
- No condition
- Scope of the event: static
- Real Action
- Run the JavaScript Code
- Fire on loading the Page: YES
- Code:
//at page load and after each region refresh: //each: check all checkboxes and set readonly on ename accordingly //click: when the checkbox changes, change ename accordingly $("td[headers='CHECKBOX'] input[type='checkbox']:visible") .each(function(){checkReadonly(this);}) .click(function(){checkReadonly(this);});
- Run the JavaScript Code
- Event: After refresh
function checkReadonly(pCheck){
var lCheck = $(pCheck);
lCheck.closest("tr")
.find("td[headers='ENAME'] input:visible").each(function(){
$(this).prop("readonly", lCheck.prop("checked"));
});
};
td[headers='ENAME'] input{
background-color: red;
}
td[headers='ENAME'] input[readonly]{
background-color: lightgrey;
}
CSS works so much better for this than the application of style through js...
Form 2 tab: copied to Page 13 and made my changes here:_
- OnChange on ENAME. This removed. No idea why you would need this.
- OnClick on CHECKBOX. Removed what I hate these attributes. Replaced by a dynamic action.
- Dynamic action: identical to page 12, just modified trigger area
- Changed input to TEXTAREA when it is required:
- Page > function and global variables declaration
function checkReadonly(pCheck){ var lCheck = $(pCheck); lCheck.closest("tr") .find("td[headers='ENAME'] textarea:visible").each(function(){ $(this).prop("readonly", lCheck.prop("checked")); }); };
- Page > CSS Inline
td[headers='ENAME'] textarea{ background-color: red; } td[headers='ENAME'] textarea[readonly]{ background-color: lightgrey; }
- The f_set_counter function, I changed a bit: there are 2 straps too, put a semicolon at the end of each line.
-Change $x (node) .value $s (node, value) and $v (node)
-changed $x (node) .innerHTML to $(node) .text)
I know: it worked. I like this better. OCD? :/
function f_set_counter(pThis,pLength,pMaxLength,pReset)
{
if (pLength>pMaxLength){
alert('The maximum length of '+pMaxLength+' exceeded.');
$s(pReset, $v(pReset).substring(0,pMaxLength));
$("#"+pThis).text(pMaxLength);
}else{
$("#"+pThis).text(pLength);
};
};
Published by: Tom on February 15, 2013 12:48
Made a mistake in the case of dynamic action :->, click after refresh!
Hide a dynamic button with check boxes and actions.
Good, everyone.Now I'm trying to do is create a dynamic action to hide a button
When a box is selected. It would be simple if the checkbox
created dynamically.
I have a report that contains a dynamically created checkbox column hollow
the apex_item.checkbox command. I want to be able to hide a button if no
that the boxes have been checked, but I don't know how to make a reference to
This point when creating a dynamic action.
You guys could help me once again?
Thanks for the attention.
Best regards, Leandro Freitas.
Try this:
1 put a class on the checkbox example
apex_item. CheckBox (p_idx-online 1, p_value => NOM_PAPEL, p_attributes => "class ="mycbclass"onChange = hideRevoke ();', p_checked_values-'UNCHECKED' online")
2. create a dynamic action:
Event: change
Type of selector: jQuery Selector
JQuery selector: input.mycbclass
Condition: Expression JavaScript
Value: $('input.mycbclass:checked').length > 0
Action: hide
Create opposite: checked
Selection type: Elements (s)
Article (s): click on your button
Maybe I should point out that if you use a model button then you will need to ensure that the model has a button id so that the dynamic action allows to identify the button.
Rod West
Published by: Rod West February 24, 2012 13:52
Report with the box and collection
Hi allI need to manage an interactive filtering report and select rows of boxes and then use a collection to manage the selected records.
I used a first collection to create the record source by a process of front-Header we charge:
DECLARE
v_id NUMBER;
Varchar2 (8) var1;
Varchar2 (10) var2;
var3 VARCHAR2 (50);
var4 VARCHAR2 (10);
VAR5 VARCHAR2 (100);
var6 VARCHAR2 (5);
cursor c_Populate is
SELECT
DEP.chassis_code AS chassis_code,
DEP.model_code AS model_code,
m.model_description AS model_description,
DEP.acc_doc_number AS acc_doc_number,
dest. Description AS destination_descr,
(trunc (sysdate) - dep.entry_date) Anzianita
OF deposit_chassis dep, warehouses w, warehouse_map card, models m, immersion,.
dest, SDS T_SUB_DESTIN_DEALERS destinations
WHERE
DEP. Status = 5 AND
w.ware_code = map.ware_code AND
DEP. DEALER_CODE = DDD. DELIVERY_POINT AND
DEP. DESTINATION_CODE = DDD. DESTINATION_CODE AND
Map.MAP_CODE = dep.map_code AND
m.model_code = dep.model_code AND
DEP. UNLOADING_SITE = S.SITE_CODE AND
DEP.destination_code = dest.destination_code and
DEP.unloading_site = 'S0000074' and w.site_code = 'S0000074 ';
I have SEVERAL;
BEGIN
APEX_COLLECTION. CREATE_OR_TRUNCATE_COLLECTION (p_collection_name = > 'MY_COLLECTION');
OPEN c_Populate.
LOOP
EXTRACT c_Populate in var1, var2, var3, var4, var5, var6;
EXIT WHEN c_Populate % NOTFOUND;
APEX_COLLECTION. ADD_MEMBER)
p_collection_name = > 'MY_COLLECTION ',.
p_c001 = > var1.
p_c002 = > var2,.
p_c003 = > var3.
p_c004 = > var4.
p_c005 = > var5,.
p_c006 = > var6);
END LOOP;
CLOSE C_Populate;
END;
-----
Then, I created a region for a SQL report:
SELECT
APEX_ITEM. Chk CheckBox(1,C001).
apex_item. Text (2, c001) maniglie,.
apex_item. Text (3, c002) ModelCode,.
apex_item. Text (4, c003) model.
apex_item. Text (5, c004) all Doc_Number,.
apex_item. Text (6, c005) Destination.
apex_item. Text (7, c006) age
OF APEX_COLLECTIONS
WHERE COLLECTION_NAME = "MY_COLLECTION";
-----
Then, with a "submit" button and the process (below), I need to load a new collection for more details.
How can I get the unique values for each field of my selected rows (see MY_COLLECTION)?
APEX_COLLECTION. CREATE_OR_TRUNCATE_COLLECTION (p_collection_name = > 'COL_AVAILABLE_CHASSIS');
BECAUSE me IN 1.APEX_APPLICATION. G_F01. County
LOOP
APEX_COLLECTION. ADD_MEMBER)
p_collection_name = > 'COL_AVAILABLE_CHASSIS ',.
p_c001 = > I need the maniglie
p_c002 = > I need to the ModelCode
p_c003 = > I need to model
p_c004 = > I need to the Doc_Number
p_c005 = > I need to the Destination
p_c006 = > I need to age
END LOOP;
Thanks in advance,
Massimo
Hello
This might help
https://Apex.Oracle.com/pls/OTN/f?p=40323:1
Kind regards
Jari
I have a form with checkboxes that I could finally work partially. However, there is a problem. If you forget to check the box (Yes or no), you get the error element is Undefined. If you check the box, there is no problem and the form through email. How can I fix the error, if the boxes are not checked. Any help would be appreciated,
Best,
Joy
Hi Joy,.
I found that you are wrongly using the isDefined().
You will need to use isDefined() in your presentation page.
For example, in your mailto page
#form. Confform #.
#form. First name #.
#form. LastName #.
#form. Title #.
and so on for each label you print, you have these conditions.
Take out isDefined() check also in your first page. they should not be there.
Hello world
IM, trying to understand what follows but I'm gray will try to sort it out!
I have a column of checkboxes, when I check the they fill a number from another column. The problem is that I can't add populated figuration as uncontrolled boxes cause an error! Is anyway to say "just add th numbers that have a graduation along side them and ignore the rest zero values"?
Help me please as its driving me crazy!
Thanks in advance.
I'm going to bump this because there are several experts numbers here. In the meantime, enter in your Google bar (just copy the line below and paste) search
box numbers 2015 site: discussions.apple.com
or
2014 site: discussions.apple.com box numbers
Select and deselect all buttons to control list box with check boxes
I am using the two buttons on labeled select all deselect others all the. These two buttons will check either or unckeck the boxes to tick in a listbox control. I've included the code for the list of regions below. The two buttons are on a separate mxml file. They are labelled by functions id as "selectall" and "deselectall. I think I need to bind the buttons to an arrary you select or clear each checkbox in the list control. Any help you can give me would be great.<? XML version = "1.0" encoding = "utf-8"? >
"" < mx:Canvas width = "166" xmlns:mx = " http://www.adobe.com/2006/mxml ' xmlns =" * ">
< mx:List width = "166" dataProvider = "{region}" >
< mx:itemRenderer >
< mx:Component >
< mx:Canvas >
< mx:CheckBox id = "complete" selected = "{data.selected}" click="data.selected=complete.selected"/ > "
< mx:Text id = "TaskName" x text = "{data.label ="23"} ' selectable ="false"/ >"
< / mx:Canvas >
< / mx:Component >
< / mx:itemRenderer >
< / mx:List >
< mx:Script >
<! [CDATA]
Test data for the usefulness of the CBA.
[Bindable]
public var regions: Array =]
{finished: false, label: ' Carolina/Tennessee'},
{finished: false, label: "Central Texas"},
{finished: false, label: "Florida"},
{finished: false, label: "Georgia/Alabama"},
{finished: false, label: "Great Plains"},
{finished: false, label: "Houston/Gulf Coast"},
{finished: false, label: "Illinois/Wisconsin"},
{finished: false, label: "Kansas and Missouri"},
{finished: false, label: 'Los Angeles'},
{finished: false, label: 'Mountain'},
{finished: false, label: "New England"},
{finished: false, label: "New York underground"},
{finished: false, label:' North CA/Nevada '},
{finished: false, label: "Ohio"},
{finished: false, label: "Pacific Northwest"},
{finished: false, label: "Pennsylvania"},
{finished: false, label:' Philadelphia Tri-St'},
{finished: false, label: "San Diego"},
{finished: false, label: "Southwest"},
{finished: false, label: 'Upstate New York'},
{finished: false, label: "Balt/Washington/Virg"}
];
[]] >
< / mx:Script >
< / mx:Canvas >
First, you must use an ArrayCollection collection and not a table:
var acRegions:ArrayCollection = new ArrayCollection (regions)
You will need to loop through the collection ArrayCollection and set the completed property.
Be sure to use the API of collection correct ArrayCollection to update properties for events will be issued to update the display.
Tracy
Feature Request: more properties with check boxes and option buttons
If you insert a radio button on a Web site, the pallete property inspector (right of expression? in German it is called "Akbulak") should provide checkboxes to 'disable', 'read only' 'access key' and a little more.This properties can be defined in the code manually, but not in the palette.
WebZopp wrote:
> If you insert a radio button on a Web site, the pallete property inspector
> (right of expression? in German it is called "Akbulak") should offer
> checkboxes for 'disable', 'read only' 'access key' and a little more.
> This properties can be defined in the code manually, but not in the palette.
I agree that it is a very sensible suggestion. (The correct name in)
English, by the way, is the property inspector). Since it is a
User Forum, your feature request is not likely to be seen by the
good people at Adobe. Use the request/Bug report form to do a
official request. Most people who make requests through the agent
form, most likely Adobe is aware.
http://www.Adobe.com/cfusion/mmForm/index.cfm?name=wishform
--
Adobe Community Expert David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Turn on the switch when a check box is selected in a report
HelloI'll have a report with a box with the code column such as
apex_item.checkbox(1,"EQUIPMENT_ID") Tick,
EQUIPMENT_TYPE as "Device Type",
EQUIPMENT_NAME as "Device Name",
CUSTOMER_NAME as "Customer Name",
SITE_NAME as "Site Name"
from DEVICE_VIEW
I have 2 buttons named "discover" and "Provision" in the same region of report. I want to activate the button whenat least one box is checked. How can I do this
Thank you
TJ
TJ,
It's to do with the JS. See this piece of code in above JS.
>
ARR = document. Forms [0]. F01
JS here made the implicit conversion. If your report returns multiple lines and then stop will become an array object, then everything works as expected. If your query returns a single row, Rios will be just an input arr.length element will be undefined.
So replace enableButton() JS code
See you soon,.
Hari
Published by: Hari_639 on September 27, 2009 13:59
I have a report with the box where I can select a record and then add to the database. I want to known how I will know if the user has clicked on one of the box for a particular process will be executed.
Only if the user choose a record of the report, he can call the process to be called with the click of a button.
How can I do this?
Thank you
Hello
Create a validation page (function returning a Boolean) level and write code similar to the
DECLARE
v_count NUMBER := 0;
BEGIN
FOR i IN 1..APEX_APPLICATION.G_F01.COUNT LOOP
IF APEX_APPLICATION.G_F01(i) IS NOT NULL THEN
v_count := v_count + 1;
END IF;
END LOOP;
IF v_count = 0 THEN
RETURN TRUE;
ELSE
RETURN FALSE;
END IF;
END;
Consider your report query is similar to the following
select apex_item.checkbox(1,"PK_CLMN") Tick, col2, col3 FROM tbl_name
See you soon,.
Hari
Check box in the header of the classic report: select all the report Archives
Hi friends,
I use Apex 4.2 worm.
I've created a classic report and create the check box (apex_item.checkbox (1), EMPNO, 'DISABLED' tick,) in this report.
My Code
Select * from)
Select
apex_item. CheckBox (1), EMPNO, "DISABLED" tick.
"EMPNO', 'ENAME', 'JOB', 'MGR', 'HIREDATE',"SAL","COMM","DEPTNO. "
from EMP)
where)
InStr (upper ("ENAME"), upper (nvl (: P6_REPORT_SEARCH, "ENAME"))) > 0 or
InStr (upper ("JOB"), upper (nvl (: P6_REPORT_SEARCH, "JOB"))) > 0
) and
(nvl(:P6_ENAME,'0') = '0' or ENAME =: P6_ENAME) and
(nvl(:P6_JOB,'0') = '0' or JOB =: P6_JOB) and
(nvl(:P6_MANAGER,'0') = '0' or MGR =: P6_MANAGER)
and
(nvl(:P6_DEPT_NO,'0') = '0' or DEPTNO =: P6_DEPT_NO)
I need to create the checkbox in the header of the classic as tabular report where if I click in the header box then all archives should be checked.
How can I do this with classic report.
If you want to see this issue in the workspace, then you can use the workspace details below
Workspace: APEX_ISSUE
User name: [email protected]
Password: kaushik1@34
Page no.: 6
Thank you
Hi Maxence,
The above problem is solved. Please check the same.
I added the following code in the header of the first column:
NOTE: I used Carl Backstrom solution for this: Blog of Carl Backstrom: Mini check all HowTo
But this solution works only when the first column in your report / table is a checkbox.
If you have more columns rather than the first column where you want to check and uncheck all the features then follow the solution of Jeff Kemp:
I hope this helps!
Kind regards
Kiran
Conditionally Enable and Disable select any check box in the report position only?
4.2.1
THM: 2
Hello
I have a classic report with an apex_item.checkbox2 as the first column. I also had to add a "Select all" check box in the header. I did it by adding this to the column header
< input type = "checkbox" onclick = "$f_CheckFirstColumn (this)" / > "
However, there is a requirement where in I need to disable this "topic" check all (line remain) when a certain field is not filled.
For example: P2_fLAG which is a page element is null, then select it title all the checkbox should be disabled.
Is this possible?
Thank you
Ryan
ryansun wrote:
This bump. Wondering if anyone has done this before?
A took a look yesterday. May have the time to finish today.
In this page if F1 and F2 are null and the user has selected "Select all" and click on the button. A message to standard error or alert apex must be indicated, asking the user to fill something in the fields F1 or F2.
I think that the idea first of activation and deactivation of select box everything is the best approach. Always better to prevent the user from doing something than to allow them to do it and then tell them they can't.
How to disable the check box (line selector) in a tabular report of APEX
I have a report in tabular form with checkboxes which is filled by a SQL query. For some lines, I want to disable (or not) the box according to the value of one of the columns of that particular line (if the value of a column defined as Date is less than sysdate, I don't want to display the checkbox for that rank). I tried to use the conditional display in the section of the column attribute of the checkbox, but I can't access this Date column that is currently selected in a view in the SQL source. I used variables such as: name-of_column, V(':name-of_column'), but always get a NULL value for this column in the SQL code I'm trying code in conditional display section. For this reason, my condition does not work correctly.
What I am doing wrong? Exceeds my correct approach?
Hi Ajay,
I don't think you can handle this with a conditional display, as that works on the column rather than level level line.
The way I see it, there are two things you can do:
(1) approach to sql, where youo make the checkbox in your query using apex_item.checkbox, see the documentation of oracle for detailed information on the use of the APEX_ITEM
You'll end up with a query like
Select case when YOUR_DATE_COLUMN<>
then null
else apex_item.checkbox2 (p_idx-online 1
p_value-online YOUR_DATE_COLUMN
)
,
from YOUR_TABLE (2) an approach JavaScript in which you create a dynamic action check your date column in a table and when the need hides and disables the check box for that rank. First option is more robust, but it will take a little more work. Second option is faster to develop, but may have different effects on various browsers and browser versions. Regads, Vincent
Maybe you are looking for
-
When videos appear in Mozilla there is a gray box that says I need to download Flash to view content. Existing Flash on my computer and executed videos in IE Explorer. Is it possible to get Mozilla to see and use this version of Flash?
-
Satellite A300 - his stutters when I enable Wi - FI turns
Hello! I am owner of a Satellite A300, and almost from the beginning, I noticed some occasional stuttering on the sound. Really got me bugged with this question, and I tried several times to solve. I even got to the point of resetting the default com
-
Genius app doesn't seem to work
Hello I have a few drawings illustrator requiring Arab labels so I read about advertising on the apple store and bought the Arab genius, whose ads say will allow illustrator make correctly Arab. Two questions: (1) I cut and paste the labels in Illust
-
When I select print the printer responds but does not print on the first attempt.
I have a printer HP psc 2170 and when I select print the printer responds but will print on the first attempt. It will start and then it is as if she is not detecting or responding and take up to 3 pages before it will print completely. I went back a
-
I have a WD external hard drive that I used for a while and all of a sudden I can't.
The device is a USB connected external hard drive. I used it on a regular basis until today. When I connect it it seems to connect (it lights up), and when he did it before she would open a window that would ask if I wanted to open and examine its co