Enter several values in the comma-delimited text box
HelloI 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)
Tags: Database
Similar Questions
-
Enter several values in the text box, separated by commas and spaces
Hello
I 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?
Thank youselect * 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)
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) -
SQL to match a single value in a comma-delimited text field
I have a column that can contain zero, one or more recordIDs (from another table) stored as strings of text delimited by commas (for example, a list). I need to retrieve all the records that match a unique value within this list.
For example, if I want to match all values recordID equal 3, and I use... WHERE MyColumn IN ('3'), I get all records that have EXACTLY 3 as the value of MyColumn, but not just any what MyColumn registers whose values include 3, if these are such instances as "3.17" or similar.
Also using the LIKE operator - as WHERE MyColumn LIKE '%3% ' - make me records containing values (35) or 13...
Can I use some kind of list processing ColdFusion speaker to output only the records you want?Normalize your database so that your data becomes available.
-
Old value of the element of text box
I need to capture the old value of an element in a block because I need to insert it into a table of newspaper in my trigger for updating the post.
For example, checkout_date. The block on the FORM for the update on the checkout_date; and the trigger for update post insert the entire record when the record is updated. However, I have a need to follow the last_checkout_date.
So I created an element in the block (a placeholder if you want) which is invisible, called last_checkout_date. However, I know not how to fill out this point. I need a trigger? If so, I'll need the trigger when a user scrolls downwards or upwards.
The example data:
So when a query of the user for 123 MEMBERID, the user sees that 123 MEMBERID remove POINT ABC123 01/09/2011 and if he or she scrolls down, he or she will see the 16/09/2011. I need the last_checkout_date+ to follow checkoutdate* as long as the user scrolls vertically. And if she save the user stops to and updated, this is the date I want to capture.Name MEMBERID DESCRIPTION CHECKOUTDate ABC 123 Item ABC123 09/16/2011 DEF 456 Item DEF456 09/22/2011 ABC 123 Item ABC123 09/01/2011 ...
So using the example data, if the user scrolls to MEMBERID123 and POINT ABC123 and updates the record for 01/09/2011 to 23/09/2011; I would like to than the checkoutdate* to be inserted in the table of the newspaper as 23/09/2011 to checkoutdate* field and 01/09/2011 last_checkout_date+ field.
How do I do that?
Thank youYou can use
GET_ITEM_PROPERTY('LAST_CHECKOUT_DATE', DATABASE_VALUE);
Another, in my solution best eyes would be to do this kind of logging into a database trigger, as it will capture all of the updates from all sources, not just forms-updates.
-
Getting the value of the HTML Editor text box
Hello
I put a HTML Standart editor and I want to get the current value of this javascript code.
I tried this but it does not work:
document.getElementById('P2_X').value
Is there something else to find it?This should work:
var oEditor = FCKeditorAPI.GetInstance('P2_X') ; var pageValue = oEditor.GetHTML();
Best regards
Mathieu -
How to restrict user access to must enter a value in the mandatory fields
Greetings!
I had a personal information form. I want to restrict the user to enter values in all areas of mandatory for example fields (username, date of birth, etc.)
How to limit the search user must enter a value in the mandatory fieldsCreate dynamic actions for each of the fields, or you can create javascript.
for example create dynamic action 1 with event as tune-up losing select the item and the condition as NULL and action as alert and type the message you want to display in the text section.Thank you
Mehabub -
Values in a dialog box application answering the multi-line text box field
Hello
When the user clicks on a radio button in my form a response request dialog box is displayed for the user to enter data.
The value of the response dialog box is then added to a multiline text box.
The script is on the mouse to the top of the radio button action and works fine the first time you click on the radio button.
If the radio button is checked once again, the value of the response dialog box replaces the existing value in the multiline text box.
What I need to do, is to have the response values show on a new line in the text box whenever you click on the option button.
Can any advise please how to revise my script to work?
Target for the field multiline text box
var t = this.getField ("ActionAgenda");
Response from dialog when the user clicks on the radio button
var cResponse = app.response({)
cQuestion: "enter your Action Agenda Item."
({CTitre: 'Action program'});
Alert if you cancel
If (cResponse == null) {}
App.Alert ("Action point not will be not entered");
Place the data in the dialog box in the target domain
} else {}
t.Valeur = cResponse;
}
Any help will be greatly appreciated.
Thank you
Change this line:
t.Valeur = cResponse;To do this:
t.Valeur += "\n" + cResponse; -
How to get the description of text box with some HTML <; P >; tag
Hi friends,
I created two point, an element of box P1_RICH_TEXT_FIELD rich text field and a text item field area P1_TEXT_AREA. I created the calculation process to copy the value of P1_RICH_TEXT_FIELD in P1_TEXT_AREA. Calculation works well but contect copy in P1_TEXT_AREA are
< p >
Test Test description description < /p >
< p >
Test DescritionTest DescritionTest description < /p >
< p >
Test DescritionTest DescritionTest description Test Test DescritionTest Test Test Test Descritionhkjhkh < /p > description description description description
I need to copy with the tag < p >.
How to get the description of text box with the HTML < P > tag
Thank you
Hi Alex,
Thank you very much. You want very criticle problem for me. Thank you very much.
Now, there are several tags in the rich text field
"span, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, big, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, b, u, I, Center, dl, dt, dd, ol, ul, li, label, table, caption, tbody, tfoot, thead, tr, th, td" etc.
How can I move all these in REGEXP_REPLACE (: P1_RICH_TEXT_FIELD, ')
|
(", 1, 0, im ') code.Thank you
-
validation of maximum size on the element of text box
Hello
I couldn't find any station associated with this type of validation. I have a text box on a form. the maximum size of the associated database column is 512 bytes. I need a sort of validation that will tell the user that the maximum size is 512. currently the text box allows the user to write as muc has he wants and throws his mistake if he spends more than 512 bytes.
ORA-20505: DML error: p_rowid = 63, p_alt_rowid = MEMBER_NOTES_ID, p_rowid2 =, p_alt_rowid2 is. ORA-12899: value too large for column 'DW_PROD '. "" "" MEMBER_NOTES '. "" NOTES_TEXT' (real: 1016, maximum: 512) ORA-02063: preceding the line of DATA source
Error failed to process row in the MEMBER_NOTES table.
None of graceful.
Any thoughts?
Thank you.Hello
You can use the Type of 'text box with character counter.
Hope this helps,
John.
--------------------------------------------
Blog: http://jes.blogs.shellprompt.net
Work: http://www.apex-evangelists.com
Author of Pro Application Express: http://tinyurl.com/3gu7cd
AWARDS: Don't forget to mark correct or useful posts on the forum, not only for my answers, but for everyone! -
He won't let me spend just about anything with my cursor on my mac, none of the images or text boxes are locked!
Ok.
Try a reboot and if it does not, see replace your preferences
-
Is it possible to convert an array of values in a comma-delimited-list?
Hello
I want to transform the following dataset:
Parent | Child
----------------------
Charles | William
Charles | Harry
Anne | Peter
Anne | Zara
Andrew | Beatrice
Andrew | Eugénie
in this:
Parent | Children
-----------------------------
Charles | Diana, Camilla
Anne | Peter, Zara
Andrew | Beatrice, Eugenie
In other words, I would like to make a list of values from some of the major and produce them as a comma-delimited list.
I know that his is possible in T - SQL, even if the method is a bit of a nasty hack. Is this possible in PL - SQL?
Thaks in advance
JamieSQL> with t as( select 'Charles' parent, 'William' child from dual union select 'Charles', 'Harry' from dual union select 'Anne', 'Peter' from dual union select 'Anne', 'Zara' from dual union select 'Andrew', 'Beatrice' from dual union select 'Andrew', 'Eugenie' from dual ) -- -- select parent, rtrim(xmlagg(xmlelement(e,child || ',')).extract('//text()'),',') childs from t group by parent / PARENT CHILDS ---------- -------------------- Andrew Beatrice,Eugenie Anne Peter,Zara Charles Harry,William 3 rows selected.
Don't know how Diana & Camilla suddenly jumped in many... ;)
-
Display several values on the front using the table
For example, if I enter "10" for number of datapoints, I want to see 10 hexadecimal and binary all values in a column. At present, only 1 value appears and erasing all of the previous values
Thank you!
You do not use a shift register to store the values in the table between the fo the loop iterations For.
It is a fundamental concept of LabVIEW.
I recommend you watch the LabVIEW tutorials online
LabVIEW Introduction course - 3 hours
LabVIEW Introduction course - 6 hours -
Problem with some values in the round of text
Hello
I have a problem with the control of the "ring of text.
In my software, I need to update the values of ring of text, using a property node. But some values are not included by the ring of text, even if they are defined inside.
I agree with you an illustration of my problem and the piece of code that does not work, I hope you can help me
Thank you
Julie
Probably a result of the fact that the floating point numbers cannot represent exactly every real number. Up to 0.4 is not exactly equal to 1e6 4th-7 x.
-
Extract the value of the ring of text created by program
Hello
I have a spreadsheet I need to extract a single line. The first column of the worksheet has non-espacees values of time and feed these time values in a property node that is introduced in the Strings [] of a ringtone text indicator property node. The purpose of this is because I want the user to select only time for which the data were collected and, ideally, the zero point of time in the list corresponds to the zero line.
However, when the user selects an element of the ring of text, the control passes the chain selected and not the associated value, despite the use of the "Value" property node You have any idea why this is happening? I know I could use the table 1 d of research VI to solve this problem, but I'm more interested in why it does not work. I have attached a few example data as well as the VI in question for reference. Thank you very much for your help!
EDIT: It seems that this can explained by the fact the string, I am animals in the field [] of strings are numbers. When I did, I swapped the hours with random text strings, it works beautifully. Curious and curious...
Jeff and Nathand,
Thank you both for your responses. In fact, I was just able to solve the problem on mine in Exchange for the VI of subset of table with the Index of table VI. It works perfectly now, even with the values not assigned (even if it's an excellent suggestion, Jeff). Nathand, in which your question, select the indicator that I had attached to the control time no was not to display the value (0,1,2...) than I expected but the character string chosen itself, (-800,-750...) which confused me into thinking that something was wrong. I have attached the fixed VI for reference.
-
I designed a slide that has 3 areas of text entry.
I need the user to be able to type in their response to the first box and then press the ENTER key, it will pass them in the next text box. After typing in their response to the second box, press ENTER, and then have developed pass to the third area.
I don't want to use tab, I want to go to work as a shortcut key, so this works well on all devices. It feels like a trip to the logic of the user.
I removed the button SUBMIT and check the validate user input.
I put the shortcut key to ENTER in propriety / Actions area
However, after that type in an answer and pressing on enter, the focus is not moved in the input text box available at the following address on the same blade.
This happens regardless of browser (tested Firefox, Chrome, Safari, and IE9/10) and also OS - Windows 7, Mac OSX 10.9, 10.10 and latest version of iOS
Only the tab key works (Ive even tried with other keyboard shortcuts and it always comes back to TAB).
I know that this feature is possible in Captivate 9. I have read and watched many tutorials online, it seems a very basic feature. I could be wrong.
This is a feature of wholesale/known or I'm doing something wrong.
If a bug, is there a plan to fix it soon?
Indeed, your problem is related to the Enter key as a shortcut key, not to have multiple TEB and one absolutely validation button. Take a look at this article very old (you are not the first to ask about this):
A submit button for multiple text entry boxes? -Captivate Blog
But here I explained to indicate to the user click in a next TEB, do not use input.
Maybe you are looking for
-
How can I keep my HP1510 all-in-one to print the test pages as much?
How can I keep my HP1510 all-in-one to print the test pages as much? My printer is connected to my laptop, and it seems that whenever I disconnect, want the printer print a test page when I reboot. I don't know where the option is to disable this opt
-
I have visual studio 2010 with Crystal reports extension add on. Everything works perfectly in development (Win XP Sp3). When I create my Web site and try to access a report crystal on my web server (Windows 2003 R2 32 bit) I get the following erro
-
Cannot move the files to the trash - just keeps turning
Original title: trash I cannot move the files to my trash - just keeps turning... but does not connect. Have tried empty, but said: "to have 0 in the trash.
-
No audio device h8-1214,
reinstalled hardware drivers of Recovery Manager. Device displays IDT High Definition Audio Codec and AMD Manager high definition Audio Device. IDT has yellow triangle linked to the message: Windows cannot verify the digital signature for the drivers
-
BB 8900 blackBerry smartphones
Hi I just have the BB 8900 and I was wondering that if someone of you guys he had and gives me advice on hove, hey it's because it sounds very good