Problems Typing into Text Items

I HAVE PROBLEMS WHEN I'M TYPING STRINGS INTO TEXT ITEMS, IT IS WHEN TYPING SPACE BAR BETWEEN THE WORDS THE CURSOR MOVES FROM THE BEGINNIG OF THE TEXT. I SET THE PROPERTY KEEP CURSOR TO "YES" AND THE CURSOR MOVES FROM THE LAST OF THE TEXT, IGNORING THE SPACE BAR.
IT ALSO HAPPENS WHEN I'M WORKING WITH DATETIME ITEMS.
ANYONE CAN TELL ME HOW TO SOLVE IT ?.
THANKS.
null

If u r using Oracle Developer 6 then you need to apply the patches . The latest patch is Patch6a.
These patches will fix the bugs u have reported plus many more in Forms 6.
Thanks.
Thiru

Similar Messages

  • Difference between Two Date Should come into Text Item

    Dear All,
    i want to get difference between two date into text Item :P36_C in On Change java script.
    i have two Date Item :P36_A and :P36_B .i have extract these date value from table then difference comes into Text Field :P36_C.
    Now i want if i change Date into Item :P36_A or Item :P36_B then Defference between two date Should Come into Item :P36_C .
    So i have use Java Script Code to do this
    <script>
      function diffdat(){
        function getVal(item){
       if($x(item).value != "")
         return parseFloat($x(item).value);
       else
         return 0;
        $x('P36_C').value =
    getval((TO_DATE('P36_B', 'DD-MON-YYYY'))-
    getval(TO_DATE('P36_A', 'DD-MON-YYYY')))+1;
    </script>
    i have put this into Item HTML Form Element Attributes 
    onChange="javascript:diffdat();"it's not woring .
    How to work that Code with dates.
    Thanks

    You can always create your own difference function based on your own criteria. You can modify this to suit your needs.
    CREATE OR REPLACE FUNCTION CALC_OFFICE_DAYS(date1 DATE, date2 DATE)
    RETURN NUMBER
    IS
    v_begin_date DATE := date1;
    v_end_date DATE := date2;
    v_office_start_time VARCHAR2(10) := '09:30 AM';
    v_office_end_time VARCHAR2(10) := '06:30 PM';
    v_comp_begin_time DATE;
    v_comp_end_time DATE;
    v_days PLS_INTEGER := 0;
    v_hrs NUMBER := 0;
    v_ttltm NUMBER;
    BEGIN
    select trunc(v_end_date) - trunc(v_begin_date)
    into v_days
    from dual;
    select to_date(to_char(sysdate,'DD-MM-YYYY')||' '||to_char(v_begin_date,'HH24:MI'),'DD-MM-YYYY HH24:MI')
    into v_comp_begin_time
    from dual;
    select to_date(to_char(sysdate,'DD-MM-YYYY')||' '||to_char(v_end_date,'HH24:MI'),'DD-MM-YYYY HH24:MI')
    into v_comp_end_time
    from dual;
    select (v_comp_end_time - v_comp_begin_time)/24 into v_hrs from dual;
    IF v_hrs > 4 then
    v_ttltm := v_days + .5;
    ELSE
    v_ttltm := v_days;
    END IF;
    return v_ttltm;
    END;
    As has been noted, this question is best posted on the PL/SQL forum.

  • Problem with multiline text item return on query

    Hi there, I am a beginner in ORACLE, here when i write a query i engaged a weird problem,
    LOOP
    FETCH CSR_ODR2 INTO :ORDER_RECORD.OREDER_RECORD_NO,:ORDER_RECORD.BILL_NO,:ORDER_RECORD.ACTUALO_WEIGHT,:ORDER_RECORD.OPERATION,:ORDER_RECORD.PLACE,:ORDER_RECORD.TRANSACTION_DATE,:ORDER_RECORD.ORDER_NO;
    EXIT WHEN CSR_ODR2%NOTFOUND;
    END LOOP;
    this is the cursor version, I also tried SELECT statement, but have trouble about return more than 1 row.
    :Order_Record is a detailed-form with multiline text items,while execute this cursor, it always rewrite the 1st line and wont go to 2nd line, I wanna get some help about how to display different records in different line in a text item.
    btw, i tried next_record,next_item,next_field, but none of them works, the query is based on the record i filled on the master form, and show related record in detailed-form
    Kyle
    Edited by: user12234866 on 13-Jun-2010 00:32

    DECLARE
    CURSOR CSR_ORDER IS
    SELECT T.ORDER_DATE,T.WEIGHT,T.CUSTOMER,T.DRIVER_NO,T.INVOICE_NO,T.LICENSE_NR_TRUCK,T.PRODUCT,T.PRICE_PER_TON,T.TRAILER_NO
    FROM TRANSPORT_ORDER T
    WHERE T.ORDER_NO=:TRANSPORT_ORDER.ORDER_NO;
    BEGIN
    OPEN CSR_ORDER;
    LOOP
    FETCH CSR_ORDER INTO :TRANSPORT_ORDER.ORDER_DATE,:TRANSPORT_ORDER.WEIGHT,:TRANSPORT_ORDER.CUSTOMER,:TRANSPORT_ORDER.DRIVER_NO,:TRANSPORT_ORDER.INVOICE_NO,:TRANSPORT_ORDER.LICENSE_NR_TRUCK,:TRANSPORT_ORDER.PRODUCT,:TRANSPORT_ORDER.PRICE_PER_TON,:TRANSPORT_ORDER.TRAILER_NO;
    EXIT WHEN CSR_ORDER%NOTFOUND;
    END LOOP;
    END;
    DECLARE
    CURSOR CSR_ODR2 IS
    SELECT O.OREDER_RECORD_NO,O.BILL_NO,O.ACTUALO_WEIGHT,O.OPERATION,O.PLACE,O.TRANSACTION_DATE,O.ORDER_NO
    FROM ORDER_RECORD O
    WHERE O.ORDER_NO=:TRANSPORT_ORDER.ORDER_NO
    ORDER BY OREDER_RECORD_NO asc;
    BEGIN
    OPEN CSR_ODR2;
    GO_BLOCK(':ORDER_RECORD');
    LOOP
    FETCH CSR_ODR2 INTO :ORDER_RECORD.OREDER_RECORD_NO,:ORDER_RECORD.BILL_NO,:ORDER_RECORD.ACTUALO_WEIGHT,:ORDER_RECORD.OPERATION,:ORDER_RECORD.PLACE,:ORDER_RECORD.TRANSACTION_DATE,:ORDER_RECORD.ORDER_NO;
    EXIT WHEN CSR_ODR2%NOTFOUND;
    END LOOP;
    END;
    thats the stuff i wrote here to execute

  • Insert hyperlink into Text Item

    I'm looking to create a footer text item for all reports that has a link that will launch an email to the BI team.  I was able to find some javascript that I can use to launch Outlook but I can only get it to work with a button item or link item.  I can't seem to figure out how to insert it into a Text Item.
    What I want is:
    "If you have any question please contact BI Team"
    where BI Team is the link.
    Thanks.

    Hi,
    i hope you want this functionality in WAD report. have u tried "HREF" in HTML code of WAD for that link.
    for example: you want to open the link on clicking on "BI Team" so write a code in WAD like this
    "If you have any question please contact  <a href="http://mail.google.com/" target="_blank" >BI team</a>
    Hope this will solve you query
    Thanks,
    Om Ambulker

  • Read a barcode(including line feeds) into text item

    When I scan a bar code from a text item, I am unable to retrieve line feeds that are in a barcode. I need line feeds to retrieve various values encoded in the barcode. When I scan the same code on a notepad, I get output in multi-lines. But, oracle forms is removing the line feeds when I scan barcode in a text item. Please advice. Forms Version is 10g

    It gave me output of 10.
    Original string looks like this with control charactes <LF> and <CR>.
    @<LF><CR>ansi 636049030002dl00410466zn05070057dldcabcde<LF>dcbbcdefjklmw
    I have to get hold of <LF> character because it is used as delimiter for data values in barcode. But, when I scan it in oracle forms item, it is not reading <LF> character. Based on what you suggested, using dump and ascii, it ilooks like it is reading carriage return <CR> as CHR(10) and not <LF>. There is one more <LF> in the string and forms text item is not recognizing it. Dump output is shown below:
    @,^J,A,N,S,I, ,6,3,6,0,4,9,0,3,0,0,0,2,D,L,0,0,4,1,0,4,6,6,Z,N,0,5,0,7,0,0,5,7,D,L,D,C,A,B,C,D,E,D,C,B,B,C,D,E,F,J,K,L,M,W,
    Thanks

  • Problem with comparing text item with hidden item

    Hi all,
    I have two items, one text field which has a user name and other item which is hidden which also has a username input from a file.
    I want to compare these two items.
    But when both items are text fileds am able to compare, but when one is made hidden unable to compare.
    Please help on this......
    thanks,
    Srini

    Hi Srini,
    As long as you understand that the user can change the value of ANY field, even it is hidden, then I would suggest something like:
    1 - Hide your existing Login button. On the button definition, in "Button Display Attributes" add the following into the Attributes setting:
    style="display:none"2 - In the Login region's Region Footer, create a new button:
    &lt;input type="button" class="t12Button" value="Login" onclick="javascript:checkNames();"&gt;(Note that I have used a class name of "t12Button" - change this to match your current theme)
    3 - Underneath that, add in your javascript:
    &lt;script type="text/javascript"&gt;
    function checkNames()
    if ($v('field1name') == $v('field2name'))
      doSubmit('loginbuttonname');
    &lt;/script&gt;Then, when the user clicks the new Login button, this triggers your javascript. This checks that the values for field1name and field2name match. If they do, if fires the normal submit for the page (the same as if you clicked the original Login button)
    Andy

  • How to insert values using pushputtons in text item & fetch data based on

    Dear friends,
    I want to insert values in the Text item using pushbutton e.g to insert 05CST884 into text item using pushbuttons '0' '5' 'C' 'S' 'T' '8' '8' '4' (alpha numeric buttons) in the layout editor and then fetch data based on the number entered with that of one in the table in the another text item2 in the layout editor.
    Suggestions regarding how to develop and use effective triggers are welcome.

    At the block level (for the control block where all your push buttons are, let's call it block1) create a WHEN-BUTTON-PRESSED trigger. Your [A-Z] and [0-9] buttons should be on a dedicated non-database datablock to reduce problems. As stated previously, this trigger should just contain the code:
    :block2.text_item := :block2.text_item||get_item_property(:system.trigger_item, label);
    Also on the pushbutton block, create a backspacve button with its own dedicated WHEN-BUTTON-PRESSED trigger containing:
    if length(:block2.text_item) > 0 then :block2.text_item := substr(:block2.text_item, 1, length(:block2.text_item)); end if;
    This will hopefully erase the last character entered.
    block2 should be based on the database table (see Property Palette --> Database) you wish to query and text_item should be based on the database item which contains the code you entered. All the other database items you wish to displayshould also be added to block2.
    Add another FIND push button to block1 with the code:
    go_block('block2');
    execute_query;
    Without writing the whole thing for you, I'd suggest you get a decent Forms tutorial book to guide you through the basics (Oracle Forms Developers Handbook).

  • 10g Text Item Editor Not Working Correctly

    We're having problems with the Text Item Editor in both Add and Edit modes, but esp. in Edit mode. The problems range from getting a gray text screen (no toolbar); getting a white editor screen (no toolbar); tools that do not load (e.g. font color); and tools that do not work even though everything else seems fine. Sometimes refreshing the screen works but not always. Our users are getting very frustrated continually refreshing and logging out/in. It's become worse in the past few weeks such that it occurs in nearly every instance when editing a text item.
    Can anyone point us in a possilbe direction? We are using IE 6.0 and above as the browser.

    Kristin -
    This sounds like a bug that should be handled through Oracle Support.
    Regards,
    Candace

  • How to delete text item in delivery

    SAP Expert,
    I am facing one problem in deleting text item from the delivery. In one case our store person have inserted taxt item by mistake in delivery. In the delivery there are two schedule lines one is of Tan and another is of tatx (which is by mistake inserted by him) he prepaired bill for the delivery and System split the delivery in two invoices, later on he cancelled the invoice of Text item Which value is 0. But now the delivery is showing pending in VF04 though we have invoice the 1st schedile line. After this I tried to delete the text itm by going to vl02n but system is not alowing me to delete the schedule line. error is document can not deleted. where as system is also not allowing thtough t-code vl09n after cancelling the invoice.
    I need experts help to solve this problem. I wan to cleare the delivery from t-code VF04.
    nikhil

    Dear Thanks doe the prompt reply.
    here the delivery is only one and system have created two invoices. I have cancell the invoice of 0 value by using t-code VF11, after this I tried for vl09 to reverse the goods movement but system is not allowing me becouse for the same delivery we have created two invoices and one is cancell.
    so dear friend tell me is it possible for me to reverse the one schedule line from the delivery by using vl09n.
    nikhil

  • Text item validation into Formular.

    hi.
    From some days I have written my fiirst application using Oracle Forms6i.
    In oracle9i I created table USER with column id_user number(5), username varchar2(10) and passwd varchar2(12).
    In oracle forms builder I created the formular with 4 controls(2 fields - username and passwd ,one button to login user and Text item to the botton of this formular to print message for user). In ProperPalette for Text item 'username' and 'passwd' I set adequately Maximum Lenght peperty to 10 and 12(for 'passwd' field) and Required to Yes.
    Then I wanted to make a validation username and passwd fields in this way, that the user can put in 'username' field the string with length between 8 to 10 and for 'passwd' between 8 to 12 and checking all other cases incorrect data entering by login user.
    I created trigger WHEN-MOUSE-CLICK for button with this body:
    declare
         dlug_username number;
         dlug_passwd number;
    begin
         dlug_username := length(:user_data_log.username);
         dlug_passwd := length(:user_data_log.passwd);
         if (:user_data_log.username = NULL and :user_data_log.passwd = NULL) then
              :user_data_log.komunikaty_logowania := 'you didn enter any data!';
         elsif dlug_username >= 8 and dlug_passwd >= 8 then
         :user_data_log.komunikaty_logowania := 'Correct data!';
         elsif dlug_username < 8 or dlug_passwd < 8 then
                   :user_data_log.komunikaty_logowania := 'Fields USERNAME i PASSWD must have more then 8 sign. Correct them!';
                   :user_data_log.username := '';
                   :user_data_log.passwd := '';
         end if;
    exception
         when VALUE_ERROR then
         :user_data_log.komunikaty_logowania := dlug_username;
    end;
    When I run this form by Run Form client/server button, it's not matter what I'll enter in two field 'username', 'passwd', when I press button always is invoke exception section
    but no if condition.
    Now, I don't know what do with this. What is the best way to resolve problems with validation of form elements?
    Thanks in advance for all help, some hints, tutorials. I appologise for so long post, but I
    want directly describe my problem. Thanks.

    Hi,
    Regarding to your post and your problem , obviously the code doesn't go into the
    IF condition and validate it becouse the syntax is not appropriate and every time it goes to the IF it jumps into the exception part. Thats why you have to correct your code as fllowing.
    if (:user_data_log.username IS NULL) and (:user_data_log.passwd IS NULL) then
    etc till the end of the code.
    Kindly if this approach meet your requirment of solving , update your problem with a Subject of Solved
    Regards
    Omar

  • Problems with IE and text item

    Hi,
    I have a problem with IE (v6.0) when I add an text item to a region. IE puts 2 records with the same content into the DB (table wwv_text), Mozilla only 1.
    The Problem is, if I change the text of the item with IE, Mozilla, doesn't show the changes made, due to the fact, IE only changes one of the two records and Mozilla reads exactly the other one.
    But if I add a text item with Mozilla, only one record is stored in the DB.
    Is this a portal or IE bug?
    PS: I have disabled version control on the entire page group.

    hi dorian,
    is it possible that you add an item in a different language if you are using internet explorer. in this case 2 records are created. one for the base language and one for the translation. this also explains that you do not see the edited version of the item in the other browser - in case you are using a different language.
    a good technote related to this topic:
    http://www.oracle.com/technology/products/ias/portal/html/cm_main_10g_translation_tech_note.html
    just an idea...
    regards,
    christian

  • Problem in copying a text item content in forms 10.1.2 to other application

    Hi all,
    I have just upgraded my Form server 6i in Windows 2003 to to Application server 10.1.2 in Linux.
    In previos version Application Users Used to Copy some texts from other Applications like Windows NotePad or Client/server Version of Application to webforms text items or vice versa.
    In Application 10g it doesnt work. whithin the webforms we can copy and past content of texts but within Applications It doesnt wirk at all.
    we are running Forms 10.1.2 on Windows XP, using windows IE as the browser.
    Does Forms 10.1.2 use its Own clipboard?
    does anybody know any workaround to solve the problem?
    thank you in advance.
    Alireza

    Hi Mark,
    Thanks for your attention,
    I Think it's not the certification mater, because in development environment I have Stand alone OC4j installed in Windows Xp witch uses the same version of Jinitiator and copy/paste functionality works fine.
    Surprisingly when I connect to application server 10.1.2 witch is installed in Enterprise Linux from the same PC the functionality does not work.
    I cheked windows clipbord before and after running the form application from and noticed that copy/paste mechanism of form doesnt effect windows clipbord ant it somehow uses a private clipboard within itself.
    Any solution would highly be appreciated.
    Thank you in advance.
    Alireza.

  • Why can't I save text I've entered into a PDF file?  When I hit "Save As", only the PDF document is saved, but not the text i typed into the document.  I'm using Windows 8.

    Why can't I save text I've entered into a PDF file?  When I hit "Save As", only the PDF document is saved, but not the text i typed into the document.  I'm using Windows 8.

    THANK YOU!
    Jan Whitfield
    The College Planning Center
    250 Palladio Parkway, Suite 1311
    Folsom, CA 95630
    (916) 985-0453
    www.TheCollegePlanningCenter.com

  • Problem with data saving into text file

    Hi,
    The problem I am facing wihile saving the data into text file is that everytime when I am slecting the path from front panel, the data which is being saved is appended with the previous data, i.e. not only in the new text file, the new set of data is saved but also, if there is any previuos run for the program, the corresponding data is also present in that text file.
    However, when I change the same 'control'(file path) to 'constant' in the block diagram, and add the file path, there is no such problem. Basically, changing the "File path" from constant in the block diagram to control (so that it is displayed in the front panel) is causing the problem.
    Please help!
    Thanks 
    Solved!
    Go to Solution.
    Attachments:
    front panel.JPG ‏222 KB
    Block Diagram.JPG ‏70 KB
    Block diagram with File Path as Constant.JPG ‏74 KB

    Your shift register on the For loop is not initialized. It will retain the value of the string from the last time it executed. Initialize that and it should solve your problem.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Problems while uploading text documents into Unicode Database

    I just upgraded our database from 9iR1 to 9iR2 (9.2.0.1.0). The server
    character set is AL32UTF8. Now I'm facing a problem when
    uploading text documents into the database via a web frontend.
    I use the upload table defined for the PL/SQL Database Access Descriptor:
    create table TB_UPLOAD (
    NAME VARCHAR2(256) not null,
    MIME_TYPE VARCHAR2(128),
    DOC_SIZE NUMBER,
    DAD_CHARSET VARCHAR2(128),
    LAST_UPDATED DATE,
    CONTENT_TYPE VARCHAR2(128),
    BLOB_CONTENT BLOB);
    After uploading a text document containing the two words "hallo welt",
    the following statement returns not "hallo welt", but "68616C6C6F2077656C74":
    declare
    b_loc blob;
    v_amount integer := 100;
    v_buffer varchar2(100);
    v_offset integer := 1;
    begin
    select blob_content into b_loc from tb_upload where name like 'mydoc.txt';
    dbms_lob.read(b_loc, v_amount, v_offset, v_buffer);
    htp.prn(v_buffer);
    end;
    What is this? I studied the documentation, but didn't found a solution.
    When trying to use Oracle's built-in procedure wpg_docload.download_file,
    the content is shown the way it should be. Unfortunately, I can't use
    wpg_docload.download_file in order to copy the BLOB content to another table.
    Any hints would be appreciated!
    Thanks so much in advance!
    Roman
    E-Mail: [email protected]

    Hi Roman,
    the upload uses a BLOB (Binary Lob). Your Document is
    stored as is in the binary representation. If you
    use dbms_lob.read on a blob and your buffer is a varchar2 the binary representation is not translated!!!
    use a raw for the buffer and utl_raw.cast_to_varchar2
    to do the conversion to varchar.
    try this
    Procedure SHOW_DOC(p_name doc_test.name%TYPE)
    IS
    v_len number;
    v_mime_type tb_upload.mime_type%TYPE;
    v_offset integer := 1;
    v_Buf_size integer := 32767;
    v_buf raw(32767);
    v_blob blob;
    v_Doc_name varchar2(1000);
    BEGIN
    v_doc_name := url_Decode(p_name);
    select mime_type,doc_size,blob_content
    into v_mime_Type,v_len,v_blob
    from tb_upload
    where name = v_doc_name;
    OWA_UTIL.MIME_HEADER(v_Mime_Type);
    begin
    LOOP
    DBMS_LOB.READ(v_blob,v_buf_size,v_offset,v_buf);
    HTP.PRN(UTL_RAW.CAST_TO_VARCHAR2(v_buf));
    v_offset := v_offset + v_buf_size;
    END LOOP;
    exception
    when no_data_found then
    null;
    end;
    END;
    HTH
    detlev

Maybe you are looking for

  • Xp doesn't recognize ipod touch

    Itunes shows the Itouch and when you sync, the Ipod lights up, but nothing is copied over.  The Itouch doesn't show up in device manager or computer.  I can not download anything.  it says no updates! 

  • Exp / imp 64 bit - 32 bit

    Hi, We have problems to import a dmp file (what exported on a 64 bit OS) on a 32 bit OS: IMP-00010: not a valid export file, header failed verification IMP-00000: Import terminated unsuccessfully Can someone help me with a link, what is the steps / p

  • File Fields and ASP

    I have setup an htm page with a file field. We use asp to post data. Do I need any additional coding to make the attached files show up in the email? Here's the link: http://krontechnology.com/positions.htm Thanks.

  • FM- Accounting tab of MM03

    Hi All, Is there any Function Module to directly go to the accounting tab of MM03. If not what is the other way of doing this. Helpful Answers will be rewarded, Kushagra

  • FM in CRM to get sales orders based on a date range(created_at)...

    Hello Experts, Is there a function module to get the sales orders from CRM based on a given date range which is for the field created_at? Also, is the field OBJECTID in table CRMD_ORDERADM_H can be compared against VBAK-VBELN? Thank you guys and take