Enter several values in the text box, separated by commas and spaces
HelloI have the following syntax as my request to report to the opening of user_names in the area of text separated by commas, but the user sometimes come with a space between commas, could someone please let me know
How this can be controlled, both when the user uses the space or not use space as well as the comma recording several user names in the text box?
select
*
from DW_RFA_JOBDATA
where FINISH_TIME >= :P1_START_DATE
and FINISH_TIME < :P1_END_DATE
AND instr(',' || :P1_USER || ',', ',' || USER_NAME || ',') > 0
OR (USER_NAME = USER_NAME AND :P1_USER is null)
Thank you
Select
*
of DW_RFA_JOBDATA
where FINISH_TIME > =: P1_START_DATE
and FINISH_TIME<>
AND instr ("," |) REPLACE (translate (: P1_USER, '! @# $% ^ & * () _-+= {[]}] |------:; ~ ',' '),' ', "). ',', ',' || USER_NAME | ',') > 0
OR (USER_NAME = USER_NAME AND: P1_USER is null)
Tags: Database
Similar Questions
-
Filling of LOV based on a value in the text box.
Hi all
Will have a form page, that contains a text box and select an item list.
For example:
Name of the Department: the text box
Employee name: selection list
I need to learn all the employee name in the selection list based on the service name entered in the text box.
I can't change the name of this Department as a pick list, or select the list to submit.
Every time when I entered a value in the text box the value of the employee name department name must be autopopulated in the movement of the tab.
Can someone help me to achieve this?
Thank you
Santini.
Published by: Santini March 14, 2011 23:40Just install the employee like a LOV LOV cascading, it works even if the parent element is not a LOV itself
- Choose cascade LOV option 'yes '.
- Use the service element in the definition of the query of the LOV
- Add the name of the option in the Parent parent points and items to submit the list.
-
Enter several values in the comma-delimited text box
Hello
I have a text box element on my entry page, where to enter specific user name to get the data it is an optional field,
the requirement is now so the user want to type in several user names in the text box element.
Is it possible, and they want to enter usernames separated by commas...
How can I change my code?
Here is the code that I currently have a
select * from DW_RFA_JOBDATA where FINISH_TIME >= :P1_START_DATE and FINISH_TIME < :P1_END_DATE AND ( USER_NAME = :P1_USER OR (USER_NAME = USER_NAME AND :P1_USER is null))
Misspelling in the sql. Try this one
select * from DW_RFA_JOBDATA where FINISH_TIME >= :P1_START_DATE and FINISH_TIME < :P1_END_DATE AND instr(',' || :P1_USER || ',', ',' || USER_NAME || ',') > 0 OR (USER_NAME = USER_NAME AND :P1_USER is null)
-
Need to show some search values in the text box on the Dataset to ask
Hello
I have a requirement where I need to display the values (which are roles) from a search in the text box. The purpose is to show to the end users list of roles. They should not be able to select these roles. They simply view the list and enter role in a text field. I thought of using the text box as the component to use for the display of these roles. However, I can't use the property search for widget = "textarea" in the dataset query.
Can we achieve or y at - it no other components where I can show list of roles so that users can simply view the list.
Thank you.In research, you use a query. You can run the same query to prepopulate adapter. And certainly you can pre-populate TextArea.
-
Why the initial value of the text box disappear?
I applied javascript to the text box on this page to make the initial value disappear when the user clicks on the box, but it doesn't seem to work. Can someone please tell me why?
http://clockdoctors.co.UK/contact_me.html
You have not included the framework jQuery:
-
How to make the sum of the two values in the text boxes?
Hi people,
Am a beginner in oracle 9i with forms 6i forms.using. I want to add two values in two text boxes and the result should be displayed in the third text box.
How to write code in when the button is pressed the trigger of a push button? pls suggest me.
Concerning
VIDSI have not problem
Better you recreate the new formBlock3
1 button
2. item1
3 item2
4 point 3.every article must be in a canvas
what button to trigger
writing and code test it again.give point 1 only
give point 2 only
Now press the button
output should on the 3rd point.Check and return back.
Iqbal
-
Insert the value in the TEXT box where the cursor was
Hi all
I would like to insert in a text box. at the cursor position (or replace selected text), a text.
I am using the following script, but I can't get it to work.
(see .. http://StackOverflow.com/questions/5889127/insert-value-into-textarea-where-cursor-was )
Thanks in advance
Concerning
Saverio
=======================================
My texarea point is P200_AFORMULA
========================================
function insertAt (myField, myValue, startSel, endSel) {}
If (startSel | startSel == "0") {}
var startPos = startSel;
var endPos = endSel;
myField.val (myField.val (.substring(0, startpos)) + myValue + myField.val () .substring (endPos, myField.val () .length));
}
else {}
myField.val () += myValue;
}
}
the function call
targetBox var = $("textarea #P200_AFORMULA"), startSel, endSel;
targetBox.bind ('focusout/focusouthandler()', function() {}
insertAtCursor (this, "how do you do");
startSel = this.selectionStart;
endSel = this.selectionEnd;
});
var mytext = 'PARALLEL TEXT';
insertAt (targetBox mytext, startSel, endSel);
}
Jorge,
I discovered that the problem is due to the command targetBox.bind ('focusout/focusouthandler()', function() {... })
I tried the following solution work now and it'sTanks for your answer
Saverio cordially
=================================================================
function insertAtCursor (myField, myValue) {}
IE support
If (document.selection) {}
myField.focus ();
Salt = document.selection.createRange ();
salt. Text = myValue;
}
Support MOZILLA/NETSCAPE
Else if (myField.selectionStart | myField.selectionStart == "0") {}
startPos = myField.selectionStart var;
var myField.selectionEnd = endPos;
myField.value = myField.value.substring (0, startPos)
+ myValue
+ myField.value.substring (endPos, myField.value.length);
} else {}
myField.value += myValue;
}
}
the function call
insertAtCursor (document.getElementById ('P200_AFORMULA'), "TEXT ENTERED");
}
-
Copy the value of the text box if the 'primary' text box is not null or ""
HI -.
I have a form with text fields that should be echoed elsewhwere if and only if a primary text box is not null or "". ""
So txtPrimary, txtSecondary, txtDependant
If primary is not "" or "" then take value of txtSecondary and txtDependant set to txtSeconadary.
As this develops, it may be that txtDependant not use if primary txtSecondary "" or "" otherwise txtDependancy will get the value of txtOther.
Any direction/thoughts?
I'm not sure that I follow all this, but it seems that the script should be:
// Custom Calculate script (function () { var f1 = getField("txtAgencyFEIN"); var f2 = getField("txtAgencyBusinessAddress"); if (event.source && (event.source === f1 || event.source === f2)) { var v1 = f1.valueAsString; var v2 = f2.valueAsString; if (v1 && v1 !== " ") { event.value = v2; } else { event.value = ""; } } })();
-
Use the value in the text box to change the visibility of a button
I have two fields that I work with.
-The first is a field of text called 'Code '.
-The second is a button called 'Show '.
I'm looking for - when a user types in 8495498 in the 'Code' 'Show' visibility is set to visible.
Here's what I'm trying:
If (this.getField("Code").value == '8495498') {}
this.getField("Show").display = display.visible}
else {}
App.Alert ("incorrect")}
However, it keeps returning the alert app even if I type in 8495498. Someone help of mind?
What follows is designed to be the custom script to validate the Code text field:
Get a reference to the key
var f = getField ("Show");
If (event.value) {/ / leave the field empty}
If (event.value = "8495498") {}
f.Display = display.visible;
} else {}
f.Display = display.hidden;
App.Alert ("incorrect");
}
}
-
How add dynamically the value of the text box
Hi all
I have a form of a table with a column as a text field. My requirement is dynamically the sum of value of text field of this column and put it in a text field point.
How can I achieve this. Please give solution to this requirement.
Thanks and greetings
ShariffHello
You can do this by using a dynamic action. If you look at the source of your page, you will see that your text column items have "f04" 4 corresponding to the column name in your report.
You can then create a dynamic fire action when the text is that the column is changed using:
Event: change
Selection type: jQuery Selector
jQuery Selector: input [name = "f04"]Then create a real action to run the following javaScript code
var a=$('input[name="f04"]'); var s=0; for(var i=0,j=a.length;i
.value);}$s('P1_TOTAL', s.toString()); where P1_TOTAL is the name of your page text item. The affected element by the action is again the P1_TOTAL page item.
-
Is is possible to make several updates with the text box
How to enter an area and have it update several records in a field, I can do this with sql?
Thank you
Dougyou want to update multiple fields in the same folder? If so, you could do something like:
UPDATE emp SET comments = :P150_text extra_comments = :P150_text WHERE emp_id = :P150_emp_ID {code} this will set the comments and extra_comments fields both equal to the :P150_text apex item. you would put this into a procedure on your page. If you were updating the comments field for multiple records you would have to make a cursor for X records and loop through X records and make the comments := :P150_text good luck... Edited by: Tyson Jouglet on Sep 17, 2008 9:53 AM
-
to display several values in the column as a simple comma separated
Hello..
My the source table structure is as
test_123
person_id varchar2,
phone_no varchar2
A unique person_id can have several phone_nos
as
person_id phone_no
123 1245
123 1246
123 1247
12460 124
124 12461
Now I want the output voltage
person_id phone_no
123 1245,1246,1247
124 12460,12461
How d she?
I want it in a single query?Many many many examples here.
http://www.Oracle-base.com/articles/Misc/StringAggregationTechniques.php
-
How to refer to the gross value of a text box is entered on a new line
Hello
I have a form in livecycle with a radio and the text box buttons.
There is another section of the form that displays the value of the text box when the user clicks on the radio button.
Formcalc script works fine for the first line.
If (xfa.form.form1 [0].) AgendaMatrixFrame [0]. AgendaMatrixRow [0]. AgendaRadios [0]. ActionRadio [0] == 1) then
XFA. Form.Form1.AgendaMatrixFrame.AgendaMatrixRow.AgendaItem.RawValue
on the other
""
endif
It's another when you press on the button will add a new line to the shape. This javascript works fine.
Form1.CommonScripts.AddRow ();
I have not been successful in recovering the value of the text box if a new line is added.
I've changed the reference in the AgendaMaxtrixRow script [0] to AgendaMatrixRow [1], but there was a mistake.
Can someone please provide assistance with how to reference correctly to the new line when adding?
Thank you
Hello
The syntax is a bit light:
This...
this.rawValue = oLastRow.AgendaItem.rawValue; newLine
.. must read...
-
Update records with the text box
APEX: 4.0.2
THEME: SAND
SERVER: Oracle-Application-Server-10g/10.1.3.1.0 Oracle-HTTP-Server
I'm just letting my user paste values in a text box, click a button and then update some fields for this record.
I created an example with more comments on the page:
workspace: stevendooley34
username: dev01
password: dev01
application: examples of Forum
page: update example
Keep in mind: the apex, theme, and Server version are different where I created the example. The above version, theme and the server are the stats of my workplace.
Thank you
Steven
-changes
Or if the modification of the code below would be easier I can go that route.
Update oef_itv_ndn
Set cancelled_cd =: MMR_CANCELLED_CD.
closed_date =: MMR_CLOSED_DATE.
admin_remarks =: MMR_ADMIN_REMARKS
where abc = '12345';
I created a dynamic Action with the above code works correctly.
but instead of "abc = '12345' 'I need it to be" where abc in: SEARCH_INPUT "
: SEARCH_INPUT is the text box that users can paste values in this format:
12345
67890
98765
so, when it comes to the clause "where" I need to maintain all records that are in the text box.
Post edited by: StevenD609
The "WHERE" clause is in the wrong position.
It should be part of the "USING" clause)
(the nickname table 'data' is defined in the scope of this subquery)
In addition, it seems to me good.
If you're still having problems, you can go to the forum 'SQL and PL/SQL '.
MK
-
Formatting of the text box fields
Hello, I have a few fields of boxes of text with the following properties:
(1) PL/SQL function that returns body
2) display as text
(3) with labels, right-justified.
(4) all the text boxes contain numeric values
I would like just to justify the numeric values so that they line up on the right. How can I do this? They look like this now.
Tuition 3032
Cost of 225
849 books
Cost per term 4106
I would like that they look like this:
Tuition 3032
Cost of 225
849 books
Cost per term 4106
Thank you
SnowbunnyHi Sunny,
It is very easy. What you have to do, go to the edit page, click the label that you want to change. Click the element in the top of the title page and edit Horizontal / Vertical alignment to right. It displays the value in the text box with a tangent.Hope this will help,
Ta
Djelloul
Maybe you are looking for
-
Firefox does not accept orders and is frozen
Firefox suddenly stop accepting the cursor clicks, text or entered URL. I can't use the menu items in the menu bar of the browser window. I can't get the pages to scroll. I downloaded the application one or two times but no change. I threw my profile
-
Original title: problem e mail I click on the links in the email and get a box that says: "this file does not have a program associated with it for performing this action" and the link cannot be opened.
-
I need to know how to save my drivers on my hard drive or on a disc because I lost the disc to my computer and I want to change my hard drive on my laptop
-
I had problems with my computer speed and programs. I saved all my stuff to a flash drive and I want to format my computer any
-
Impossible to uninstall PC health Boost
I tried to uninstall PC health Boost and am unable. It of a total nuisance continues to appear. I did not agree with it and do not want. Please notify