Database input text item search?

example:-
if the end user enters letter in text item(PATIENTNAME) . will display records below it the list of names (eg.list item) filtered with the key typed until no same records found.
this will help to avoid duplicates names when registering new MR.
forms 10.1.2.0.2..

Charles,
Please, try to avoir titles in capital letters, and don't be so avare of kind words, like "Hello", or "Please", Or "Thank you".
Readers will not have the impression that you are just coming here in a supermarket ;-)
Francois

Similar Messages

  • Create Input Text Item Dynamically

    Hi
    I'm trying to create an input Text Dynamically and add that to the Table
    but i'm having problem with createWebBean method it's can't invoke it.
    please help thanks
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageLovInputBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean;
    import oracle.apps.fnd.framework.webui.beans.table.OATableBean;
    import oracle.apps.pa.ci.webui.PaSupplierImplementCO;
    import oracle.apps.pa.util.webui.Debug;
    public class xxpaPaSupplierImplementCO extends PaSupplierImplementCO {
        public void processRequest(OAPageContext paramOAPageContext,OAWebBean paramOAWebBean) {
            super.processRequest(paramOAPageContext, paramOAWebBean);
            xxpaProcessRequest(paramOAPageContext, paramOAWebBean);
        public void xxpaProcessRequest(OAPageContext paramOAPageContext,OAWebBean paramOAWebBean) {
            super.processRequest(paramOAPageContext, paramOAWebBean);
            print_log("Start processRequest",paramOAPageContext);
            OATableBean localOATableBean = (OATableBean)paramOAWebBean.findIndexedChildRecursive("SupplierTable");
            if (localOATableBean != null){
               OAMessageTextInputBean xxPaPOQuantityBy = (OAMessageTextInputBean)createWebBean(paramOAWebBean,OAWebBeanConstants.MESSAGE_TEXT_INPUT_BEAN,null,"xxPaPOQuantityBy");
               OAMessageTextInputBean xxPaPOQuantityBy1 = (OAMessageTextInputBean)createWebBean(paramOAWebBean,MESSAGE_TEXT_INPUT_BEAN,null,"xxPaPOQuantityBy");
               xxPaPOQuantityBy.setPrompt("Change Quantity By");
               xxPaPOQuantityBy.setMaximumLength(10);
               localOATableBean.addIndexedChild(xxPaPOQuantityBy);
               print_log("PO QTY ADDED ot Supplier Table",paramOAPageContext);
            print_log("End processRequest",paramOAPageContext);
    }

    Hi,
    Try with:
    OAMessageStyledTextBean oamessagestyledtextbean = (OAMessageStyledTextBean)createWebBean(oapagecontext, "MESSAGE_TEXT", null);
    Regards
    Meher Irk

  • Problems using and configuring Oracle 10gR2 database full-text search

    I am having problems trying to set up full-text indexing and search with Universal Content Management (UCM). I followed the Oracle Content Server Installation Guide for windows at [http://download-west.oracle.com/docs/cd/E10316_01/cs/cs_doc_10/documentation/integrator/install_cserver_win_10en.pdf].
    What I did was:
    1. Modify E:\oracle\ucm\server\config\config.cfg by adding SearchIndexerEngineName=DATABASE.FULLTEXT to the end of the file.
    2. Restart the content server.
    3. Rebuild the search indexing using Repository Manager.
    However, I keep seeing the following error when I query by entering words in the "Full-Text Search" box.
    Unable to retrieve search results. Unable to retrieve search results. Unable to create result set for query 'SELECT IdcColl1.dID, dDocName, dDocTitle, dDocType, dRevisionID, dSecurityGroup, dDocAuthor, dDocAccount, dRevLabel, dFormat, dOriginalName, dExtension, dWebExtension, dInDate, dOutDate, dCreateDate, dPublishType, dRendition1, dRendition2, VaultFileSize, WebFileSize, URL, dFullTextFormat, dFullTextCharset, DocMeta.*
    FROM IdcColl1, DocMeta
    WHERE IdcColl1.dID=DocMeta.dID AND (((CONTAINS(dDocFullText,'test') > 0 ))) ORDER BY dInDate Desc'. ORA-20000: Oracle Text error:
    DRG-10599: column is not indexed
    Some web searches suggested the following (all of which I have tried but not resolved this problem).
    1. Publish the schema using Configuration Manager (applet) and then rebuild index
    2. Set the dDocFullText as a "zone field". This is not possible, because dDocFullText does not show up under the list of fields under "Database" or "DatabaseFullText" for the Search Engine drop down (when using Zone Fields Configuration).
    3. Reboot the server (did not work either).
    I logged onto the Oracle database and checked the IdcColl1 table. There is indeed, no index for the field, dDocFullText. There is only 1 index for the field, did. The field, dDocFullText, is a BLOB. The question is, if I am supposed to create an index manually for this field, how would I do it? A web search has not been fruitful in answering this question.
    Here are my server settings.
    For UCM:
    Operating System: Windows 2003 Enterprise
    UCM : 10gR3
    Memory: 1 GB
    Web Server: Apache 2.2.11
    For Oracle:
    Operating System: Windows 2003 Enterprise
    Oracle: 10gR2
    Memory: 1 GB
    Thanks.

    I found out what the problem was. The problem was that I had to create the role, stellent_role, as described in the installation manual. After I created this role and assigned the database user to this role, a restart of the Content Server services and collection rebuild of the index fixed the problem.
    However, I did notice one thing. I checked in 3 PDF files, and when I used Repository Manager to do a collection rebuild, I noticed that for Indexer Counters, the count for Full Text was 0 and the count for Meta Only was 3.
    Anyone have any ideas? Is there something else that I missed? From reading the installation manual, it was not clear how database full-text indexing/searching would handle PDF files.

  • Why do I get html tags with my Flash forms CGI-mailed input text?

    I'm using a Flash form to send input text to a cgi page
    (using load variable). The following text is on the CGI page.
    To: [email protected]
    From: [email]
    Errors-To: [email protected]
    Subject: [subject]
    Type of Project: [subject]
    Deadline: [details]
    Name: [realname]
    e-mail: [email]
    Phone: [phone]
    e-mails me results like this...
    Type of Project: <TEXTFORMAT LEADING="2"><P
    ALIGN="LEFT"><FONT
    FACE="_sans" SIZE="12" COLOR="#000000"
    LETTERSPACING="0" KERNING="0">by
    george</FONT></P></TEXTFORMAT>
    Deadline: <TEXTFORMAT LEADING="2"><P
    ALIGN="LEFT"><FONT
    FACE="_sans" SIZE="12" COLOR="#000000"
    LETTERSPACING="0"
    KERNING="0"></FONT></P></TEXTFORMAT><TEXTFORMAT
    LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans"
    SIZE="12" COLOR="#000000" LETTERSPACING="0"
    KERNING="0">it!!!</FONT></P></TEXTFORMAT>
    Name:
    e-mail: <TEXTFORMAT LEADING="2"><P
    ALIGN="LEFT"><FONT
    FACE="_sans" SIZE="12" COLOR="#000000"
    LETTERSPACING="0"
    KERNING="0">[email protected]</FONT></P></TEXTFORMAT>
    Phone: <TEXTFORMAT LEADING="2"><P
    ALIGN="LEFT"><FONT
    FACE="_sans" SIZE="12" COLOR="#000000"
    LETTERSPACING="0" KERNING="0">I&apos;ve
    got</FONT></P></TEXTFORMAT>
    anyone know how I can get it to drop all the extraneous html
    crap? - I just want the input text items.
    Also I can't figure out how to do a flash pulldown list as a
    form element... all tutorials I find on the sbject are for Flash 5
    and say to use Smartclips from the common librarirs tab - but there
    are no "smartclips" in my Flash CS3. I see other things in
    components (menu, list) - but cannot figure out how to add my items
    to the list.

    is there some way I could use an "expression" to subtract the
    unwanted text strings from the info being passed by the variables?
    If so, does anyone have an example of the context I would used to
    subtract 2 strings from that info...
    this string of html tags appears before the passed input text
    TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT
    FACE="_sans" SIZE="12" COLOR="#000000"
    LETTERSPACING="0" KERNING="0">
    and this appears affter it...
    </FONT></P></TEXTFORMAT>
    it's always the same.

  • Text  item width

    Hi All, can anyone tell what controls the width that input text items are rendered in an html region?
    I have defined the width as 15 in the elements properties section in the item definition, the item is rendered a different width on different pc's.
    I also noticed that the font that is used for input text is bigger on the pc's that render the item bigger. Are these 2 things related?
    Can anyone tell me where the font used (and size) is set?
    Thanks in advance
    Fintan

    Fintan Stack wrote:
    Hi All, can anyone tell what controls the width that input text items are rendered in an html region?
    I have defined the width as 15 in the elements properties section in the item definition, the item is rendered a different width on different pc's.
    I also noticed that the font that is used for input text is bigger on the pc's that render the item bigger. Are these 2 things related?Yes. This is caused by different local font settings at browser level. The size of the form control is relative to the element width at the locally-defined browser font size.
    Can anyone tell me where the font used (and size) is set?The presentational aspects of APEX applications are controlled using a combination of HTML and CSS via themes and templates. Base font sizes will typically be set in theme CSS by specifying the CSS <tt>font-size</tt> property for the page <tt>body</tt> element (or more problematically using the universal selector).
    If you want the form controls rendered at the same size irrespective of local font settings, specify an absolute width using CSS in the HTML Form Element Attributes:
    style="width: 200px;"However, for accessibility and usability reasons I wouldn't recommend this: users should have the ability to control the font size locally so they can read it comfortably, and controls should be rendered relative to this.

  • Hiding first record from database in input text fields.

    Hi,
    I have 2 pages, a main page and a popup page. The main page has attributes from a VO in the form of input texts (I just dragged individual attributes) and a link that brings up the popup page. On the popup page I have an ADF Search Form and a Read-Only Table with selection. A user is able to search for records in the database then select the result and submit that row back to the main page which populates the input texts. When you first load the main page, the input texts that are linked to the VO iterator are already populated with the first row in the database. Is there a way to hide these values (but not the entire text fields) until after the user has searched from the popup?
    Thanks in advance.

    Hi,
    thanks much for the replies. Luc, I tried adding that Refreshcondition to the iterator in the pagedef and the result was when I ran the page, the textboxes and record would be gone but the label remained (close but I still need the empty box to show). Also, after running a search in the dialog box and submitting the result back to the main page, the values would still not show up, it just looked the same as when I first run the page.
    Did I put the RefreshCondition in the wrong place, or is it something else?
    Thanks again.

  • How can I find text-item description and content in database?

    I make "Actual news" region with text and simple image items.
    With "Custom Search" autoquery I make news portlet with 10 latest news.
    But I will make with PDK-Java discussion portlet, in which users can read and write about last published (last created text item display name and content) news.
    My questions:
    - How can I find text-item description and content in database?
    - How I can sort text-items to find latest created in my region?
    I have Portal R2
    Thanks in advance.
    Cheslav

    I am sorry. The following are the related tables.
    WWV_TEXT
    WWV_TEXT_BLOCKS
    WWV_TEXT_BLOCK_USAGES
    WWV_USER_TEXT_BLOCKS
    WWV_USER_TEXT_BLOCKS$
    WWV_USER_TEXT_BLOCK_USAGES
    WWV_USER_TEXT_BLOCK_USAGES$
    May be you want to browse WWV_TEXT which is the core table.

  • How do I create a product or item database so I can search fr the product and its files with hte pro

    How do I create a product or item database so I can search for the product and its files with the products name or four digit code

    Ok so I made some progress on this. I have figured out, that I can add a chained "add to cart" to certain items, then when they click the button for Buy now, it will add both items to the cart. However, this would require me to manually build each product page and generate a custom button for each one with both product IDs in it.
    Can anyone offer help on how to put some JS in that would append a second function to the onclick function that BC Generates dynamically?
    For the products that require a set up fee, I would assume I would add in to either the product templates or in to the item description some JS that would find the onclick of the buynow button and append a second function to also add to cart the setup fee product. The end result being code that looks like this:
    <input type="submit" class="productSubmitInput" onclick="AddToCart(188536,6314368,'',4,'','',true);AddToCart(188536,6314367,'',4,'','',tr ue);return false;" value="Buy Now" name="AddToCart_Submit" />
    Except of course, the product ID on the first AddToCart would be the main product with the second one being the one appended.
    Does any of that make sense? lol

  • Multiple values from database on a single text item

    i am trying to do the following
    on a single text item in a form
    (under form property pallete->records->number of items displayed is 5) run a triger "when-new-block-instance" with the following pl/sql statement
    declare
    menu_item VARCHAR2(35);
    begin
    select label into menu_item
    from menu_options;
    end;
    however, once i run the form it gives me
    WHEN-NEW-BLOCK-INSTANCE trigger raised unhandeled exception ORA-01422
    however, if in the pl/sql statement contains only
    begin
    execute querry;
    end;
    then it works fine
    The problem i beleive is the fact that the first querry retreives multiple values or recordset instead of A record.
    How can i go arond this and allow the form to list all the values in this form. Eventually i will need to add conditional SQL statments and that is why just execute querry will not work.
    Also, is there a way to dynamically assign a number to "number of records shown" property?
    All help is very much appreciated!
    null

    Hi, Marko
    I teach Forms, and I usually find a bad idea to use SQL statements directly (in particular when you can "make" Forms to do what you want).
    Inside PL/SQL, a SELECT..INTO statement is supposed to select a single row, otherwise an error occurs.
    EXECUTE_QUERY works.
    If by "conditional SQL statements" you mean restricted (filtered) queries, you don't need to write SQL to do this.
    You can set the DEFAULT_WHERE block property to a different value before using EXECUTE_QUERY, like:
    SET_BLOCK_PROPERTY('your_block', DEFAULT_WHERE, 'where menu_id > 100');
    And the answer to your second question is no, you cannot dynamically change the number of records a block is displaying.
    You can limit the number of records your block queries from the database table using Maximum Records Fetched block property (available in Forms 6 and above, not sure about Forms 5). However, this will only work as expected if you set Query All Records to Yes.
    Hope this helps,
    Pedro

  • How can i show input text when no row present in database.

    Hi All,
    I am using Jdeveloper 11g Release1(11.1.1.4.0)
    I have created EO and VO which is based on that EO.
    By using Vo i have designed .jspx page ,on that page i have taken adf form which is based on that VO.
    My problem is when database table is blank (i.e zero row) then input text on page not displayed.
    I want to show blank input text when such condition occurs.
    Thanks
    Imran.

    Hi,
    You can set ExecuteWithParams as default activity in the task flow then method activity to return total no of rows passing to Router activity if your method has value 0 then call Create insert operation else do directly to page.
    Following idea could be your task flow
    Execute With param (default) > SetCurrentRowWithKey > GetTotalNoOfRows (VOImpl Method)
    |
    v
    Router
    1. If pageFlowScope outcome is 0 then call CreateInsert > MyPage
    2. if pageFlowScope outcome > 0 then MyPage
    hope it helps,
    Zeeshan

  • How to generate database text items at run time in oracle forms 6i?

    i have a text item with NUMBER OF ITEMS DISPLAYED=3. My requirement is, i need to generate text items at run time under each TEXT ITEM(3 text items will be there since number of items displayed is 3) and the values will be stored in the database based on the primary key combination. pls help me to solve this pblm

    Hi,
    You cannot generate items dynamically at runtime. The only thing you can do is show and hide item on time. Thay seems that they are generated at run time. Second thing you can do is that you can put items on stack canvas and set visible property of stack canvas to no and at run time set it to visible according to ur condition. Otherwise there is no way. If you find any other way, plz do inform here also.

  • How to display database records in text item

    hello friends,
    I'm using forms6i..
    I have text item named "username" in layout editor.I created this text item from data block wizard..I set Number of items displayed=3 in that wizard..
    In property palette of of "username" i have following changes
    Number of items displayed =3;
    When i click the button named "list_user" it should shows all user names in text item..
    my when-button-pressed trigger code is:
    declare
    cursor c1 is
    select Logid from log1 where logout_date is null;
    begin
    open c1;
    fetch c1 into :username;
    end;
    But my problem is when i run the form only one user displayed in text item..Remaining two text items are having no data..
    The result of the cursor query is :
    SQL> ed
    Wrote file afiedt.buf
    1 select logid from log1 where logout_date is null
    SQL> /
    LOGID
    104
    105
    106
    pls help me
    Edited by: Balraj on Feb 23, 2011 1:45 AM

    I have text item named "username" in layout editor.I created this text item from data block wizard..I set Number of items displayed=3 in that wizard..
    In property palette of of "username" i have following changes
    Number of items displayed =3;Its great that it is working fine, but seems your block is database block based on the same table log1, then why do you want to loop when form has better way.
    Secondly if you have set No of Records for a block then there is no need to set the No of Items displayed for the Item if it is the same as Records displayed for block.
    You can use No of Items displayed for an Item if you need to display no different then no of records else no need to change the default that is 0
    No of items displayed is usually used to display Summary Columns in a multi record block so that you will be able to display just 1 Item rather then as many as the No of records.
    Best Regards
    Arif Khadas

  • Oracle 10g FRM-41051 on a non-database text item with a LOV

    Hi all,
    I'm struggling with a problem I'm convinced must have a really simple solution, but for the life of me I can't figure it out!
    I have a data block called query. It is a non-DB block with a number of items, with either LOVs or drop down lists. It is used to choose values, which are them programatically 'translated' into values in two other database data blocks (which are populated in the WHEN-BUTTON-PRESSED trigger of a button in the non-DB block).
    This is necessary as I have a slightly complex query which takes values from many different tables and displays bits of information from all the different tables.
    My problem is that, on my text item (which has a LOV attached to it with Automatic Display set to Yes); when I click on it, I expect the LOV to show and I am able to choose a value from it. Instead I get the error 'FRM-41051 You cannot create records here' and the LOV does not display.
    I don't understand this. Everything on the block is a non-DB item, including the block itself, and I don't want to 'create' any records, all I want to do is choose values into my text items which I can then use in a DB query (written in my trigger).
    What am I doing wrong?
    Abigail

    Probably this other item or block has got property insert allowed to FALSE.
    I have suggested you to use a push button in order to check that everything in the LOV is OK.
    Lov can also return value to item in another block; probably in your case there is something that fires the error.
    Normally when I develop my form I disable on-error and on-message trigger in order to follow every step at runtime...
    I'm happy that you have resolved your problem :D
    Fabrizio

  • Comparing data in the database with the input text

    hi there i have problem with the comparing data in the database with the input text. here is the piece of code of mine:
    //declaration
    datasourcedb.connect();
    String stcode = req.getParameter("txtCode");
    ResultSet rs = null;
    String action = req.getParameter("action");
    ResultSet portquery = null;
    if (action.equals("SELL"))
    -->portquery = datasourcedb.query("SELECT stockcode FROM portfolio where stockcode =\'"+ stcode + "\'");
    -->portquery.next();
    -->if((portquery.wasNull()) == true)
    disp = req.getRequestDispatcher("error.jsp"); }
    else */
    Status = "Sell";
    datasourcedb.close();
    with the code that i marked with --> it doesnt work since i have to compare the input text stcode with stockcode in the db. could anyone tell me how to compare it?
    regards
    virginia

    i have try to change into this code:
    if (action.equals("SELL"))
    portquery = datasourcedb.query("SELECT distinct stockcode FROM portfolio where stockcode =\'"+ stcode + "\' + and userName = \'"+ user + "\'");
    if(portquery.next()) {
    Status = "Sell";}
    else {               
    disp = req.getRequestDispatcher("error.jsp");
    but so far the coding doesnt give any result.... could anyone help me? since the coding does not reach status n the disp

  • Input Text with LOV in table, the search list will be limited with 25 row?

    Hi, experts
    I got a strange problem with JDev 11.1.1.5.0, I created Input Text with LOV in Data View for one attribute with default setting, the LOV worked fine when I drop the DC with 'ADF form'; but when I drop it with ADF Table, the search function will just show 25 rows, I can see it try to fetch data when scroll down just like form, but then nothing happened, only the first 25 rows will be show without any error log.
    Any special configuration needed for LOV in table? or a bug in LOV?
    many thanks.

    You can change the range size on the VO which you use for the LOV. If you only want to change it for the VO the lov uses, select the VO in question in the application module data model and clic edit. There you enter -1 fro raneg size.
    If you want to change it globaly for this VO you open the VO and select the Tuning section and check 'all at once' which should get you all rows. Be careful that the VO don't return too much rows. A LOV wiht more then 50 rows is too big. In this case you may choose an other component.
    Timo

Maybe you are looking for