How to implement Scroling Messages in Forms 6i

Dear Friends,
I have a requirement as stated below.
I have to fetch data from table and display on the forms as a scroling message ( like messages appearing on the webpage , moving from right to left ) in forms 6i application.
I dont have any idea about how to implement it iam not sure if it is possible or not
If you have any idea how to acheive this please suggest me
Regards,
Khader

Write Code in When-New-form instance
if id_null(create_timer('SCROLL_TIMER', 200, REPEAT)) then
     null;
end if;
When-Timer-expired
DECLARE
     TimerName varchar2(40) := get_application_property(TIMER_NAME);
BEGIN
     if TimerName = 'SCROLL_TIMER' then
          scroll_view('CNv_SCROLL', 0, mod(get_view_property('CNv_SCROLL', VIEWPORT_Y_POS_ON_CANVAS)+1, 37));
end if;
END;
Create a Stacked CNV_SCROLL on you canvas
and write any text in CNV_Scroll
I hope your problem will solve.

Similar Messages

  • How to send error message to forms from Database Trigger

    Hi, Please help me to send error message to forms from Database Trigger?
    RgDs,
    Madesh.R.M

    You are correct, the On-Error trigger is a Forms trigger. However, if your Form is going to display the error generated by the database stored procedure or trigger - you might not see the database error in your Form unless you check the DBMS_ERROR_CODE in the On-Error trigger and manually display the Error Code and associated Text. I've see this happen with a co-worker. The Form she was working on was based on a table with an Before-Insert trigger. Because she was not explicitely handling the error from the Before-Insert trigger in the Forms On-Error trigger, her Form appeared to halt for no reason at all. Once she added code to the On-Error trigger in the Form to handle the DBMS_ERROR_CODE, she discovered the trigger was producing an error and was able to show the error to the user in the On-Error trigger.
    I understand the desire to keep as much as possbile in the database, but with that comes some extra coding in your Forms to handle this. This extra coding could easily be placed in a Forms Library, attached to a Form and called in the On-Error trigger. Your code could look like this:
    DECLARE
       /*This example assumes you have an Alert defined
          in your Form called: 'ERROR' */  
       al_id    ALERT;
       al_text  VARCHAR2(200);  /* Max text of a Forms Alert message*/
       al_btn   NUMBER;
    BEGIN
    IF DBMS_ERROR_CODE != 0 THEN
       /* Error code is ORA-00000 Normal Successful completion
           So only handle non-zero errors  */
       al_text := DBMS_ERROR_CODE||':'||DBMS_ERROR_TEXT;
       al_id := Find_Alert('ERROR');
       set_alert_property(al_id, alert_message_text, al_text);
       al_btn := show_alert(al_id);
    END IF;
    END;Your original question was "How to send error message to forms from Database Trigger?" The answer is you don't because Forms already gets the database error code and database message through the Forms DBMS_ERROR_CODE and DBMS_ERROR_TEXT functions. Look these up in the Forms help and it should clear things up for you.
    Craig...
    Edited by: CraigB on Jun 14, 2010 4:49 PM
    Edited by: CraigB on Jun 14, 2010 4:49 PM
    Edited by: CraigB on Jun 14, 2010 4:50 PM
    Edited by: CraigB on Jun 14, 2010 4:51 PM
    Edited by: CraigB on Jun 14, 2010 4:51 PM

  • How to print a message in forms in oracle apps

    Hi all
    i am using oracle apps r12
    In when button trigger how to print a message when the button is pressed.
    I tried message('HELLO'); this works in oracle forms but in oracle apps its different and i searched so for and used like this
    fnd_message.set_name( 'FND', 'FND_GENERIC_MESSAGE' ) ; but it doesnt works
    Regards
    Srikkanth

    Hi
    Thanks for your kind response.
    Can you please give me the steps to call a form from another form in oracle apps i am using apps r12.
    I have created a custom form and attached in the special menu and in that form i have two button are there. When the use click the one button another form(custom form) need to called. Can you please provide me the steps.
    Whether it is different from oracle form builder like CALL_FORM('FORM_NAME', ACTIVATE) like this.
    Regards
    Srikkanth

  • How to  implement a message

    In the note 890909 it is written toiImplement the message '066' with the following text in the message class 'FVD_INV_ACC'.
    I never implemented a message. How can I do that?
    Thank you in advance

    HI
      u need messages to display some message (error or sucess or warning)
    to check some condition
    if sy-subrc = 0.
      message i000(bctrain) with 'Success'.
    endif.
    here i is information mesage type give some msgnum 000 to 999 use with
    and placeholders
    bctrain is a std message class.

  • How to implement custom methods on form submit

    I'm a newbie to ADF environment, coming from pl/sql world. I have already tried default drag and drop functionality for forms. But, with new requirements, I need to write some custom code to create and update form. I read about managed beans, but didn't quite understand it. Any pointers to examples are appreciated.
    Regards,
    Surya
    Edited by: sgodavar on Sep 29, 2010 1:13 PM

    Suganth,
    Sometimes, the default form to create and edit built (drag and drop) on top of BCs may not be enough to code all the business logic. In that case, I'm looking for the basic steps involved to implement such custom logic. For example, I may need to call a managed bean or some stored procedure from ADF faces. Since, I'm totally new to ADF, I don't know how to go about it and right way to do it in ADF environment. Any pointers to such examples are appreciated.
    Regards,
    Surya

  • ADF RC  - how to implement global messages

    Hi,
    I'd like to write global messages class shared by all application. It should be fired for all COMMIT (obviously without exceptions) operation and display following message:
    If user made any changes - <strong>"Changes have been commited"</strong>
    If user press commit without any changes - <strong>"There are no changes to save"</strong>
    It also would be nice to get a message when user insert or change in form and wants to leave page without commiting. He should get confirmation window with info:
    <strong>"You have uncommited changes. What dou you want to do:"</strong> and buttons:
    - <strong>Continue</strong> (Changes will be lost)
    - <strong>Don't leave a page</strong>
    I've seen similar solution in applications created in Jheadstart. Has anyone implemented this ?
    Kuba
    Edited by: KUBA on Nov 7, 2008 11:25 AM
    Edited by: KUBA on Nov 7, 2008 2:27 PM

    I think the simplest approach would be to create a custom subclass of DCJboDataControl (which also requires defining a custom data control factory subclass) and overriding the commitTransaction() method.
    For example:
    package test.view.binding;
    import oracle.adf.model.bc4j.DataControlFactoryImpl;
    public class CustomDCJboDataControlFactory extends DataControlFactoryImpl {
        protected String getDataControlClassName() {
          return CustomDCJboDataControl.class.getName();
    }and
    package test.view.binding;
    import java.util.HashMap;
    import oracle.jbo.common.ampool.SessionCookie;
    import oracle.jbo.uicli.binding.JUApplication;
    public class CustomDCJboDataControl extends JUApplication {
        public CustomDCJboDataControl() {
           super();
        public CustomDCJboDataControl(SessionCookie sessionCookie)
           super(sessionCookie);
    }Then you use the custom data control by configuring your factory in the dataControlUsage element in the DataBindings.cpx file like:
      <!-- etc. -->
      <dataControlUsages>
        <BC4JDataControl id="DepartmentsModuleDataControl" Package="test.model"
                         FactoryClass="test.view.binding.CustomDCJboDataControlFactory"
                         SupportsTransactions="true" SupportsFindMode="true"
                         SupportsRangesize="true" SupportsResetState="true"
                         SupportsSortCollection="true"
                         Configuration="DepartmentsModuleLocal" syncMode="Immediate"
                         xmlns="http://xmlns.oracle.com/adfm/datacontrol"/>
      </dataControlUsages>
      <!-- etc. -->

  • How to implement a java class in my form .

    Hi All ,
    I'm trying to create a Button or a Bean Area Item and Implement a class to it on the ( IMPLEMENTATION CLASS ) property such as ( oracle.forms.demos.RoundedButton ) class . but it doesn't work ... please tell me how to implement such a class to my button .
    Thanx a lot for your help.
    AIN
    null

    hi [email protected]
    tell me my friend .. how can i extend
    the standard Forms button in Java ? ... what is the tool for that ... can you explain more please .. or can you give me a full example ... i don't have any expereience on that .. i'm waiting for your reply .
    Thanx a lot for your cooperation .
    Ali
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by [email protected]:
    Henrik, the Java importer lets you call Java classes on the app server side - I think what Ali is trying to do is integrate on the client side.
    If you want to add your own button then if you extend the standard Forms button in Java and then use this class name in the implementation class property then the Java for your button will be used instead of the standard Forms button. And since it has extended the basic Forms button it has all the standard button functionality.
    There is a white paper on OTN about this and we have created a new white paper which will be out in a couple of months (I think).
    Regards
    Grant Ronald<HR></BLOCKQUOTE>
    null

  • How to use PO message type to output 'Form' as PDF file

    Dear experts,
      I am working for a topic of how to use PO message type to output 'Form' as 'PDF file', and save to external file system automatically.
      Any one familiar to this topic, please kindly give me some guide, thank you!
    Regards,
    Joyce

    Hi,
       Go through the program RSTXPDFT4 (Converting SAPscript (OTF) or ABAP List Spool Job to PDF), you will get some idea.  Using this program you can convert spool into PDF file.
    -Alpesh

  • How to implement Search Help in Interacive Form based on WebDynpro Java?

    Hi Experts,
    How to implement Search Help in Interacive Form based on WebDynpro Java?
    Could someone please provide the prerequisites and the code for the same.
    Regards,
    Shobhit

    Extend the controller and get the handle of the current row of the VO. Set set the attribute context filed accordingly. Also get the handle fo the flexbean and set the context. According rendering would change.
    Regards
    Sumit

  • How to implement the spell check in oracle forms 10g or 6i...

    How to implement the spell check in oracle forms.
    Is there any different method is there.
    Please help me....
    Praveen.K

    Here is one different from Jspell..
    In 6i client/server you can call MS Word spell checker using OLE. Below sample code for 6i.
    For 10g you will need webutil to use same code. install webutil and just replace "OLE2." with "CLIENT_OLE2."
    PROCEDURE spell_check (item_name IN VARCHAR2)
    IS
       my_application   ole2.obj_type;
       my_documents     ole2.obj_type;
       my_document      ole2.obj_type;
       my_selection     ole2.obj_type;
       get_spell        ole2.obj_type;
       my_spell         ole2.obj_type;
       args             ole2.list_type;
       spell_checked    VARCHAR2 (4000);
       orig_text        VARCHAR2 (4000);
    BEGIN
       orig_text := NAME_IN (item_name);
       my_application := ole2.create_obj ('WORD.APPLICATION');
       ole2.set_property (my_application, 'VISIBLE', FALSE);
       my_documents := ole2.get_obj_property (my_application, 'DOCUMENTS');
       my_document := ole2.invoke_obj (my_documents, 'ADD');
       my_selection := ole2.get_obj_property (my_application, 'SELECTION');
       ole2.set_property (my_selection, 'TEXT', orig_text);
       get_spell :=ole2.get_obj_property (my_application, 'ACTIVEDOCUMENT');
       ole2.invoke (get_spell, 'CHECKSPELLING');
       ole2.invoke (my_selection, 'WholeStory');
       ole2.invoke (my_selection, 'Copy');
       spell_checked := ole2.get_char_property (my_selection, 'TEXT');
       spell_checked :=SUBSTR (REPLACE (spell_checked, CHR (13), CHR (10)),1,LENGTH (spell_checked));
       COPY (spell_checked, item_name);
       args := ole2.create_arglist;
       ole2.add_arg (args, 0);
       ole2.invoke (my_document, 'CLOSE', args);
       ole2.destroy_arglist (args);
       ole2.RELEASE_OBJ (my_selection);
       ole2.RELEASE_OBJ (get_spell);
       ole2.RELEASE_OBJ (my_document);
       ole2.RELEASE_OBJ (my_documents);
       ole2.invoke (my_application, 'QUIT');
       ole2.RELEASE_OBJ (my_application);
    END;Call it like this: SPELL_CHECK ('BLOCK.MY_TEXT_ITEM' );

  • How to Implement User Area in Oracle Forms 6i

    Hi,
    Could anyone please let me know how to implement Item Type *"User Area"* ?
    How to add User Area in layout Editor?,
    Thanks and Regards,
    Manasa

    Hi,
    Please post your question in the appropriate forum.
    Forms
    Forms
    Thanks,
    Hussein

  • How to implement a Date Picker (Calendar) as a LOV in Portal Form?

    I have a form, which will input date from user, and I also have javascript calender.
    How to implement a Date Picker (Calendar) as a LOV in Portal Form? Do I need to choose POPUP and LOV for Date?
    Instead of typing the Date within a Portal form, a popup Calender that will allow user to Pick a date.
    Please help anyone!!

    Once you have the JavaScript and have added it to your form, you need to the the following. First off, you need to be able to customize the HTML code for the form (i.e. choose custom for form type when creating the form). Once you do that go into the custom layout to customize your HTML code. Find the field you want to add the date picker to. It will be <#your_field_name.ITEM#>
    Paste this code after it:
    <a href="javascript:show_calendar('forms[0.elements[16');" onmouseover="window.status='Date Picker';return true;" onmouseout="window.status='';return true;"><img src="the source of your image file" width=34 height=21 border=0></a></TD>
    You will have to play around with the forms[0].elements[16]. 16 is what date field is set to. However your will differ, so just play with it.
    Hope this helps.
    Martin

  • How to implement Rows Per Page Selector for a tabular form kind of report

    Hello,
    Can somebody please tell how to implement Rows Per Page Selector in a tabular form (updatable report)
    -- similar to what we can have in an Interactive report---
    Plz help me out.

    You have to create item text field or select list (in interactive report is select list, you can create static value for example 10, 15, 50 , 100,500,.....) . In the Tabular form you have to go Report Attributes, search Number of Rows (Item) and select your item. And thats all. If I help you please check CORRECT or Helpful.

  • How to implement Message Sequencing  other than mediator

    Hi All,
    I am looking for a solution to implement the message sequencing option for the below integration scenario between Order management module and projects module using SOA and AIA 11g.
    1. The source system triggering requests is the Order management module(sometimes projects module) of Ebiz R12.
    2. When an order is booked an event is raised and pushed to WF_Deferred_Q in Ebiz environment.
    3. This messages are pushed to WF_BPEL_Q in SOA environment by the QAgent configured at the Ebiz end.
    4. At SOA end , there is an AqAdapter configured in OSB(as a proxy service) will poll WF_BPEL_Q and pull the messages.
    5. Based on the type of request messages are routed to different requestor ABCS services( AIA framework).
    Scenarios possible are:
    1.     Orders created newly and same are synched to projects module.
    2.     Orders updated and same is updated in the projects module. (order header id is same for multiple update requests on the order )
    Scenario 1: Two update requests for same order
    1.     When an existing order which has got five line items and each line item has got 2 sub line items, is updated at the same time from different locations(let’s say from India and Japan) where in order from India is updating the quantity on one sub line item whose parent line item is (lets say A) and another request from japan is updating the unit sale price in another sub lie item line item whose parent is also line item A.
    2.     Both the update requests which are raised will have the same order header ID and also the request from India is errored out while updating the projects module due to some reason which needs some manual intervention to update the data and resubmit the message.
    3.     Now we want to stop the request from Japan until the request from India is not processed.
    4.     Simultaneously we want to allow the orders which are independent.
    Note: We are not looking to use “wait” option which will have an impact on the performance .
    Please suggest your valuable inputs and expert thoughts in implementing the message sequencing with less impact in this situation.
    Thanks in advance.
    Regards,
    Shailesh

    Can someone post expert views on the below issue?
    Regards,
    Shailehs

  • How to implements a modal message dialog

    Hi~~
    I am developing a game and I need to show a question dialog .Player can start game after answering this question, but I find it difficult to implement it. Can anyone know how to implement it?
    thank..

    Look at the API for JOptionPane.showXXXXDialog()

Maybe you are looking for