Gride in Oracle Formns 6i

Dear friends
I am using Forms 6i and 9i Database.
I searched how can I make a gride (like excel gride) in oracle form and I'll have the followin control : sort on column , resize column and move column between eachother, then I read I must use JTable with Bean Area in oracle form( I'm not sure is it correct or not), But I couldn't find how I can do it.
If I can do it with JTable and Bean Area please tell me step by step the method.
Thanks alot

1. If you want simple sort, you can use the blocks property to sort it dynamically
2. Its difficult to integrate java beans in 6i.. Upgrade to 9i or 10g forms.
Rajesh Alex

Similar Messages

  • Unable to display results of multiple query in grid in Oracle SQL Developer

    Hi, I am a newbie to this forum and couldn't find the Oracle SQL Developer forum so posting it here.
    My question: How to display multiple query results in grid in Oracle SQL Developer.
    Example:
    select * from Employee;
    select * from Department;
    - when I select both the queries and hit F5 in Oracle sql developer. By default it displays in output window.
    - How to display result of both the queries in Grid.
    Any thoughts on this would be really helpful.
    Thanks in advance.
    Harsh

    Hi Harsh,
    I'd say that the Results grid is designed to only show the results of 1 query at a time. I don't know/can't see how it would display multiple queries at a time.
    I would suggest either joining your tables to create a single query or opening another SQL Worksheet for one of the queries so that you can display the results side-by-side.
    Maybe you could explain what you're trying to do. Why are you trying to display multiple results in the same query grid?

  • 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

  • How to clone 11gr2 grid and oracle homes

    Hi,
    By mistake I have installed the software and the database under the same disk /u01. I should had installed the software under /u02 and the database + grid infrastructure for standalone server + Oracle restart under /u01.
    My database is 11gR2 on Linux Redhat server.
    I have installed Grid Infrastructure for standalone server and the database in /u01.
    How can I clean clone all these components from /u01 to /u02? I mean the components are:
    - Grid Infrastructure for standalone server under grid user.
    - Oracle Restart under grid user.
    - Oracle software and Oracle database.
    Thank you

    gjilevski1 wrote:
    Hi,
    You can clone everything from GI to RDBMS home.
    For GI cloning look for clone.pl at section 4
    Oracle® Clusterware
    Administration and Deployment Guide
    11g Release 2 (11.2)
    For 11gR2
    http://download.oracle.com/docs/cd/E11857_01/em.111/e12255/oui6_cloning.htm
    Regards,
    Edited by: gjilevski1 on Jun 24, 2011 3:42 PMYou meant section 3 I think http://download.oracle.com/docs/cd/E14072_01/rac.112/e10717/new_clonecluster.htm
    What about desinstalling everything : grid infrastructure, Oracle restart , Oracle homes, databases.
    I have seen some users of this forum complaining of the errors from the de installer.
    can I simply use the Deinstallation Tool downloaded from the OTN and then in ORDER:
    1- Remove the Oracle database home under Oracle User:
    ./deinstall -home /u01/app/oracle/product/11.2.0/db_1
    2- Remove the grid install under the grid user:
    ./deinstall -home /u01/app/11.2.0/grid
    Any idea please?
    Thank you

  • How should I try out Oracle Grid and Oracle database?

    I want to try out Oracle Grid and Oracle database in a virtualized test environment. I have already downloaded the Oracle VM VirtualBox for Windows platform. The OS for the production environment is RHEL. So, do I just need to download Oracle Linux? How about the VM Manager, VM Server, and Oracle programs?

    You can use the standard distribution media from http://www.oracle.com/technetwork/indexes/downloads/index.html and https://edelivery.oracle.com/linux to install Oracle Linux and Oracle 11g in Virtualbox. Virtualbox can use real disk media as well as .iso disk image files. Oracle Linux 6 is not certified for any Oracle database product yet. Your best option will be to install Oracle Linux 5.7 and then install the Oracle-Validated software package to prepare Oracle Linux for the Oracle database installation.
    Virtualbox and Oracle VM are different products. Oracle VM, including OVM server and manager installs its own operating system and is designed for installations on bare metal machines. Virtualbox is an application that requires a primary host OS, e.g. Windows, MacOSX, Linux, to install one or more virtual machines with Windows or Linux guest systems.

  • Updating data from grid to Oracle database.

    Hi
    I am having some trouble updating data in a grid back to the Database. I have provided an example below. I am using the ODP.NET protocol.
    The query in the proc is a simple SELECT * FROM xxxx. There are no joins (outer or inner) at all. The table xxxx has a primary key. The proc is used to fill a grid. It does this correctly by returning data to a DataTable which is then used as the data source for a grid. Then, when I make a change in the grid and press the update button, the application trys to use the da.UpdateCommand = cmdBuilder.GetUpdateCommand() statement and gets the error
    "Dynamic SQL generation failed. No key information found".
    Note I have tried to get around this problem by adding a key to the DataTable ... no luck.
    I also tried da.MissingSchemaAction = MissingSchemaAction.AddWithKey ... no luck.
    I have also tried da.FillSchema(dt, SchemaType.Mapped); ... no luck.
    What am I doing wrong? ... is there a better way?
    public partial class Form1 : Form
    private OracleConnection a_Conn = null;
    private DataTable dt = null;
    private OracleDataAdapter da = null;
    private OracleCommand cmd = null;
    public Form1()
    InitializeComponent();
    private void Form1_Load(object sender, EventArgs e)
    a_Conn = new OracleConnection();
    a_Conn.ConnectionString = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
    a_Conn.Open();
    dt = new DataTable();
    //SPS_TEST is a stored proc that takes no param and simply returns a dataset
    cmd = new OracleCommand("SPS_TEST", a_Conn);
    cmd.CommandType = CommandType.StoredProcedure;
    //setup ref cursor (needed for oracle)
    cmd.Parameters.Add("Cursor", OracleDbType.RefCursor, ParameterDirection.Output);
    da = new OracleDataAdapter(cmd);
    //da.MissingSchemaAction = MissingSchemaAction.AddWithKey;
    DataColumn[] keys = new DataColumn[1];
    keys[0] = dt.Columns["Name of Column with primary key in Table I have queried"];
    dt.PrimaryKey = keys;
    da.Fill(dt);
    //grid is successfully filled at this point
    fpSpread1.DataSource = dt;
    private void btnUpdate_Click(object sender, EventArgs e)
    OracleCommandBuilder cmdBuilder = new OracleCommandBuilder(da);
    da.UpdateCommand = cmdBuilder.GetUpdateCommand();
    dt.AcceptChanges();
    da.Update(dt);
    Rob
    Edited by: user8803094 on 10-Mar-2010 19:38
    Edited by: user8803094 on 10-Mar-2010 20:56

    To the best of my knowledge, and I may be wrong here, a ref cursor does not contain any base table information. It simply contains metadata about what's in the cursor itself. The commandbuilder doesnt know what table the data came from , if it even came from an actual db table at all. As such, it's not possible for the commandbuilder to know how to generate an update statement.
    You CAN update a dataset you created from a refcursor, but you have to supply your own UpdateCommand in the case, rather than using a commandbuilder.
    If your ref cursor is simply a select from a table, it would probably be pretty easy to (at design time) get and note the updatecommand and parameters from a select * from the table, and then use that for the updatecommand of the dataset filled from a refcursor, as the metadata should match up. Probably not something you'd want to do on the fly though.
    Hope it helps,
    Corrections/comments welcome.
    Greg

  • 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.

  • Functions: Oracle VM Manager vs. Grid Control Oracle VM Management Update

    Hello guys,
    i have seen both tools .. and i have to say that some really basic functions are missing in the Oracle VM management addon for Grid Control 10.2.0.5 .. just some examples:
    - Renaming virtual machines (because of the prefix syntax is not very useful)
    - Adding ISOs as CD/DVD after removing them one from the profile (until now you need to know the whole path to the DVD, even if the ISO is registered in the repository)
    - Renaming image files (for example the disks of the VMs .. this would be very helpful in case of cloning machines)
    - List the VNC port for the running VMs
    All these features are available under the VM Manager (except the renaming file part) ... do you know when this will be implemented or is the Oracle VM management update already "finished" in its functions.
    Regards

    Hi,
    You can manage your Oracle VM environment using Oracle Enterprise Manager 12c. Using Oracle Enterprise Manager 12c you can discover Oracle VM Servers, discover storage servers and file systems, create and edit server pools, set up networks and create storage repositories.
    for more information, look at this URL.
    I hope this can help you
    Best Regards

  • 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

  • What exactly is the Grid in oracle 10g

    Please anybody can help on this.
    Thanks
    ARIZ

    There are many definitions of 'Grid computing'. And when you pick a working definition, you will find there are many products and product features that can be said to support that definition.
    I suggest your read Oracle's "Technical White Paper: Grid Computing with Oracle" found here to get their definition and at least part of their product and feature list.

  • 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

  • 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)

  • Invalid bookmark in an unbound Sheridan grid with Oracle 9i

    Hi, we have an application that worked on Oracle 8i with oo4o and oraoldb.
    We use a Sheridan grid in unbound mode with the following code in the unboundReadData event where RecGlobal is an OraDynaset:
    Public Sub UnboundReadData(RowBuf As SSDataWidgets_B.ssRowBuffer, StartLocation As Variant, ReadPriorRows As Boolean)
    On Error GoTo ErrorGridStreetSectorUnboundReadData:
    Dim Rcnt, Rcount, Rcounter As Integer
    If Grid.Redraw = False Then Exit Sub
    If recGlobal Is Nothing Then Exit Sub
    If IsNull(StartLocation) Then
    If ReadPriorRows Then
    recGlobal.MoveLast
    Else
    recGlobal.MoveFirst
    End If
    Else
    'Conversion from HEX string to Binary string
    recGlobal.Bookmark = objMain.HexToBookmark(StartLocation)
    If ReadPriorRows Then
    recGlobal.MovePrevious
    Else
    recGlobal.MoveNext
    End If
    End If
    For Rcount = 0 To RowBuf.RowCount - 1
    If recGlobal.BOF Or recGlobal.EOF Then Exit For
    Select Case (RowBuf.ReadType)
    Case 0
    For Rcounter = 0 To RowBuf.ColumnCount - 1
    RowBuf.Value(Rcount, Rcounter) = recGlobal(Grid.Columns(Rcounter).Name).Value
    Next Rcounter
    RowBuf.Bookmark(Rcount) = objMain.BookmarkToHex(recGlobal.Bookmark)
    Case 1
    RowBuf.Bookmark(Rcount) = objMain.BookmarkToHex(recGlobal.Bookmark)
    Case 2
    RowBuf.Value(Rcount, Rcounter) = recGlobal(Grid.Columns(Rcounter).Name).Value 'recGlobal(Rcounter).Value
    RowBuf.Bookmark(Rcount) = objMain.BookmarkToHex(recGlobal.Bookmark)
    Case 3
    End Select
    If ReadPriorRows Then
    recGlobal.MovePrevious
    Else
    recGlobal.MoveNext
    End If
    Rcnt = Rcnt + 1
    Next Rcount
    RowBuf.RowCount = Rcnt
    ExitGridStreetSectorUnboundReadData:
    Exit Sub
    ErrorGridStreetSectorUnboundReadData:
    Dim ErrNum As Long, ErrDesc As String
    ErrNum = objMain.GetLastError(Err.Number)
    Select Case ErrNum
    Case 3021
    Case 40088: Grid.ReBind 'No open cursor
    Case 40022 'Resultset is empty
    Case Else
    ErrDesc = objMain.GetLastErrorDesc(Err.Description)
    MsgBox ErrNum & " : " & ErrDesc, CriticalFlag, Msg(1)
    End Select
    Resume ExitGridStreetSectorUnboundReadData:
    End Sub
    Here is the code for the HexToBookmark and BookmarkToHex functions we use:
    Private Function Mainfunctions_HexToBookmark(ByVal S As Variant) As Variant
    Dim I As Integer, STmp As Variant
    If IsNull(S) Then Exit Function
    For I = 1 To Len(S) Step 2
    STmp = STmp & Chr(Val("&h" & Mid(S, I, 2)))
    Next
    Mainfunctions_HexToBookmark = STmp
    End Function
    Private Function Mainfunctions_BookmarkToHex(ByVal S As Variant) As Variant
    Dim I As Integer, H As String, STmp As Variant
    For I = 1 To Len(S)
    H = Hex(Asc(Mid(S, I, 1)))
    If Len(H) = 1 Then H = "0" & H
    STmp = STmp & H
    Next
    Mainfunctions_BookmarkToHex = STmp
    End Function
    Now we need to make our application run on Oracle 9i (patchset 9204) (with oraoledb 9.2.0.4.0 and oo4o 9.2.0.4.8) and our Sheridan Grid in unbound mode seems to work fine, except that after some time I reexecute the query to refresh the grid I get an invalid bookmark error message (OIP.4121) and only 10 records from the recordset are displayed even if the recordcount is greater.
    Anything that can help solve this somehow weird problem is welcome.
    Thanks

    I don't see any recent bugs (newer than 8.1) against Sheridan's grid. I assume you are on the most recent release of their grid control as well?

  • Grid Computing: Oracle Profile

    I am a student at Lansing Community College. Recently profiled in the September/ October Edition of Oracle Magazine I subscribe to. I currently use JDeveloper for Java and Web Development. I am writing a term paper on Grid Computing and its impact on Enterprise IT. Oracle, being at the front of the Development and Implementation of Grid, I have chosen them to profile. I have found alot of information online, however I would like to set up an interview, face to face. I know that there is a regional office in Troy, Michigan. I am willing to make the trip if someone was willing to spare 30 minutes of their time that is knowledgeable in Grid technology. If anyone can help, or has advice, please let me know at [email protected] Thank you in advance.
    - Martin Burris
    [email protected]

    OTN has a whitepaper on "Workload Management with Oracle Real Application Clusters". I suggest you read that, as it's likely to be a fuller explanation than we can give you here. Find out more.
    Of course, if you still have questions after you've read that paper feel free to post them.
    Cheers, APC

  • 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,

Maybe you are looking for