Unable to create LOV (Select List)
As per the dev. guide, I am trying to create a Parameterized Report. When I tried the example given in the guide it works for the sample application. But when I try for my application (based on HR data) it does not work.
The steps I am following are same as dev. guide.
a) Create a New Page
b) Create the Query Region
Here I am giving the following query :
Select e.first_name,e.last_name,e.salary,e.job_id,d.department_name
from employees e, departments d
where e.department_id = d.department_id
and ( d.department_name = :P700_SHOW or :P700_SHOW = 'ALL' )
c) Adding an Item
But here when I select an Item as "Select List" and when I move to the page "Identify List of Values", here for the field Named LOV, it does not populate with any value, like it does for the sample application.
Also if i try giving the above query in the text box (List of Values query), it does not allow me to move ahead and throws follo. error:
" LOV query is invalid, a display and a return value are needed, the column names need to be different. If your query contains an in-line query, the first FROM clause in the SQL statement must not belong to the in-line query."
Can some help me on this? And also I am not able to understand, that for this exercise (parameterized report) why they have taken only sample application and not helped the dev. to create its own.
Hi,
You need to set up a "Named LOV" - go to Shared Components=>Lists of Values to create a LOV for the departments. This should be a "Dynamic" LOV, using the following SQL:
select department_name d, department_id r
from departments
order by 1
Give it a name like "DEPTS_LOV" and this will then be available for your select list.
Regards
Andy
Similar Messages
-
How create LOV(select List) with all LDAP users
Hello,
I am trying to create a selected list with all the users in my LDAP, note my LDAP is synchronized with my OID.
Any suggestions, I'm searching the the pl/sql statment?
Thanks
HussamHi Hussam,
Take a look at my comments in the following two threads -
Re: LDAP
Re: Cookie And LDAP
The two different threads discuss the methods I use to do what you want to do (so you really need to 'combine' the two different threads).
Hope this helps -
LOV Select List How to create query with begin & End in LOV
Dear All,
i am using Apex 3.2 ver
i want to use below code in LOV select list
BEGIN
IF UPPER(:P23_SERVICE_TYPE) like 'GUIDE%' THEN
SELECT NAME D, CODE R FROM SPECIAL_SERV_MAS
WHERE NVL(ACTIVE_FLG,'N') = 'Y'
AND NVL(GUIDE_FLAG,'N') = 'Y'
and CITY_CODE LIKE NVL (:P23_CITY_CODE, '%')
ORDER BY 2
ELSIF
UPPER(:P23_SERVICE_TYPE) LIKE 'ACCOM%' THEN
SELECT NAME D, CODE R
FROM HOTEL_MAS
WHERE NVL (ACTIVE_FLG, 'N') = 'Y'
AND CITY_CODE LIKE NVL(:P23_CITY_CODE,'%')
ORDER BY PRIORITY
END IF;
END;When i put this code in my LOV Select list Section then display me Error
Not Found
The requested URL /pls/apex/f was not found on this server.
Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server Server at tidevserv1 Port 7777
How to Resolve it.Hi Vedant,
you dont need to use begin ...end block
Try the Below code
IF UPPER(:P23_SERVICE_TYPE) like 'GUIDE%' THEN
RETURN
'SELECT NAME D, CODE R FROM SPECIAL_SERV_MAS
WHERE NVL(ACTIVE_FLG,''N'') = ''Y''
AND NVL(GUIDE_FLAG,''N'') = ''Y''
and CITY_CODE LIKE NVL (:P23_CITY_CODE, ''%'')
ORDER BY 2' ;
ELSIF UPPER(:P23_SERVICE_TYPE) LIKE 'ACCOM%' THEN
RETURN
'SELECT NAME D, CODE R
FROM HOTEL_MAS
WHERE NVL (ACTIVE_FLG, ''N'') = ''Y''
AND CITY_CODE LIKE NVL(:P23_CITY_CODE,''%'')
ORDER BY PRIORITY' ;
END IF;In this way you can create conditional LOVs ,
Hope this will helps you.
Regards,
Jitendra -
APEX 4.0.2 Multi-selection on a cascade LOV select list only pass 1 value
Hello everyone,
I am struggling to make a cascading LOV select list has multi-selection.
On one report page.
I have 2 select list
The first one lists the court name (P4_COURT_NAME), the second one (P4_DEFENDANT) list all defendants who currently engaged in the court.
The problem is when I allow the defendant select list become multi-select, when it submit it only pass the first selected value.
So I create just a simple select list based one list of value, and make it allow multi-selection. When it submit, the normal select list can pass selected values properly, while the cascade LOV select list pass only the first selected value.
Please help if any of you have an idea why.
We use APEX 4.0.2.00.07, Oracle data version iis 11g
The some configuration settings I set for the P4_DEFENDANT IS
Value required: Yes
Page Action When value changed: None
Allow Multi Selection: Yes
Named LOV: --Select Named LOV-
Display Extra value : Yes
Display Null Value: Yes
Null Display Value: --Select—
Null return value:
Cascading LOV Parents Items: P4_COURT_NAME
Page Items to Submit: P4_DEFENDANT
Optimize refresh: YES
List of value definition
SELECT def.first_name || ' ' || def.surname || ' (PRN: ' || def.prn || ' )' as d, def.def_id as r
FROM defendant def INNER JOIN court_engagement ce
ON def.def_id = ce.defendant_id
WHERE (ce.date_joined_aodt_court IS NOT NULL
AND (ce.date_terminated IS NULL OR to_date(ce.date_terminated,'dd/mm/yyyy') > to_date(sysdate,'dd/mm/yyyy'))
AND UPPER(ce.court_name) LIKE UPPER(:P4_COURT_NAME)
AND ce.active = 1)Source Used: Only when current value in session state is null
Source Type: Static Assignment
Maintain session state: Per session
The rest is default.
Thanks in advance.
AnnHi Chintan,
The "Source used" for those items are "Always, replacing any value in the session state". To set them to "Only when current value in session state null" sounds a good solution to me.
However, a strange thing just happened - now I will not lose the values of the items after the page reloading, although I have changed nothing in the page in my application since I asked the question. I don't understand why all of a sudden the reloading doesn't make me lose changed values any more. Let me dig it tomorrow to see what I'll find.
Thanks so much for your help.
Christine -
Switch item display type dynamically? popup-lov | select-list
Hi,
I've got a select-list item which I want to switch dynamically to a popup-lov. I want to display a popup-lov when the number of items to select from is high (say more than 15), otherwise I want to display a selct-list. How can I achieve this?
thanks,
Stephansteph0h wrote:
Hi,
I've got a select-list item which I want to switch dynamically to a popup-lov. I want to display a popup-lov when the number of items to select from is high (say more than 15), otherwise I want to display a selct-list. How can I achieve this?How do you determine the number of options?
The simple approach is to create separate Select List and Pop-up LOV items and use conditions based on the number of available options to display the correct one. The items have to have different names, so if this is to be used for example to provide a value for a database column, create another hidden item based on the database column and transfer the values between the UI and DB items using computations. -
Error in creating dynamic select list
Hi all,
I am creating a select list at runtime by using the following code.
While submitting, I got error.
ERROR:
ORA-06550: line 13, column 1: PLS-00428: an INTO clause is expected in this SELECT statement
My Code behind is:
SELECT HTMLDB_ITEM.SELECT_LIST_FROM_QUERY_XL(1,ename,'select distinct ename r, ename t from emp') FROM emp;
Then I modified the above code as :
SELECT HTMLDB_ITEM.SELECT_LIST_FROM_QUERY_XL(1,ename,'select distinct ename r, ename t from emp') [b]into test FROM emp;
(NOTE:where datatype of test is CLOB)
I am getting following error:
ORA-01422: exact fetch returns more than requested number of rows
Can anybody tell me, what should be the datatype of test to get rid of this error OR is there some other way to overcome this problem?
Thanks,
DineshOK I got it working... Mostly... I don't know if it was a combination of changes that made the difference, but I'll put down what I did. First, I switched my select object in the form bean into just a string type from a string array (it was allowing the selection of one entry anyways). Second, rather than just blanking out the options map, I also blanked out the select object [eg form.setSelect("")].
Now when I select an entry and click delete, the resulting select list is short one visible element. However, you can still select the blank spot where that last entry used to be. However, this is not a huge issue for me now; I will investigate this at a later time. -
Hi,
I am getting this error while trying to activate a session in OSB (clustered env with 3 nodes). I have a OSB project which listens to a JMS queue. I was able to create the project fine and was able to activate the session, no issues. But when I tried to update the queue name or delete the project itself, this error gets thrown:
[ConfigFwk:390105]Unable to create WLS change list due to a short term automatic lock obtained by user null. The user has no pending changes and the lock will expire in 600 seconds. Please try again after the lock has expired.
Retrying after those seconds takes me back to the same error but the time get's reset to 600 sec.
I can change the code in that project and activate the session without any issues but if I change any configuration for proxy/business services or delete the project itself, i get this error. the only way to get around this issue is to clone the project and make changes to the cloned project. But, that is not the solution i am looking for as I don't want to keep a old version of the project and don't want to keep creating new queues everytime (since no two proxies can point to the same queue).
Oh, and this happens only with the projects which deal with JMS queues.
We are using OSB:
Oracle Service Bus Version: [Oracle Service Bus 11.1 Sun Dec 18 03:49:34 PST 2011 1447174]
Oracle Weblogic Server Version: [WebLogic Server 10.3.6.0.10 PSU Patch for BUG19637463 TUE NOV 04 15:54:42 IST 2014]
Please help.
Thanks,
Mukund.Hi,
I am getting this error while trying to activate a session in OSB (clustered env with 3 nodes). I have a OSB project which listens to a JMS queue. I was able to create the project fine and was able to activate the session, no issues. But when I tried to update the queue name or delete the project itself, this error gets thrown:
[ConfigFwk:390105]Unable to create WLS change list due to a short term automatic lock obtained by user null. The user has no pending changes and the lock will expire in 600 seconds. Please try again after the lock has expired.
Retrying after those seconds takes me back to the same error but the time get's reset to 600 sec.
I can change the code in that project and activate the session without any issues but if I change any configuration for proxy/business services or delete the project itself, i get this error. the only way to get around this issue is to clone the project and make changes to the cloned project. But, that is not the solution i am looking for as I don't want to keep a old version of the project and don't want to keep creating new queues everytime (since no two proxies can point to the same queue).
Oh, and this happens only with the projects which deal with JMS queues.
We are using OSB:
Oracle Service Bus Version: [Oracle Service Bus 11.1 Sun Dec 18 03:49:34 PST 2011 1447174]
Oracle Weblogic Server Version: [WebLogic Server 10.3.6.0.10 PSU Patch for BUG19637463 TUE NOV 04 15:54:42 IST 2014]
Please help.
Thanks,
Mukund. -
How to create dependent Select Lists?
Hi,
Found in the documentation that to create dependent select list we have to do these 3 things:
1. In the parent select list, choose the option "select list with submit".
2. Defining a branch that branches back to the current page.
3. In the child select list sql, use the value of the parent (eg. :P6_PARENT_SELECT_VALUE).
When I change the value of parent select list the page is getting submitted and its going to the parent page. I've a branch that goes to the parent page but how to create a branch that comes back to the same page and then use it in parent select list?
Thanks,
HozyHi Hozy,
1. Make the branch conditional...
2. Create a new branch while will run when you make a selection in parent select list.
Also check this site to create dependent select list without sumbitting the page....
http://www.dba-oracle.com/t_html_db_apex_ajax_application_express.htm
Regards,
Shijesh -
Hi, I'm new to APEX and following the 2Day App Express Dev Guide for version 3.1.
On pages 4-15 to 4-18 is explained how to create an LOV. I followed all the steps without any problems but the LOV doesn't show on the screen.
Any idea what i'm doing wrong or i'm overlooking?
The installation of the oehr app went without any problems.Hi Menno,
You may want to review the steps in section Editing Items to Display as Select Lists, on pages 4-17 & 4-18, to ensure that you have edited your items correctly to display as Select Lists, and also associated those items with the relevant LOV. These Select Lists are based on the LOVs that you created in the previous steps on pages 4-15 to 4-17.
For example, if you edit the P4_JOB_ID item, verify that you have associated the 'JOBS' LOV with this item. When you edit the P4_JOB_ID, go to the List of Values region, and ensure that the 'Named LOV' field is set to 'JOBS'. When the page is run, the "Job" field should now appear as a Select List, with all the job titles listed.
I hope this helps.
Regards,
Hilary -
Unable to create the Invoice list
Hi
We are recently went to go live. We have an issue related to the Invoice list. The issue is like this..........
1. User wasnot maintained the information in Payer master data(Invoice list date & invoice dates).
2. He created the sales order, delivery & Billing for around 100 billing docs for the same payer.
3. Now he is asking for the Invoice list for the 100 billing documents.
Anybody can guide how we can able to create the Invoice list.
Thanks in advance.
With Regards
Ravi Kumar.T.N.Hi Ravi,
1. Assign the billing document types to the Invoice list type in customizing.
IMG --> SD --> Billing --> Invoice Lists --> Assign Invoice List type to Each billing type
Note that there are basically 2 standard types of Invoice lists, LG and LR. Select the billing document and assign to relevant Invioce List type [LG/ LR]
2. Maintain Invoice List dates in Customer master [Payer] billing tab.
3. Maintain the pricing condition types RL00 and MW15 in the relevant pricing procedure.
4. Maintain out put condition records for LR00 and RD01 [for Printing Invoice list]
5. After creating more than one billing docs, use T-code VF21, select the billing docs and execute. This will result in creation of Invoice list.
Regards,
Rajesh -
How to create Dynamic Selection List containg file names of a directory?
Hi,
I need a Selection List with a Dynamic List of Values containing all file names of a particular directory (can change through the time).
Basically, I need an Iterator over all file names in a directory, which could be used for Selection List in a JSF form.
This iterator has nothing to do with a database, but should get the names directly from the file system (java.io.File).
Can anybody tell me how to create such an iterator/selection list?
I am working with JDeveloper 10.1.3.2, JSF and Business Services.
Thank you,
IgorCreate a class like this:
package list;
import java.io.File;
public class fileList {
public fileList() {
public String[] listFiles(){
File dir = new File("c:/temp");
String[] files = dir.list();
for (int i = 0; i < files.length; i++) {
System.out.println(files);
return files;
Right click to create a data control from it.
Then you can drag the return value of the listFiles method to a page and drop as a table for example.
Also note that the Content Repository data control in 10.1.3.2 has the file system as a possible data source. -
Creating dependent select list menus with javascript
Hi Everybody,
I m creating parent and child select list menu. Value of Child menu would be dependent on the value selected in the parent menu. I have tried to implement a code from adobe labs (http://kb2.adobe.com/cps/149/tn_14924.html) but many strange javascript errors are coming up.
My code is given below:
<?php require_once('../Connections/connection.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
return $theValue;
mysql_select_db($database_connection, $connection);
$query_sector = "SELECT * FROM sector WHERE media_code = 100 ORDER BY sector_desc ASC";
$sector = mysql_query($query_sector, $connection) or die(mysql_error());
$row_sector = mysql_fetch_assoc($sector);
$totalRows_sector = mysql_num_rows($sector);
mysql_select_db($database_connection, $connection);
$query_rsList2 = "SELECT subsector_code, subsector_desc, sector_code FROM sub_sector ORDER BY sector_code ASC";
$rsList2 = mysql_query($query_rsList2, $connection) or die(mysql_error());
$row_rsList2 = mysql_fetch_assoc($rsList2);
$totalRows_rsList2 = mysql_num_rows($rsList2);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<!-- Dynamic Dependent List box Code for *** JavaScript *** Server Model //-->
<script >
<!--
var arrDynaList = new Array();
var arrDL1 = new Array();
arrDL1[1] = "selList1";
// Name of parent list box
arrDL1[2] = "form1";
// Name of form containing parent list box
arrDL1[3] = "selList2";
// Name of child list box
arrDL1[4] = "form2";
// Name of form containing child list box
arrDL1[5] = arrDynaList;
<%
var txtDynaListRelation, txtDynaListLabel, txtDynaListValue, oDynaListRS; txtDynaListRelation = "sector_code";
// Name of recordset field relating to parent
txtDynaListLabel = "subsector_desc";
// Name of recordset field for child Item Label
txtDynaListValue = "subsector_code";
// Name of recordset field for child Value
oDynaListRS = rsList2;
// Name of child list box recordset
var varDynaList = -1;
var varMaxWidth = "1";
var varCheckGroup = oDynaListRS.Fields.Item(txtDynaListRelation).Value;
var varCheckLength = 0;
var varMaxLength = 0;
while (!oDynaListRS.EOF){
if (varCheckGroup != oDynaListRS.Fields.Item(txtDynaListRelation).Value) {
varMaxLength = Math.max(varCheckLength, varMaxLength) varCheckLength = 0; }
%>
arrDynaList[<%=(varDynaList+1)%>] = "<%=(oDynaListRS.Fields.Item(txtDynaListRelation).Value)%>";
arrDynaList[<%=(varDynaList+2)%>] = "<%=(oDynaListRS.Fields.Item(txtDynaListLabel).Value)%>";
arrDynaList[<%=(varDynaList+3)%>] = "<%=(oDynaListRS.Fields.Item(txtDynaListValue).Value)%>";
<%
if (oDynaListRS.Fields.Item(txtDynaListLabel).Value.length > varMaxWidth.length) {
varMaxWidth = oDynaListRS.Fields.Item(txtDynaListLabel).Value; }
varCheckLength = varCheckLength + 1; varDynaList = varDynaList + 3;
oDynaListRS.MoveNext(); }
varMaxLength = Math.max(varCheckLength, varMaxLength);
%>
//--></script>
<!-- End of object/array definitions, beginning of generic functions -->
<script >
<!--
function setDynaList(arrDL){
var oList1 = document.forms[arrDL[2]].elements[arrDL[1]];
var oList2 = document.forms[arrDL[4]].elements[arrDL[3]];
var arrList = arrDL[5];
clearDynaList(oList2);
if (oList1.selectedIndex == -1){
oList1.selectedIndex = 0; }
populateDynaList(oList2, oList1[oList1.selectedIndex].value, arrList);
return true; }
function clearDynaList(oList){
for (var i = oList.options.length; i >= 0; i--){
oList.options[i] = null; }
oList.selectedIndex = -1; }
function populateDynaList(oList, nIndex, aArray){
for (var i = 0; i < aArray.length; i= i + 3){
if (aArray[i] == nIndex){
oList.options[oList.options.length] = new Option(aArray[i + 1], aArray[i + 2]);
if (oList.options.length == 0){
oList.options[oList.options.length] = new Option("[none available]",0); }
oList.selectedIndex = 0; }
function MM_callJS(jsStr) { //v2.0
return eval(jsStr)
//-->
</script>
</head>
<body onload="MM_callJS('setDynaList(arrDL1)')">
<form action="#" method="get" name="form1">
<select name="selList1" onchange="MM_callJS('setDynaList(arrDL1)')">
<?php
do {
?>
<option value="<?php echo $row_sector['sector_code']?>"><?php echo $row_sector['sector_desc']?></option>
<?php
} while ($row_sector = mysql_fetch_assoc($sector));
$rows = mysql_num_rows($sector);
if($rows > 0) {
mysql_data_seek($sector, 0);
$row_sector = mysql_fetch_assoc($sector);
?>
</select>
</form>
<form action="#" method="get" name="form2">
<select name="selList2"></select>
</form>
</body>
</html>
<?php
mysql_free_result($sector);
mysql_free_result($rsList2);
?>
The javascripts errors that I m getting are :
Syntax error test.php, line 20 character 1
'arrDL1' is undefined test.php, line 74 character 3
'arrDL1' is undefined eval code, line 1 character 1
Note: I have bolded the lines where error is coming up.
If more info is needed please tell.
Please Help,
Thanks in AdvanceYou'd probably have to put a copy of the app on apex.oracle.com for a complete diagnosis, but you could maybe just check that the Source Used attribute for teh select list is set to 'Only when current value in session state is null' and not the 'Always' option.
Regards,
John. -
Dynamic lov, Select List in Report
Hi all,
I have searched the APEX forum for dynamic lov but somehow no topic could really solve my problem.
I have a report and 2 columns in this report are displayed as a select list. I want one of the select list show some values depending on the other select list in this report. If the value of the first select list is equal to some data the second select list should show a lov and otherwise nothing.
All examples i have found so far seem to explain a solution for a select list item on the page and not for a select list in a report like in my case.
Are there any advices or some links you can give?
Thanks in advance
MarkusSee http://htmldb.oracle.com/pls/otn/f?p=18326:54:1415328128204513::::P54_ID:1282
and http://forums.oracle.com/forums/thread.jspa?messageID=1222153� -
Create a select list using AJAX
Hello,
I saw Carl Backstrom and Scott Spendolini examples on how to use AJAX to populate a related item, based on a select list. What I'm looking for is the reversed angle.
I have a TextItem, and I want to generate a select list based on that TextItem, something like this:
select code, desc
from Table
where code like TextItem
Is it possible with AJAX? (in the current examples I gat lost in the on demand application process How, if possible, to render the select list using the HTP package.)
Greatly appreciate the help
Arie.Carl,
I hope you can help with this, from reading the forum, you seem to have a lot of experience with AJAX and Application Express. I have found your examples within the forums and can not get them to work on my servers. I am on version 2, and a 10g database. I am attempting to place 4 select lists on a page. Each one (with exception from the first) will be dependent on the previous. To make is simple I have started with only 2 select lists. The first select list (p1_select1) is a list of departments. The second list (p1_select2) should populate with the users who belong to the department selected from p1_select1. I can not seem to get the second select list to load. I have attempted to follow your code as best I could, I can see on the page that it has created the xml data, however it just does not populate the second select list. Here is a summary of what I have.
Thanks for lookin.
Mike
Page Regions:
HTML: main (10)
Region Header:
<script language="JavaScript1.1" type="text/javascript">
function f_Get_Data(pThis,pSelect_Source,pSelect_Target){
var l_Return = null;
var l_Select = html_GetElement(pSelect_Target);
var get = new htmldb_Get(null,html_GetElement('pFlowId').value,'APPLICATION_PROCESS=Get_Data',0);
get.add(pSelect_Source,pThis.value);
gReturn = get.get('XML');
if(gReturn && l_Select){
var l_Count = gReturn.getElementsByTagName("option").length;
l_Select.length = 0;
for(var i=0;i<l_Count;i++){
var l_Opt_Xml = gReturn.getElementsByTagName("option");
appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'), l_Opt_Xml.firstChild.nodeValue)
get = null;
function appendToSelect(pSelect, pValue, pContent) {
var l_Opt = document.createElement("option");
l_Opt.value = pValue;
if(document.all){/* why is ie different ask bill */
pSelect.options.add(l_Opt);
l_Opt.innerText = pContent;
}else{
l_Opt.appendChild(document.createTextNode(pContent));
pSelect.appendChild(l_Opt);
</script>
Items
Region: main
10: P1_TEXT1 Select List
20: P1_TEXT2 Select List
P1_TEXT1 Form Element:
onChange="javascript:f_Get_Data(this,'P1_TEXT1','P2_TEXT2')";
APPLICATION PROCESS "On Demand" Get_Data:
declare
begin
owa_util.mime_header('text/xml', FALSE );
htp.p('Cache-Control: no-cache');
htp.p('Pragma: no-cache');
owa_util.http_header_close;
htp.prn('<select>');
for rec in (select ENAME , EMPNO
from EMP where DEPTNO = :P1_text1) loop
htp.prn('<option value="' || rec.EMPNO || '">' || rec.ENAME || '</option>');
end loop;
htp.prn('</select>');
exception
when no_data_Found then
null;
end; -
Unable to create a distribution list
Hi all,
I am trying to create this distribution list for a report and I am getting this error
"The required entry variables in query ZABC_DEF_Q001 are not filled".
When I click on this error I get another message Notification number RSRD 250.
Also apart from the above mentioned error, this is the warning I am getting:
The broadcast setting is not correct and has not been saved
Notification Number RSRD 160
I opened this query from query designer and there are warnings for 2 calculated Key Figures
Avg - Receipt Val and
Avg Receipt Qty.
The warning for both of them is
Invalid value 0 for property 'Ref. characteristic' of element 'Average Receipt Value'.
But inspite of the error and warning mentioned above the query is running perfectly from Query Designer. But I don't understand why am I not able to create the distribution list for this report.
Please advise where the problem is and how do I create the distribution list for this particualr report?
Thank you.Hi Pavan,
Did you get the solution.
I am also facing the same problem,
Regards
Pramod
Maybe you are looking for
-
Single User Unable to use Mail
Running Snow Leopard Server on a Mac Mini, hosting our own email. I've got about 25 email accounts setup, and all have been functioning swimmingly for months. Earlier this week, for no reason that I can think of, one account started malfunctioning. T
-
Hi, I'm using Firefox on Windows XP professional x64 SP2. I also use a program called "Proxifier" which directs all traffic from my computer to the Internet and vice versa through a proxy server and does the name resolution through proxy DNS not syst
-
Split a String in Crystal Reports
Hi All, I need help in creating a formula to extract the date for database field and refer to screenshot below For Example :10/28/2013 Thanks for your help in advance
-
DPM 2012 R2 Roll Up 2: Agent Terminating or Checksum mismatch during backups
Hi There, I have dual DPM server deployment. Primary DPM server backs up to disk in my production site and then I have a Secondary DPM server creating replicas to Disk and Tape in my DR site. Both DPM servers are running DPM 2012 R2. I recently insta
-
What I an doing is trying to manage the files, for a small project, and I will be taking care of the documents versions. I was wondering if it is possible to to create a the whole Directory tree, where the names of the subfiles can also be displayed.