Data Grid in oracle forms

Hello all,
Is there a way that I can embed a excel grid kind of control in oracle forms.
Your input will be much much more appreciated
Thanks,
Karthik

in 6i C/S you have OLE-Container, in which you can do that.
but in newer versions like 10g you need Java-Beans, no OCX, VBX or Active X or OLE-Container.
If you have a Bean, which can do that, then you can integrate it

Similar Messages

  • How to Display Grid in ORacle Forms

    Hi Friends and Experts
    I have a requirement to display the records in Grid in ORacle Forms. This grid is a kind of Java grid. Help on this or any reference material for implementing this would be grately appreciated.
    Thanks in Advance.
    Ahmed

    what forms-version?
    what exactly do you mean with grid? Do you have a special ready-made component you want to use ? Do you have any functional requirements for your grid?
    For a "normal" data grid, you could just layout your data in tabular way, perhaps with a stacked canvas, to have a scrollable area to the right
    If you use forms in web you could use a javabean for this, if so have a look at Francois's blog-page http://forms.pjc.bean.over-blog.com/40-categorie-461064.html
    hope this helps

  • Open sybase data base in oracle form

    How can I Open sybase data base in oracle form ?

    Its not possible to do it directly but you can do it by installing a Transparent Gateway in your Oracle database. You would then connect to the Oracle database and it would route the table references to the Sybase DB with the help of the gateway. You wouldn't be able to utilize all the functionality of the Sybase DB, only the ones exposed by the gateway.

  • Displaying Records data as text grid in oracle forms

    Hi
    I am new to oracle forms. I want to display data from different tables as a text.
    And I need to give hyper link for that data.
    I am using oracle forms 10g., forms builder.
    can anyone tell me the process.. I need it very very soon..
    Thnx in advance
    ~noc

    Ok, you can populate records in 2 ways
    1. Using cursor (if your block is a non-database block)
    2. Using EXECUTE-QUERY (If your block is a database block)
    If you have created a database view as suggested above, then you can simply add a WHERE clause in the property palette of the block,
    then in the button's when-button-trigger write EXECUTE_QUERY.
    But if you have created a non-database block, (didnt create database view)
    in that case you can simply write a cursor in the when-button-pressed trigger as:-
    Declare
    cursor my_cur is
    select col_list....
    from table_list....
    where......;
    Begin
    GO_BLOCK('Name of block');
    CLEAR_BLOCK(NO_VALIDATE);
    First_Record;
    For cur in my_cur Loop
    :BLOCK_NAME.ITEM_NAME := cur.col1;
    Next_Record;
    End Loop;
    First_Record;
    End;
    One more point, as suggested above, you can create the button in a non-database control block,
    or,
    in the same block with the button's Number of Records Displayed set to 1
    in either case, I usually keep the button's Mouse Navigable & Keyboard navigable properties to No,

  • Tool suport Grid in oracle Form Builder 10G!!!

    Hi all!
    Do you know oracle suport tool to create Grid?
    I need a Grid to add data in it because data block only suport 2 tye: Freeform and tabular.
    Please reply me as soon as availiable!
    Thanks!

    Oracle Forms does not support Grid.
    But you can create a Grid of you rown and embed it inside forms as PJC(pluggable Java Components)

  • Passing a value for date parameter from Oracle Forms to BIP

    Hi
    I have created a report with the following SQL query:
    select
    d_tables.d_seq,
    to_date(d_tables.d_created) creation_date,
    d_tables.d_created_by created_by,
    d_tables.d_pk,
    d_tables.table_name,
    d_tables.comments
    from
    d_tables, d_applications
    where
    d_tables.d_ppk = d_applications.d_pk
    and to_date(d_tables.d_created) >= nvl(:P_CRE_DATE_FROM, to_date(d_tables.d_created))
    and to_date(d_tables.d_created) <= nvl(:P_CRE_DATE_TO, to_date(d_tables.d_created))
    The parameters P_CRE_DATE_FROM and P_CRE_DATE_TO have been set up as date in BI Publisher with format dd-MMM-yyyy
    The report works fine when launched in BI Publisher.
    I want to call this report from Oracle Forms and I'm trying to pass the values for both the parameters. However, the report does not generate output based on values passed.
    Does it have to do with datatype? Does anyone know a solution for this?
    Kind regards,
    Aparna

    Thanks for your suggestion. I am already referring to the whitepaper and have integrated Forms with BI Publisher. The parameter passing is working fine for a varchar2 type of parameter. However, for a date type, there seems to be some problem.

  • How do you create THIS "grid" in Oracle Forms

    Hi,
    I am new to Forms. I have to develop a grid very similar to the one shown here.
    How can you create the grid in the bottom??
    I can't see using any of the standard Oracle toolbox items (like multi-record blocks) for this?
    Any help would be greatly appreciated.
    Thanks
    User 122...

    Hi Soofi,
    Appreciate your quick response.
    In the image, can you see a huge grid?
    Grid column headings are days of the week, Mon, Tue, Wed etc.
    Grid Rows also have names, like Room, Status and Rm. Type.
    Cells have various values in various colors (red, blue, green etc) and signs like ">>".
    Can you see that??
    My question is, how to create a grid like this in Oracle Forms??? We cannot do it using a multi record block.
    So, how have they done it??? The form in the image is an actual Oracle Form from a hotel reservation system.

  • Forms clause query data source data block in oracle forms

    Hello experts,
                  I am new in oracle forms.I am using oracle forms 11g with weblogic 10.3.5 at windows 7.Through googaling I know how to create a database block,forms clause data block and stored procedure based datablock in oracle forms.I want to know that as in case of  Database based datablock, could we commit form either on editing records or on insertion or deletion in data block.
    I tried this but got error frm 40501.If we can perform editing and creation in such type of datablock then please tell me how.
    Thank You,
    regards
    aaditya

    When I base my datablock on a query using the "From Clause" property of the block query data source in the oracle Forms 6i,
    I get the strange error
    "ORA-00928: missing SELECT keyword"
    The query I see in the Display Error in Help Menu is
    SELECT DAY_NUMBER,CONSULTANT_ID,EVENT_ID,EVENT_NUMBER,SESSION_NUMBER,HOURS_UNPAID,HOURS_PAID,PAPERWORK FROM (EVENT_ASSIGNED_CONSULTANT) WHERE (CONSULTANT_ID=:1)
    What should I do now?????? Please remove the brackets () from the table name.
    Instead of (EVENT_ASSIGNED_CONSULTANT) use
    EVENT_ASSIGNED_CONSULTANT

  • Accessing Microsoft SQL Server Data by using Oracle Forms 9i

    I am currently working on a Project with Oracle Forms 9i at front end and Microsoft
    SQL server at back end. Could Any one please recommand me the STEPS to connect Oracle forms 9i application with SQL Server database.
    Thanks in Advance...
    M. Aamer Javaid
    Oracle Certified DBA
    [email protected]

    1). Is this functionality be added to Forms 10g or later products or it is obsoleted.
    There are no plans to add OCA functionality.
    2). Steps to connect Forms 9i natively by using Java Importer.
    You will need to write some Java to connect to your source, perform the operations you want to do, and return that data to Forms. Doing this, though, means that you may lose the transaction management functionality that Forms provides for you.
    I cannot tell you what Java to write. It depends on your source and what you want to achieve. As for how to use the Java Importer, this is in the Forms documentation and there are papers on the Forms page on OTN.
    3). Any third party product that can conenct the both products natively.
    I don't know of any.
    Regards,
    Robin.

  • Read and Write files to data base throught Oracle Forms 6i

    Hello, please help me!
    How to attach or insert file into DB throught Oracle Forms and later open it ?
    Is there any possibilities to do that?
    Would be very appresiative!
    Solveiga

    Sorry forgot to add, Below is the code
    BEGIN
      A:=:EXP.D_DIR||'\'||'ACTIVITYS.TXT';
       hFile := Text_IO.Fopen(A, 'w');
      iCount := 1;
      OPEN cData;
      LOOP
    FETCH cData
      INTO  F1;
    EXIT WHEN cData%NOTFOUND;
      IF iCount <> 1 THEN
      Text_IO.New_Line(hFile, 1);
      END IF;
      Text_IO.Put(hFile, F1 );
      SYNCHRONIZE;
      message(to_char(iCount)||' Of '||TO_CHAR(:B1.CCOUNT),no_Acknowledge);
      set_item_property('spin.pro',width,2*round((iCount*100)/NVL(:B1.CCOUNT,1)));
      iCount := iCount + 1;
      END LOOP;
    CLOSE cData;
      Text_IO.Fclose (hFile);
    END;

  • Grid in Oracle Forms

    wil it be possiblt to create a form where we can drag the change the width of the columns in the form. How can this be accomplished?

    This thread is starting to get a bit off topic but if I can maybe add a few lines and then we can break it off into separate topics.
    While Forms does not have a grid control as described, Forms allows you to open up and customise the features of the UI using Pluggable Java components and Java Beans (more on OTN) so you can add this functionality.
    However, I don't want to get into the specifics of VB versus Forms argument because you will always find elements of one tool which beats the other. For enterpise companies and senior management issues, it is much bigger than that.
    As a platform, Oracle gives you the Enterprise database and everything that entails as well as middle tier infrastructure (the application server) and then a whole suite of tools of which Forms is one.
    The pros and cons on a specific direction a company takes would not be made on a couple of "cool" features of the tool but on the sum of the whole and I think that Oracle has proved its success through the customers and its own Applications Suite.
    Hope that helps
    Regards
    Grant Ronald

  • WHEN_VALIDATE_ITEM triggering not preventing the data commit in oracle form

    Hi,
    In my custom tabular form, there are some fields(columns) which actually need to be validated for format HH:MI format. The user should ideally enter HH:MI format but I am putting some validation code to ensure format is maintained either HH:MI(08:30) or H:MI(8:30) where valid values of HH would be 00-23 & MI would be 00-59.
    As usual, I wrote my code in when validate item trigger of the specific item. Code for reference:
    ============================================================
    DECLARE
    v_start varchar2(2);
         v_mid varchar2(1);
         v_end varchar2(2);
    v_attribute3 varchar2(5);
    BEGIN
    v_attribute3 := :XXDWTC_EMP_SCH_DET.ATTRIBUTE3;
         BEGIN
         select decode(instr(v_attribute3,':'),2,substr(v_attribute3,1,1),3, decode(substr(v_attribute3,1,1),'0',substr(v_attribute3,2,1),substr(v_attribute3,1,2)))
         INTO v_start
    from dual;
         EXCEPTION
              WHEN OTHERS
              THEN v_start := NULL;
         END;
    BEGIN
    select substr(v_attribute3,-3,1)
    INTO v_mid
    from dual;
    EXCEPTION
              WHEN OTHERS
              THEN v_start := NULL;
    END;
    BEGIN
    select decode(substr(v_attribute3,4,1),'0',substr(v_attribute3,5,1),substr(v_attribute3,4,2))
    into v_end
    from dual;
    EXCEPTION
              WHEN OTHERS
              THEN v_start := NULL;
    END;
    IF v_attribute3 IS NOT NULL AND v_start IS NOT NULL AND v_mid IS NOT NULL AND v_end IS NOT NULL
         THEN
    IF to_number(v_start) < 0 OR to_number(v_start) > 23 OR TO_NUMBER(v_end) < 0 OR TO_NUMBER(v_end) > 59 OR v_mid <> ':'
         THEN
    --DBMS_OUTPUT.PUT_LINE('Invalid Time Format for In1');
              message('Invalid Time Format for In1');
         message(' ');
         RAISE FORM_TRIGGER_FAILURE;
    END IF;
         /* IF v_mid <> ':'
              THEN
              --DBMS_OUTPUT.PUT_LINE('Invalid Time Format for In1');
              message('Invalid Time Format for In1');
         message(' ');
         RAISE FORM_TRIGGER_FAILURE;
         END IF;
         IF (TO_NUMBER(v_end) < 0 OR TO_NUMBER(v_end) > 59)
              THEN
              --DBMS_OUTPUT.PUT_LINE('Invalid Time Format for In1');
              message('Invalid Time Format for In1');
         message(' ');
         RAISE FORM_TRIGGER_FAILURE;
         END IF;*/
    END IF;
    EXCEPTION
         WHEN OTHERS THEN NULL;
    END;
    ===========================================================================================
    The trigger is getting fired for invalid data(for error pops up) but issue is I am also able to save transaction. Is it like, when validate is only for the purpose of validation before commit and it will not directly impact in commit process.
    Please assist me on the same.
    Regards,
    Ad

    Hi;
    For your issue i suggest close your thread here as changing thread status to answered and move it to Forum Home » Application Development in PL/SQL » Forms which you can get more quick response
    Regard
    Helios

  • Oracle Forms New Features - Your input.  Supporting data types

    I am interested to know IF we were to support any new database types in Oracle Forms 11g, which types would you like supported and why. I'd also like to know if you are currently working around the absence of a database type.
    Please note, this is not any kind of commitment to support new data types in Oracle Forms applications but we are interested to know if there is demand and if so, for what types.
    Thanks
    Grant Ronald
    Oracle Forms Product Management
    p.s lets keep the thread focused on the topic so please don't post technical questions or comments about different new features - if you want to, start a new thread - thanks

    Hi Grant,
    support for the "new" - well they exists since 9iR1 ... 2001 - data types TIMESTAMP, TIMESTAMP WITH TIME ZONE, TIMESTAMP WITH LOCAL TIME ZONE, INTERVAL YEAR TO MONTH and INTERVAL DAY TO SECOND would be very helpful.
    Currently it's not possible to use the Data Block Wizard to create a data block for table/view that contains one of these columns.
    (In Forms Builder 10.1.2.3 it fails with a strange error message ... iewbdbc_oracle_to_id ... C:\forms\101220\src\ie\iewbdb.c:724 ...)
    So, one has to create the data block and the items manually. The items have to be CHARS.
    Then forms is able to fetch and display these columns. The user can edit them as normal.
    A WHEN-VALIDATE-ITEM trigger can be used to make sure that the implicit conversion from CHAR to the "new" datatype works.
    For example, an INTERVAL YEAR TO MONTH column (b):
    declare
      l_invalid_interval exception;
      pragma exception_init(l_invalid_interval, -1867);
      l_invalid_month exception;
      pragma exception_init(l_invalid_month, -1843);
      l_dummy interval year(9) to month;
    begin
      l_dummy := to_yminterval(:block2.b);
    exception
      when l_invalid_interval
      then
        message('invalid interval');
        raise form_trigger_failure;
      when l_invalid_month
      then
        message('invalid month');
        raise form_trigger_failure;
      when others
      then
        message(error_text);
        raise form_trigger_failure;
    end;This nasty trick works for most of the "new" datatypes except with TIMESTAMP WITH TIME ZONE.
    In Forms 10.1.2.3 the following WHEN-VALIDATE-ITEM trigger can (incorrectly!) fail:
    declare
      l_dummy timestamp with time zone;
    begin
      l_dummy := to_timestamp_tz(:block2.a);     
    end;It fails with "ORA-01804: failure to initialize timezone information", if the time zone is not like "-11:00", but like "EUROPE/PARIS". Don't know why...
    If we recode our trigger to make a round-trip to the database, it works:
    declare
      l_dummy timestamp with time zone;
    begin
      select to_timestamp_tz(:block2.a)
      into   l_dummy
      from dual;     
    end;We could avoid these tricks, if Forms (and Reports) would support these type natively.
    Thanks, Michael
    PS: The TIMESTAMP and INTERVAL data types should of course be supported as items, parameters, globals and record groups columns.
    Edited by: michael76 on 25.10.2010 01:14

  • Want to Read BLOB data and display on Oracle form

    Hi All,
    I have a table with a BLOB field and there is blob data saved here against a account id.
    I want to display the blob data on the oracle forms front end for the queried account id
    Any one to help me out how to read and display blob data in Oracle and display the same
    Tks

    this is a commoon request please try to search the forum.

  • Data Grid in Forms

    Hello,
    is there a data grid modul in Forms like this in VB?
    I didn't found something like this.
    Maybe there is a JavaBean that can do this?
    Thanx
    Jochen

    Hi,
    thanx for your fast help.
    The JTable is a nice thing,
    but there are two features I missed:
    - click at the table header, I want to sort the data
    - doubleclick at a row, I want to get the data of this row back to forms
    Do somebody know about a JavaBean that can do this for me?
    Thanx
    Jochen

Maybe you are looking for

  • Pages v5 doesn't update/old documents not readable

    Using Pages to write assignments with iCloud to sync between iPad (travel) and iMac (home). Update iMac with Maverick and then free Pages update to v5. Now can't access old documents !  And the Pages version says v 4,3 even though it says updated to

  • Facetime on Mac to Facetime on phones & touches

    Hi, I have 2 x MBP that both have Face time on them. I can call either MBP from the other one & have a proper conversation with video & audio - so everything works as advertised. However, when i call friends who have either iPhone 4, or the latest iT

  • Embedded video control

    I have imported a video into InDesign and provided a button to initiate play. However I find that as soon as the mouse passes over the video object it begins to play. Is there any way to prevent the video playing on mouse over and only on the button

  • C3-00 uploading photos to facebook

    Hiya I was just wondering if anyone knew how to upload photos straight to facebook from a nokia c3-00? thanks. Grace

  • XMP Metatdaa

    I've got a set of image files (JPEGs) that were exported from Aperture. The Metadata is there, finder's Get info shows it and it shows up in Photoshop too, but other applications, like QPict and the PHP web gallery I use can't see it. I think this is