Which two statements define a Static Record Group?

Hi all
I read this question and I do not know the answer
the question is
Which two statements define a Static Record Group? (Choose two)
A. The Record Group can be created only at run time.
B. The Record Group is not associated with a query.
C. The Record Group can be created and modified only at design time.
D. The Record Group can be created and modified at design time or at run time.
E. You can modify the structure of this Record Group by adding columns and rows at run time.
F. You can modify the structure of this Record Group by associating it with a query at run time.

Types of record group, either Static or Query:
Static     Specifies that the record group is constructed of explicitly defined column names and column values.
The values of a static record group are specified at design time and cannot be changed at runtime.
Query     Specifies that the record group is associated with a SELECT statement, and thus can be populated dynamically at runtime.
When you select this option, enter the SELECT statement in the multi-line field provided, then choose Apply.
So answers B and C
From Forms Help

Similar Messages

  • Which two statements are true about WHERE and HAVING clause ?

    Which two statements are true about WHERE and HAVING clause ?
    1. WHERE clause can be used to restict rows only
    2.HAVING clause can be used to restrict groups only
    3.HAVING clause can be used to restrict groups and rows
    Plz help me in dis ques...which two will be correct...i think its 1 and 2...but not sure.

    863180 wrote:
    Plz help me in dis ques...which two will be correct...i think its 1 and 2...but not sure.If you are not sure then you do not fully understand HAVING.
    SY.

  • How to create Static Record group in Oracle Forms??

    Dear All,
    I have the following values V1,V2 to be placed in my list item field during DML operations.
    I have an example to create the record group based on the table; whereas i have never tried for static value creation.
    Could you please guide me how can i acheive this.?
    Thanks ....
    Regards,
    Sunil.G

    Thanks dhivya for your reply.
    Actually what happens is; when i use the same methodology as you mentioned, it is asking me to set the Initial value.
    Whereas in my applications; user has to manually select any of the values i.e eithe V1 or V2 for the first time.
    Moreover i have found the query:-
    I have created a static record group RG_VERSIONS i.e creating a new record group with the static values mentioning the "Column names " as "Version_label" which i have given the column values as "V1" and "V2" and then another column name as "Version_value" with the column values as "V1" and "V2".
    Then i used the below query in the WHEN-NEW-FORM-INSTANCE trigger:-
    PROCEDURE p_when_new_form_instance
    IS
    l_rg_id recordgroup;
    l_item_id item;
    BEGIN
    --Populating value for  Version Type based on static record group
    l_rg_id := FIND_GROUP ('RG_VERSION');
    IF NOT ID_NULL (l_rg_id)
    THEN
    l_item_id := FIND_ITEM ('BLOCKNAME.COLUMN_NAME');
    POPULATE_LIST (l_item_id, l_rg_id);
    END IF;
    END p_when_new_form_instance;
    Then it was working fine.
    Thanks for your time.
    Regards,
    Sunil.G
    Edited by: Sunil G on Jun 27, 2010 6:00 AM

  • Which two statements about custom catalogs are true

    Which two statements about custom catalogs are true? (Choose two.)
    A. A category cannot contain catalogs.
    B. Catalogs can contain one or more subcatalogs.
    C. A product can only belong to one category.
    D. Each category exists in one and only one catalog.
    thanks

    Hi,
    Which two statements about custom catalogs are true? (Choose two.)
    A. A category cannot contain catalogs. -> FALSE
    B. Catalogs can contain one or more subcatalogs. -> TRUE
    C. A product can only belong to one category.-> FALSE
    D. Each category exists in one and only one catalog.->FALSE
    To my knowledge, it seems only one of these is true.
    Thanks,
    Gopinath Ramasamy

  • Static record group and lov problem

    hi all,
    1)I created a form module
    2)created a basic datablock based on empno and ename from emp table.
    3) created a static record group ,where i specified the column name as col1,provided the values as 1 ,2,3,4,5 etc
    4) created an LOV and assigned the above record group to the LOV
    5) then assigned the lov to the emp.empno item in the datablock emp....
    when i run the form .....i get the list of values message on the console (bottom end of the window) ....
    but I am not able to see the LOV when i press the cntrl L or see it from the edit menu command ?
    what must be the problem ?
    ta
    s

    Dear,
    May be you don't set LOV's "Column Mapping Properties". After setting the properties correctly you will be able to display LOV.
    Thanks.

  • Form Builder Static Record Group

    Hi Folks,
    I am a part of a development team where we do parallel development where a team in India is working on certain forms and we work on other forms.
    We faced a peculiar problem, both the teams use Oracle Forms 6i, but we lose values in the static record group attached to Static LOV.
    Have any one of you faced this problem before, please let me know.
    With Regards,
    Srikanth

    Hi all
    Should I install patches for correcting this problem ?
    Thanks and Regards,
    Srikanth

  • Record group/list of values question

    Is it possible to assign one record group/list of values to multiple data items on a canves? If so, how is it done.
    Thanks

    Thanks for the replies..
    What I have is this... I have a db record with 3 currency code fields, three different types of codes, displayed on the canvas. When the user mouse's over to any of the currency code fields, I wanted the lov to pop up and the user pick one of the selections. The lov has 2 columns, country and currency
    Ex: France | Euro
    U.S. | Dol
    I built this as a static record group. If I'm in the second currency code field and pick a value, the first currency code field gets overlayed with the new value.

  • Passing record group to the report...

    Hi
    I am using form 6i ..
    I have got error while passing record group to the report
    Here is the code... , I Wrote it when_button_pressed trigger
    declare
         pl_id paramlist;
    begin
    pl_id := Get_Parameter_List('tmpdata');
         IF NOT ID_NULL(pl_id) then
              destroy_parameter_list(pl_id);
         end if;
         pl_id:=create_parameter_list('tmpdata');
    ADD_PARAMETER(pl_id,'NICE_QUERY',DATA_PARAMETER,'NICE_REC' );
    Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
         RUN_PRODUCT(REPORTS,'E:\DEPT',SYNCHRONOUS,RUNTIME,FILESYSTEM,PL_ID);
    The error is frm-47012 There is no record group with this name nice_rec......
    Thanks

    The error message (FRM-47012) is very specific. Do you have a Record Group defined in the Record Group Node of the Navigator called 'NICE_REC'?
    Hope this helps.
    Craig...
    -- If my response or the response of another is helpful or answers your question, please mark the response accordingly. Thanks!

  • Save Record Group modifications

    Dear members,
    (Forms 6i c/s)
    I create or alter static record groups with values from a database at runtime, with the CREATE_GROUP built-in.
    Is there a way to save those modifications (in a FMB, an OLB or anything) at runtime, so they can appear at design time ?
    Thanks a lot.

    store it in a table and populate the group from a query?!
    persistance in anything other than the database is going to be quesitionable to say the least - even if it is possible.

  • Record Group In Insert Statement

    Hi All,
    I am using Oracle 9i Ver 2 & Developer 6i on Windows platform. I want to ask, can we pass a Form's Record Group object to a select statement as a whole. I mean something like this,
    Suppose emp_rg is a Forms RecordGroup which has all the columns of scott.emp table & it contains 10 rows. So, can I write like this:
    INSERT INTO emp VALUES(emp_rg);
    Or anything like this, if this is wrong.
    Or, I need to create a PL/SQL record object & then I can pass. Pls clarify.
    Thanks in Advance,
    Inderjeet Singh

    Yes I often have trouble deciding whether to use a record group or a pl/sql table. They both have their own advantages in different situations. Manipulating record groups programatically requires rather more cumbersome syntax, but they do come with some handy built-ins (such as populate_group), and they also integrate with LOVs, Trees etc.
    If you want the pl/sql table to be available throughout the form you will need to declare it in a package spec.
    Even with a pl/sql table, you will need to write code to feed it into your insert statement. I reckon a global temporary table might allow the most straightforward syntax.

  • Creating a record group not via select statement

    Normally a record group is created via a select statement
    (f.e. Querystr='Select deptno,dname from dept
    populate_group_with_query( GroupId, QueryStr )
    Is it possible to create it via a package procedure sending a
    refcursor / array

    FIND_GROUP(groupname);
    CREATE_GROUP_FROM_QUERY(groupname, qry);
    POPULATE_GROUP_WITH_QUERY(rgid, qry);
    Add_Group_Column(...);
    Add_Group_Row(...);

  • What are record groups for?

    hi,
    Could anybody tell me what is the main purpose of creating record groups whith statements like: create_group_from_query, populate_group, ...
    Every time we want to access any records we can use blocks which are based on tables or views which are in Oracle Data Base. So what is the reason of creating record groups?
    please explain my that issue:)
    Grzegorz

    hi grzegorz,
    Record Group is one which is used with LOVs and List Items.
    for the use of LOV & List items u must have to define record group through whis the List items or LOV is belogs to that group.
    A record group built from a query can store records from database tables much like a database view, with the added advantage that the record group is local to Form Builder, rather than existing in the database.
    To know more about record group, form builder's help is good way,
    Regards
    Chandan

  • Record Group Urgent

    I am trying to populate a record group at runtime. This record group is based on query.
    My SELECT statement has a where clause. To this where clause i pass a CHARACTER value in single quotes.But its show error CANNOT CREATE RECORD GROUP.
    But if i pass a numeric value it works fine.
    Can any one tell me how to pass a character value in single quotes to a select statement which itself is in single quotes.
    thanx in advance
    Please mail the solution [email protected]
    navneet jain

    If I understood what you're asking...
    'select ... where columna = ''a'' and columnb = 1'
    (note the two 's - they are not a ")

  • Oracle VM - defining a static network

    Hi,
    I'm not sure if I'm thinking about this right or not, but I'm trying to define an interface on a VM that uses a static ip address. I'm doing this through the web services API, but I would be happy to better understand how OVM does networking.
    In any case, I'm calling the addNIC command which requires a VM and a NICconfig. The NICconfig has a place for IP address, netmask, etc. Here is an example set of args I provide:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <jbi:message xmlns:msgns="http://oracle.ovs.api/" type="msgns:LifecycleService_addNIC" version="1.0" xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper">
    <jbi:part>
    <addNICElement xmlns="http://oracle.ovs.api/types/">
    <virtualMachine xmlns:ns0="http://oracle.ovs.api/types/" xmlns:ns1="http://www.oracle.com/webservices/internal/literal" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns0:VirtualMachine">
    <ns0:imgName>test-vm-2</ns0:imgName>
    <ns0:comments xsi:nil="1"/>
    <ns0:imgId>110</ns0:imgId>
    <ns0:bootDevice>
    <ns0:bootDevice>HDD</ns0:bootDevice>
    </ns0:bootDevice>
    <ns0:imgSize>6205</ns0:imgSize>
    <ns0:vncPassword>XXXXXXXX</ns0:vncPassword>
    <ns0:maximumMemory>1024</ns0:maximumMemory>
    <ns0:publish xsi:nil="1"/>
    <ns0:cpuNumber>1</ns0:cpuNumber>
    <ns0:haEnable>false</ns0:haEnable>
    <ns0:uuid>69949450-d3b9-4ffa-a0a2-8b0b7c4198c7</ns0:uuid>
    <ns0:operatingSystemName>Oracle Enterprise Linux 5 64-bit</ns0:operatingSystemName>
    <ns0:createTime>1257357624422</ns0:createTime>
    <ns0:parentImg>90</ns0:parentImg>
    <ns0:systemPassword xsi:nil="1"/>
    <ns0:location>110_test-vm-2</ns0:location>
    <ns0:memory>1024</ns0:memory>
    <ns0:systemLogin xsi:nil="1"/>
    <ns0:platform xsi:nil="1"/>
    <ns0:deploy>Auto</ns0:deploy>
    <ns0:status>
    <ns0:code>2</ns0:code>
    <ns0:status>Powered Off</ns0:status>
    <ns0:vmId>0</ns0:vmId>
    </ns0:status>
    <ns0:vncPort xsi:nil="1"/>
    <ns0:imgIp xsi:nil="1"/>
    <ns0:poweronTime xsi:nil="1"/>
    <ns0:architecture xsi:nil="1"/>
    <ns0:virtualMachineType>
    <ns0:vmType>Paravirtualized</ns0:vmType>
    </ns0:virtualMachineType>
    <ns0:keyboardLayout>en-us</ns0:keyboardLayout>
    <ns0:pvdriver>false</ns0:pvdriver>
    <ns0:cpuCap>100</ns0:cpuCap>
    <ns0:cpuPriority>50</ns0:cpuPriority>
    </virtualMachine>
    <nicConfig>
    <ipAddress>129.146.137.195</ipAddress>
    <subnetMask>255.255.255.0</subnetMask>
    <qosEnabled>false</qosEnabled>
    <dnsServer/>
    <frontEndName/>
    <domainName/>
    <defaultGateway/>
    <hostName>vm-test2</hostName>
    <rateLimit>0.0</rateLimit>
    <bridge>xenbr0</bridge>
    <networkConfType>
    <type>STATIC</type>
    </networkConfType>
    <name>VIF0</name>
    <networkType>
    <networkType>NETFRONT</networkType>
    </networkType>
    <macAddress>00:16:3E:11:11:11</macAddress>
    </nicConfig>
    </addNICElement>
    </jbi:part>
    </jbi:message>
    However, when I do an ifconfig -a on the VM, there are two main issues:
    1. The eth0 interface looks to be preconfigured, but does not show up when I query the interfaces on the VM
    2. The eth1 has the MAC address provided above, but does not have the IP address or netmask set
    Some side questions:
    * what are appropriate values for "frontEndName"?
    * can Oracle VM generate a MAC address for me using the API? If so, how? I tried to leave it empty and got an error indicating that it must be provided.
    Thanks in advance,
    John

    jxstanford wrote:
    That makes sense (not that it's proper). I'm basically seeing what you described which is an initial interface that shows up in vm.cfg, but not in the OVM GUI. I'm still struggling to define a static interface with an IP address. When you mass create your VMs, are you using DHCP to assign addresses, or do you have a solution for setting up a static IP address?I have a solution: I use a source text file that contains data like server hostname, IP address, netmask, static routes, etc. I then cycle through each VM and loop-mount the system.img itself. Once mounted, I inject the configuration details into the appropriate files on the disk (like a ninja!). This is possible for both normally partitioned and LVM-based virtual disks, though the LVM stuff requires a little bit more work to enable/disable the volume groups each time. If you ping me at my [email protected], I can send you the (very dodgy) script I've been using so far.
    Note however that this is something that Enterprise Manager's VM Management Pack can do in a GUI environment: You are able to mass create/configure guests using EM and it will use the same mechanism to inject IP configuration data into the guest prior to boot. It can also auto-configure EM agent as well.

  • Problem in Creation of two Statement Obj

    Hello firends,
    i have a problem regarding Creating two Statement obj
    its not allowing me to do
    <%!
    Statement stmt1;
    Statement stmt1;
    Connection con;
    dbcon db;
    %>
    <%
    db=new dbcon(); (its database connection class which m importing)
    try
    con= db.getDbCon();(method of dbcon class)
    stmt1=con.createStatement();
    stmt2=con.createStatement();
    in above two line its giving me error
    And when i use
    con1= db.getDbCon();(method of dbcon class)
    con2= db.getDbCon();(method of dbcon class)
    stmt1=con1.createStatement();
    stmt2=con2.createStatement();
    then its working fine
    so i know this is not the proper way to doing thing so how should i solve this problem
    plz help me
    }catch(SQLException)
    }

    Thanaks for reply but my that problem is solved,i would like to ask u
    i have following simple code
    <%@ page import="java.sql.*,com.example.model.*" session="true" %>
    <%!
    ResultSet rs;
    Statement stmt;
    Connection con;
    %>
    <%
    dbcon cn=new dbcon();
              con=cn.connectdb();
              try
    stmt=con.createStatement();
    rs=stmt.executeQuery("select mf_id,mf_lr_id,mf_origin,mf_destination from Manifest");
    if(rs.next())
    out.println(rs.getInt("mf_id")+"<br/>");
    out.println(rs.getInt("mf_lr_id")+"<br/>");
    out.println(rs.getInt("mf_destination")+"<br/>");
    out.println(rs.getInt("mf_origin")+"<br/>");
    }catch(SQLException se)
    out.println(se);
    }finally
    try
    if(rs!=null)
    rs.close();
    if(stmt!=null)
    stmt.close();
    if(con!=null)
    con.close();
    }catch(SQLException se1)
    %>
    in this code m just fetching "mf_destination" field before "mf_origin"
    thien its giving Error Msg
    89
    58
    14 java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Invalid Descriptor Index
    and suppose i fetch it in sequence as define in select stmt then its working fine.
    so this sequence i can maintain in small data but if i use
    Select * from ........
    then should i fetch all data as its sequence in database Table

