3.1 EA3 - Column value filter dropdown returns duplicate values
Hello,
SQL Developer 3.1 EA3 introduces a regression: the column value filter in the table data editor dropdown (filter column) now shows duplicate values. Previous versions (at least 3.0) returned unique values to select from.
Since this is EA3 and not yet production, should I file a bug for this?
Best Regards and many thanks for this tool,
Olivier.
Edited by: user9378013 on Jan 9, 2012 1:08 PM
Yes it's a regression. Fixed it recently. In the next released build it should work properly.
-Raghu
Similar Messages
-
Greetings Everyone,
I am getting the follow up errors: "This field contains duplicate values. Remove all duplicate values and try the operation again."
when I tried to make the field "Claim Number" from the list in site collection library. See the screen below:
1- I selected on the "List" and I clicked on the list name
"Claim Tracking Report"
2- After I clicked on the list name then I went to the ribbon and selected list setting to choose Enforce Unique for the Field Column
"Claim Number"
3- Then I went down and selected
"Yes" to Enforced the Unique for the Field Column "Claim Number".
4- Then after I clicked "Yes" I got the error
"Sorry, something went wrong. This field contains duplicate values. Remove all duplicate values and try the operation again." But I don't have any duplicates values Items, because I had them removed before I tried
to Enforce the field column values to Unique. Can someone help or provide me a suggestions on how I can solve this issue please. Thank you
FYI: I am using a Nintex WorkflowHope this is a list, how many total items are there?
Please try to open this list as access(link in IE) and run this query in access
SELECT Claim.[Claim Number], Count(*) AS Expr1
FROM Claim
GROUP BY Claim.[Claim Number]
HAVING (((Count(*))>1));
Hope it will show something! if this does not show you dups then better to create a separate list and migrate items after configuring unique column.
Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply. -
Populating values in dropdown based on values selected in second dropdown.
Hi,
I have two listboxes on the screen. Based on value chosen in first dropdown, I want to populate the values to be selected in second dropdown. How can i achieve this? I would be glad if anyone can help me out with this requirement.
Thanks,
Ameet<font color=blue>Hi,
<li> Place 2 input fields on screen.
<li>Set Listbox property as it is shown in the below link.
<a href="http://2.bp.blogspot.com/_O5f8iAlgdNQ/SmPSPnRa0tI/AAAAAAAAFCQ/wW_URP-ld6o/s1600-h/drop_down-770536.JPG" target="_new">link to dropdown setting</a>
<li>Set function code to first dropdown box to trigger event when you select value from first dropdown box. So that second one is changed.
<li>Declare variable like below in TOP include of the module pool program.
<pre>DATA: g_drop_1 TYPE char10,
g_drop_2 TYPE char10,
ucomm TYPE sy-ucomm.
TYPE-POOLS vrm.
DATA: name TYPE vrm_id,
list TYPE vrm_values,
value LIKE LINE OF list.</pre>
<li> Use screen flow logic of the screen like below
<pre>"PROCESS BEFORE OUTPUT.
PROCESS BEFORE OUTPUT.
field g_drop_1 MODULE drop_down_1.
field g_drop_2 MODULE drop_down_2.
"PROCESS AFTER INPUT.
PROCESS AFTER INPUT.
field g_drop_1.
field g_drop_2.</pre>
<li>Corresponding code for two drop down boxes.
<pre>&----
*& Module DROP_DOWN_1 OUTPUT
MODULE drop_down_1 OUTPUT.
CLEAR: list[],g_drop_2.
name = 'G_DROP_1'.
value-key = '1'.
value-text = 'value_1'.
APPEND value TO list.
CLEAR value.
value-key = '2'.
value-text = 'value_2'.
APPEND value TO list.
CLEAR value.
value-key = '3'.
value-text = 'value_3'.
APPEND value TO list.
CLEAR value.
value-key = '4'.
value-text = 'value_4'.
APPEND value TO list.
CLEAR value.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = name
values = list.
ENDMODULE. " DROP_DOWN_1 OUTPUT
*& Module DROP_DOWN_2 OUTPUT
MODULE drop_down_2 OUTPUT.
CLEAR list[].
name = 'G_DROP_2'.
CASE g_drop_1.
WHEN 1 OR 2.
value-key = '1'.
value-text = 'text1'.
APPEND value TO list.
CLEAR value.
value-key = '2'.
value-text = 'text2'.
APPEND value TO list.
CLEAR value.
WHEN 3 OR 4.
value-key = '3'.
value-text = 'text3'.
APPEND value TO list.
CLEAR value.
value-key = '4'.
value-text = 'text4'.
APPEND value TO list.
CLEAR value.
ENDCASE.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = name
values = list.
ENDMODULE. " DROP_DOWN_2 OUTPUT</pre>
Thanks
Venkat.O</font> -
Hi all,
I have created a form with one data block MATURED_FD_DTL which looks like below:
ACCT_FD_NO
CUST_CODE
FD_AMT
FD_INT_BAL
TDS
CHQ_NO
ADD_FD_AMT
P_SAP_CODE
P_TYPE
CREATE TABLE MATURED_FD_DTL
ACCT_FD_NO VARCHAR2(17 BYTE) NOT NULL,
CUST_CODE NUMBER(9),
FD_AMT NUMBER(15),
FD_INT_BAL NUMBER(15),
TDS NUMBER(15),
CHQ_NO NUMBER(10),
ADD_FD_AMT NUMBER(15),
P_SAP_CODE NUMBER(10),
P_TYPE VARCHAR2(1 BYTE)
For MATURED_FD_DT.ACCT_FD_NO, Trigger: KEY_NEXT_ITEM, I have written the following code:
DECLARE
V1 NUMBER;
V2 NUMBER;
BEGIN
V1:=:MATURED_FD_DTL.ACCT_FD_NO;
MESSAGE('V1:'||V1);
MESSAGE(' ');
END;
GO_ITEM('MATURED_FD_DTL.CUST_CODE');
This is just a dummy code.
When ever i enter the value in the field of ACCT_FD_NO, it pops up a message saying "V1:Value of ACCT_FD_NO",
So i want to store that value .
Compare them & if it is egual, it should pop up a message saying duplicate value is entered and must not allow to enter, at form_level.
So how can I compare the ACCT_FD_NO value between FIRST_RECORD and NEXT_RECORD ??
Help Me .
Thank You.
Oracle Forms 6i.
Oracle 9i.Thank You HamidHelal.
Actually before posting the code, I went through the first link you have mentioned. I tried also, it is quite tedious procedure, however i dint get the proper result, may be i have done some mistake. Anyways , can you tell me how do i check in database table, if a value exists OR IF VALUE FOUND & then message and raise form trigger failure; something like below.
IF :MATURED_FD_DTL.ACCT_FD_NO EXISTS
THEN MESSAGE('YOU HAVE ENTERED AN EXISTING OR DUPLICATE VALUE');
MESSAGE(' ');
RAISE FORM_TRIGGER_FAILURE;
END;
OR
IF :MATURED_FD_DTL.ACCT_FD_NO FOUND
THEN MESSAGE('YOU HAVE ENTERED AN EXISTING OR DUPLICATE VALUE');
MESSAGE(' ');
RAISE FORM_TRIGGER_FAILURE;
END;
Is there any equivalent in the form in oracle forms 6i?? Please let me know how do i do this?? -
Displaying a column in report which returns null value
Hi
I have a simple report with two column. The query is as below.
SELECT decode(caste,1,'SC/ST',2,'General','3','PWD') fcastepi, nvl(count(*),0) fcapi
FROM applicationformdtl
WHERE year = :p_year
AND selected = 1
AND PROGCD = 'PRM'
GROUP BY caste
This query returns values for SC/ST and General as there is no matching data for the PWD. But I want to display PWD with value 0 in the report. How to do this? Can anyone help me in this matter at the earliest?
Regards
Trushahello,
u r calculating the cast in ur detail table applicationformatdtl.
and also u have the table of caste in which caste description is given
so ur query like this
select nvl(decode(a.caste,1,'sc/st',2,'general'),'pwd')cast,
nvl(a.caste,40),decode(count(*),1,0,count(*),count(*)) total
from applicationformdtl a,caste c where c.caste = a.caste(+) group by a.caste
which gives the output
caste total
sc/st 3
general 5
pwd 0
bye
Chandan -
2 columns working together to return one value
I'm creating an expense reimbursement form. I have 2 columns that need to "work together." There are approx. 10 rows. The first column is a drop down list of account numbers (12 #s). The second column is a dollar amount (user entered). I need 12 "fields" (one for each acct. #) that will look at all the fields in column 1 and add up the dollar amounts in column 2 if the column 1 data matches.
Example:
Column 1 Column 2
Acct. 12345 $10.00
Acct. 67890 $5.00
Acct. 12345 $20.00
Acct. 12345 Total: $30.00
Acct. 67890 Total: $5.00
Thanks for the help!import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class TwoOfAKind extends JFrame implements AdjustmentListener {
JScrollBar scrollBar1, scrollBar2;
public TwoOfAKind() {
JPanel panel1 = new JPanel();
panel1.setPreferredSize(new Dimension(150,600));
JPanel panel2 = new JPanel();
panel2.setPreferredSize(new Dimension(150,600));
JScrollPane scroll1 = new JScrollPane(panel1);
scrollBar1 = scroll1.getVerticalScrollBar();
scrollBar1.addAdjustmentListener(this);
JScrollPane scroll2 = new JScrollPane(panel2);
scrollBar2 = scroll2.getVerticalScrollBar();
scrollBar2.addAdjustmentListener(this);
getContentPane().setLayout(new GridLayout(1,2));
getContentPane().add(scroll1);
getContentPane().add(scroll2);
setDefaultCloseOperation(EXIT_ON_CLOSE);
setSize(400,300);
setLocation(400,300);
setVisible(true);
public void adjustmentValueChanged(AdjustmentEvent e) {
JScrollBar scrollBar = (JScrollBar)e.getAdjustable();
int value = scrollBar.getValue();
if(scrollBar == scrollBar1)
scrollBar2.setValue(value);
if(scrollBar == scrollBar2)
scrollBar1.setValue(value);
public static void main(String[] args) {
new TwoOfAKind();
} -
*Hello Guys.*
*I hv inserted search help in an field of screen exit in T-code IW21. Its showing value properly when i press f4 but when selecting value its nt returning any value properly....*
*I am pasting code ..please help me out*
*. Process of value Request*
*field <fieldname> module F4_AGENCY*
*MODULE F4_AGENCY INPUT.*
*DATA: IT_AGENCY TYPE TABLE OF ZF4_AGENCY WITH HEADER LINE,*
*it_FIELD_TAB type table of DFIES WITH HEADER LINE,*
*IT_DDSHRETVAL TYPE TABLE OF DDSHRETVAL WITH HEADER LINE.*
*REFRESH : IT_AGENCY[].*
*clear : VIQMEL-ZZAGENCY.*
**SELECT * FROM ZF4_AGENCY INTO TABLE IT_AGENCY.**
*CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'*
*EXPORTING*
DDIC_STRUCTURE = 'ZF4_AGENCY'**
*RETFIELD = 'ZZAGENCY'*
PVALKEY = ' '**
*DYNPPROG = sy-cprog "'SAPLXQQM'*
*DYNPNR = sy-dynnr "'0101'*
*DYNPROFIELD = 'VIQMEL-ZZAGENCY'*
STEPL = sy-stepl**
*VALUE_ORG = 'S'*
*TABLES*
*VALUE_TAB = IT_AGENCY[]*
*FIELD_TAB = it_FIELD_TAB[]*
*RETURN_TAB = IT_DDSHRETVAL[]*
DYNPFLD_MAPPING =**
EXCEPTIONS**
PARAMETER_ERROR = 1**
NO_VALUES_FOUND = 2**
OTHERS = 3**
*IF SY-SUBRC <> 0.*
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO**
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.**
*ENDIF.*
*wating for any reply*Did you take a look at the help for FM? pass the hardcoded value for DYNPPROG and DYNNR (and see if that works)
DYNPPROG and DYNNR cannot be passed as SY-REPID and SY-DYNNR because they are only analyzed after the function module has been called. Instead, first copy the SY fields to local variables and then pass them to the function module. -
Function that returns N values, without using a string
Hi, how can i make a function that returns several valures (that hasn't a exact number of returned values, it could return 3 values, or 7) without using a string?
When i need to return several values from a function, i put the values inside a varchar like thus 'XXX,YYY,ZZZ' and so on. Don't know if this has a poor performance.
If you can supply simple examples for what im asking, i would be nice.
(without using a string)Can i create the type objects inside a package? If i
can, they will be local to the package, right?Yes, you're right.
Pipeline returns a row or several?You can use pipelined function in the same way you use table:
SELECT * FROM TABLE(pipelined_funct(agr1, agr2));
It returns results as separate rows. -
Select List to check duplicate values before putting into another item
Hi All ,
I have a select list which contains .. country regions like ( APAC , EMEA etc ) .
When I select any region , all the countries belonging to the region fills in another item .
Suppose I select APAC , all the countries like India , Japan etc all fills in another item .
But the problem is , if I select twice APAC , it fills duplicate values . Its filling duplicate values .
I want to put validation or check for country value ...
Suppose I select ' APAC ' it fills all APAC countries in another item . Now Again If I select APAC then it first check the item whether the country is there or not . If already APAC countries are there in the Item then it will show an error message that " Value already Exist ' .
I am not able to fix this problem . it is creating duplicate values in database table .
Please some one help me on this ..
Thanks
PrashantPatrick ,
Sorry , I am correcting my words ..
I am using Multiselect List ( P11_REGION) having regions APAC , EMEA , LAD etc .
When I select Region like APAC , it fills all the countries of APAC and puts into a List .
If again I select APAC , it again fills all the APAC countries and puts into a list which causes duplicacy .
I have one Application Process which returns Country according to Region selection and puts in the list .
So , what i want is when user twice selects region APAC , it searches the list whether APAC countries are there or not . If countries are already exists then it show an error otherwise Puts the countries in the list . -
Customize Alert messages for checking duplicate value and Success alert
Hi All,
I want to show two alert against the same "Submit" button to--
1. Alert messages for checking duplicate value and show the Duplicate value found alert and
2. Success Alert if the form is success to commit and no duplicate value found.
I did all thing but when alert-1 shows and i pressed the ok button of the alert then the second alert also shows which i don't want to show.
Which i can do in this issue? Have there anyone to help me!
ArifHi Manu,
I have placed the following code
1. against the Submit button--
if error_code=40508 then
commit_form;
elsif :USERDELETION.CANCELLATION_USERID is not null then
do_key('COMMIT_FORM');
else null;
end if;
2. Code against the key-commit trigger in the form level--
commit_form;
DECLARE
vAlert NUMBER;
BEGIN
set_alert_property('ALERT_TO_VERIFY',ALERT_MESSAGE_TEXT, 'Your Form has successfully submitted and your Reference id is '||:USERDELETION.REF_NO);
vAlert:=SHOW_ALERT('ALERT_TO_VERIFY');
END;
3. Code against the on-error trigger in the form level--
DECLARE
vAlert NUMBER;
BEGIN
if ERROR_CODE = 40508 then
set_alert_property('ERROR_ALERT',ALERT_MESSAGE_TEXT, 'This user deletion request has already submitted of the user named '||'"'||:USERDELETION.FULLNAME||'"');
vAlert:=SHOW_ALERT('ERROR_ALERT');
elsif
ERROR_CODE = 40202 then
set_alert_property('ERROR_ALERT',ALERT_MESSAGE_TEXT, 'Existing userid must be filled-up !');
vAlert:=SHOW_ALERT('ERROR_ALERT');
else
message(error_type||to_char(error_text)||': '||error_text);
end if;
END;
If there have any confusion, please ask me.
Arif -
How to search two columns and return a value in the same row to a cell?
Identification
Diameter
Soak
3" Tank (inches/kft)
AWG
mils
Code
Strands
Shield
Conductor
Insulation
Semi-Con
Days
SD
Injection
Soak
Total
2
175
00
7
External
0.288
0.692
0.752
60
0.4
3.6
20.0
23.6
2
220
00
7
External
0.284
0.764
0.864
75
0.4
3.6
20.0
23.6
2
260
00
7
External
0.284
0.844
0.944
90
0.4
3.6
21.8
25.4
2
320
00
7
External
0.288
0.964
1.064
110
0.4
3.6
24.3
27.0
2
345
00
7
External
0.288
1.014
1.114
115
0.4
3.6
25.6
29.2
Length
3"
4"
AWG
mils
Soak
SD
Injection (3")
Injection (4")
650
2
320
I want to input two values, AWG and mils and return the value in the Days column.
In the instance of what I am showing .... AWG=2 AND mils=320 so Soak=110 ....
I want to search the columns (AWG) AND (mils) to return a value in the column (Days) for that row into cell H10 (Soak) ...
So far I have toyed with LOOKUP, INDEX and MATCH ....SCW,
I'm sure there is a clever way to cascade functions to avoid adding an auxiliary column in your practice table, but to me it wouldn't be worth the aggravation. I would add a column that concatenates Columns A & B, AWG & mils. This column can be anywhere and would be Hidden. Let's say your new column is Column N.
In Column N, fill the body rows with:
=A&"-"&B
As good Numbers programming form would indicate, let's name the Practice Table Practices and only put the practices in that table. In another table where you do the lookup, let's call it Program, we will have the calculation/lookup.
Based on your example, I'd guess that AWG may be in Column D and mils in Column E of your Program table, and the Soak lookup in Column F. If I'm wrong, adjust the column id.
In Column F, write:
=OFFSET(Practices::I$1,MATCH(D&"-"&E, Practices::N,0)−1, 0)
The hyphen in the concatenated representation of the combination of AWG and mils is just tp make it more readable.
As I'm sure you know, you could use other approaches, but since I had you put your aux column at the end of your Practices table, OFFSET with MATCH is a clean approach. INDEX could be used too.
Here's an illustration:
Regards,
Jerry -
How do I return a value from a column based on info from neighboring columns?
I have a table of data that looks similar to this:
Weight
Name
School
Division
106
Name1
School1
1
106
Name2
School2
2
106
Name3
School3
3
106
Name4
School4
4
113
Name5
School5
1
113
Name6
School6
2
113
Name7
School1
3
113
Name8
School3
4
It's a very large table, so there will be multiple matches for Schools, and occasionally a few matches for Names, but there will always be only one match for a given Weight and Division.
In a separate table, how can I get the name of the person associated with the unique weight and division?
In my head, the formula goes" "Look in the Weight column to find 106, then look in the Division column to find 4, then return the value from the Name column." But I can't figure out the formula that will do that.
Any thoughts?Hi momogabi,
This can be easily done with an index column.
The formula I used in your original table for the index column is:
=A2&"-"&D2. This was filled down. The column can be hidden.
You can see the formula in the search table. If I wanted to eliminate the index column in that table the formula would look something like:
=INDEX('Table 1-1'::B,MATCH(A2&"-"&B2,'Table 1-1'::E,0),1)
Hope this helps.
quinn -
Column with dropdown with different values in each cell
Hello,
I have a Table and one of the columns contains a dropdown list (dropdownbykey). My problem is that the list of values for each drop down element is different because it depends on the value in the rest of the row cells. Obviously I need to calculate the values dynamically at runtime.
I have created a context node and linked it to the table columns, one of the attributes in the node is linked to the 'selectedKey' property of the dropdown. Then in my code I try to give the list of values to this attribute using the method set_attribute_value_set from the if_wd_context_node_info interface. The process it's explained in the DEMO_UIEL_STD_SELECTION component.
But I only get the same values for each row.
I would like to know if it's possible to have dropdowns with different values in the same column of a Table, and if so any indication of how to do that.
Best regards,Hello Javier,
unfortunately you cannot use dropdown by key if you want to have different dropdowns per line of your table.
Instead you will need to use dropdown by index, and bind your dropdown to a subnode of the table element (ensure that this is a non-singleton node).
To make life easier for yourself, I would also have an attribute in your main structure that holds the selected value of the dropdown by index - update this value on any "onSelect" action of the dropdown by index.
e.g. for a table that holds addresses:
Context Node Address:
attribute street
attribute city
attribute country
attribute region
subnode regionlist
...attribute regionkey
...attribute region_text
table - bound to node address
input field bound to street
input field bound to city
dropdown by key bound to country (onSelect event populates subnode regionlist)
dropdown by index bound to subnode regionlist, text bound to region text, (onSelect event populates address element attribute region with key field of selected element).
I hope this helps,
Chris -
How to set value for Dropdown control using Querystring filter wepart
Hi,
I have a dropdown in my customized list form and need to set the value for the dropdown control using query string filter web part.
I am able to set value for textbox control using Query String Filer web part.
But, since the dropdown values are not populated on form load, the value is not set for dropdown control.
How to load the values in dropdown control on form load and set a value using Query String filter webpart?
Thanks,
dhijitHi,
According to your post, my understanding is that you want to filter choice field using Query String Filter web part.
To filter using query string filter web part, we can set the default value for the choice field in the query string filter web part panel as below, then connect to the list.
Now it would be filter by the value you have set.
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
Zero phase filter returns unexpected values
Hi,
I want to filter the signal using the zero phase filter.
This is my code using the filter:
The filter returns some values like this:
In this diagram, the green curve is the signal, which has been filtered using the zero phase filter.
Is there a better example or special advices for these unexpected values? What I want is the signal without phase-dirft.
WilburHi,
it was a good idea to post that snippet - but it would be best if we had your data too.
Could save your inputs as default data and post the vi (don't know if snippets retain default values)?
Regards
Florian
Maybe you are looking for
-
OSX 10.8.2 -- Crash and Freeze my Computer
Since I have installed the new release 10.8.2 My computer (MacBook Pro Retina mid 2012) can't stop hanged (Freeze). I have Parallel Desktop (window 7 & 8) which so far (with 10.8.1) did work very well. Now, with the new release 10.8.2, Parallel Desk
-
HT1014 i movie 08, 7.1.4 not recognising clips to import from camcorder
Hi , I have a panasonic HDC - SD40.I have imovies '08 version 7.1.4 The first 2 clips I recorded on it last year are the only 2 clips that i movies will recognise each time I connect it to my PC .So I have a year of recordings that i cannot get ont
-
How to drop several classes in a single command
Is there any way to drop classes using wildcards? It is very anoying having to drop class by class instead of being able to specify something like com.whatever.*
-
anyone think they can help me out >
-
Adobe Photoshop and HP All in One 8180
Since I set up my new 8180 - the prints from Adobe photoshop are grainy and not good at all - but if I print from HP Photo - the prints are very nice - not grainy - What do I need to adjust in order to get the higher quality print from Adobe on my 81