Maybe you are looking for

  • Using a hotmail account as Mac Mail?

    A friend has an Apple which a few years ago downloaded a plugin to allow all emails from hotmail come to her Macmail application on her Macbook. She can also send mails from here as normal and they are sent as if in her hotmail account. However, she

  • Newly purchased songs not syncing with icloud

    I have purchased a song on my iPhone and iPad and neither song has synced to my desktop or iPhone or iPad via the iCloud.  I have updated to all the proper operating systems and have the store set up to automatic downloads.

  • Performance Check - ABAP and Database color bars

    Hello everyone, When i go for the performance check of my object, i see Database in red bar and ABAP in green bar. The smaller the difference between these two bars, the better. But what does the color mean ? ( Somethimes the smaller bar is Red ) Tha

  • Adobe flash player crashes or hangs!

    Ok, so whilst using Firefox, lately adobe flash player has been crashing upon opening a YouTube video. This could be when i click a video and the new page opens and freezes, or when I actually get to the video but it then crashes. Alongside this, som

  • Launching Asset Editor in OER throws exception

    Hi, While Launching Asset Editor, in the middle of my work, I started facing one issue. From OER Console (http://localhost:7101/oer), when I click on Edit/Manage Assets Link, it downloads registrartool.jnlp file. When I double click on this file, It