How to know all the elements in a block

Hello everyone.

Im working with forms and the States 10 G.

One quick question.

I need to know all the elements in a block.

I know with the get_block_property premier_enregistrement and Last_record I know the first and the last point in a record, but
How do I know all the others?

Thanks in advance and greetings to all.
Happy Cristmast

You can the fisrt element in a block using GET_BLOCK_PROPERTY ('BLOCKNAME', FIRST_ITEM);
then the loop above the element

LOOP
  vcItem:=GET_ITEM_PROPERTY(vcItem, NEXTITEM);
  EXIT WHEN vcItem IS NULL;
END LOOP;

Tags: Oracle Development

Similar Questions

  • How to know all the collections photo belongs

    I would like to know all the collections in which appears a given photo

    Thank you for your response.

    What is a false picture?

    When I click on the little badge he told me that the picture belongs to the collection that is selected, even if this photo belongs to 2 collections. I would like to know all the collections in which appears a photo.

  • How to get all the elements form Jdev10.1.3.4

    Hello
    I have a form on his land is not bound to VO. Pagedef empty.
    each element has the id and binding.
    <af:inputText label="#{r['questionnaire.surname']}"
                                  required="true" id="surname"
                                  binding="#{QuestionnaireBean.surname}"
                                  />
    I want to get an array of elements.

    for a list of links
             BindingContainer bindings = getBindings ();
             bindings.getAttributeBindings ();
    null (())

    As you request your empty pagedef, which is what you do with

    BindingContainer bindings = getBindings ();
    bindings.getAttributeBindings ();
    

    It returns null. It is the expected behavior.
    You have to walk the tree of components for all components check each of this type and get the information from the component itself. You can use something like

    // reset all the child uicomponents
    private void getAllUIItems(AdfFacesContext adfFacesContext,
                                     UIComponent component){
       List items = component.getChildren();
       for ( UIComponent item : items ) {
    
           getAllUIItems(adfFacesContext,item);
    
           if ( item instanceof RichInputText  ) {
               RichInputText input = (RichInputText)item;
               //do your work here e.g. store id in an array
               };
           } else if ( item instanceof RichInputDate ) {
               RichInputDate input = (RichInputDate)item;
               //do your work here e.g. store id in an array
               };
           }
       }
    }
    

    You may need to change the signature of the method to return the array of ID...

    Timo

  • How to find all the elements a permission scheme is associated with?

    Hello

    It is a follow-up to thread unable to table the request APEX_APPLICATION_ALL_AUTH

    Looks like discover APEX_APPLICATION_ALL_AUTH shows * most * items that a licensing system is related to, but apparently not enter information on IR report columns (it does not capture standard report though - columns for example, I have items in the component type "Report column Page" report).  I ran another report however view APEX_APPLICATION_PAGE_IR_COL and found an article not on the previous.  Are there other elements that does not capture the APEX_APPLICATION_ALL_AUTH?  Or between these two views of report I will be able to see any component, page, column report etc. which has a related authorization scheme?

    Thank you

    Steve

    Hello

    I was able to confirm that this is a bug and it will be corrected in the next version of Application Express 5.0.

    Steve

  • Get all the elements of a spread

    Hi all

    How to get all the elements (images, etc.) of the current spread?

    I know we can get the items on a page by < ISpread > GetItemsOnPage(), but how to get ALL the items (including who are located outside of the page but on the spread)

    Thank you

    Hello Shawn,

    You can browse all the pages on the spread and call GetItemsOnPage with the parameter bIncludePasteboard = kTrue.

    Markus

  • How can I view all the elements of an array?

    Hello

    I'm learning about the handling of tables.  The example finder includes this one, 'build array_forum.vi', which shows the two modes, concatenate and adding, I understand, HOWEVER, I can't understand how they built this vi.  For example, I can find the Array function to build, but I do not understand how they created the "digital data table 1" "data table 2" digital... etc, and I can't find the functions on the pallets that cause display "build the CONCATENATE entries table". ".  Where are these blue functions?

    Where these functions are found in the palette, and how we build them like that?

    The other vi indicated here, 'for loop array_forum.vi' is my attempt to reproduce, but it doesn't show all the elements of the array; However, it only displays a SINGLE element, the last element of the array.  How can I view all the items in the table I am creating using the FOR LOOP?

    Thank you

    Dave

    I think I posted this in the wrong place.  I reposted it on the forum of Labview.

    Dave

  • How to know all of the standard reports available under EBS R12

    Hi all

    How to know all of the standard reports available under EBS R12?

    Is there a SQL seeking standardized reports (finance, HR, OM.. etc) available under EBS R12?

    If you have advice or a solution, please update your comments freely.


    Kind regards

    Hi all

    I see notes 561585.1 and found the SQL

    Concerning

  • How can I know all the history for any shape?

    How can I know all the background and updates on any form of user names and the time or what on the log files?

    Hello.

    On a form, the historical record is limited to the user who created the file, and when it was created, or updated.
    If you need more information, you will need to implement an audit trail.

    Octavio

  • How to browse all path elements present in the group through jsx items?

    I want to browse all the elements of this path in the group element and group items can have several unit inside the item they want to cross deep into the tree, I did through recursive function, but could not get exactly the result please share any script code.

    2015-08-20_1836.png

    function groupTopath (pageItems, index) {}

    try {}

    for (var j = 0; j)< pageitems.length;="" j++)="">

    If (.) TypeName pageItems [j] == 'GroupItem') {}

    groupTopath (.pageItems [j] pageItems, index);

    } ElseIf (.) TypeName pageItems [j] == 'PathItem') {}

    If ((.selectedPathPoints.length pageItems [j] == 13 ||.)) selectedPathPoints.length pageItems [j] == 8) & (pageItems [j] .height< 3="" &&="" pageitems[j].width="">< 2.5))="">

    tmSymbolPathItems [index] .push (pageItems [j]);

    }

    }

    }

    } catch (e) {}

    }

    }

  • How do you know all the username of connection system/system

    Hi all

    I want to know all the usernames of connection of the system that are existing as user


    concerning

    Srinivas

    Hello

    With the help of DBA_USERS will give more details

    select * from dba_users;
    

    Concerning

  • How do to know all the tables on peoplesoft (on Oracle 8.1) with data

    I need to know all the tables on peoplesoft (on Oracle 8.1) < strong > with < facilities > data
    and ignore the tables without data.

    It takes to write a pl/sql procedure or is there an easy solution?
    I wrote an example of code, but I am disconnected programming
    for the long and I need help.
    Thanks in advance
    Pls answer
    _______________
    Cursosr curtab is select table_name from dba_tables;
    curtab() loop
    Select count (*) x from curtab;
    If x & gt; 0
    UTL_FILE. Write ('curtab')
    on the other
    null;
    endif;
    end loop;
    ____________________

    Julia wrote:
    I need to know all the tables on peoplesoft (on Oracle 8.1) with data
    > & ignore tables without data.
    >
    > It takes to write a pl/sql procedure or is there an easy solution?
    > I wrote a code example, but I am disconnected programming
    > for a long time and I need help.
    > Thanks in advance
    > Pls answer
    > _______________
    > Cursosr curtab is select table_name from dba_tables;
    > curtab() loop
    > select count (*) x from curtab;
    > If x > 0
    > utl_file.write ('curtab')
    > other
    > null;
    > endif;
    > end of loop;
    > ____________________

    Consider using the user_tables and it works the relevant schema rather than dba_tables breast or of all_tables as these allows you to specify the schema name too will require.

    set serveroutput on;
    
    DECLARE
      cursor curtab is
        select table_name
        from   user_tables;
      --from   all_tables where owner = '';
      v_cnt NUMBER;
    BEGIN
      FOR t IN curtab
      LOOP
        EXECUTE IMMEDIATE 'select count(*) from '||t.table_name INTO v_cnt;
        IF v_cnt > 0 THEN
          DBMS_OUTPUT.PUT_LINE(t.table_name);
        END IF;
      END LOOP;
    END;
    /
    

    Or...

    Ensure that statistics were collected for the schema and examine the value of num_rows in the user_tables view. ;)

  • Adding timestamp with all the elements of a 2D array

    Hello

    I want to add a stamp in real time with all the elements of a 2d array before writing on a worksheet. My 2d array consists of amplitude and frequency.

    kindly guide me how to do this.

    Best regards

    RASHID

    That it should be now.

    Kind regards

    Kevin

  • Why all the elements of the array does not appear?

    Hello

    I'm learning about the handling of tables.  The example finder includes this one, 'build array_forum.vi', which shows the two modes, concatenate and adding, I understand, HOWEVER, I can't understand how they built this vi.  For example, I can find the Array function to build, but I do not understand how they created the "digital data table 1" "data table 2" digital... etc, and I can't find the functions on the pallets that cause display "build the CONCATENATE entries table". ".  Where are these blue functions?

    Where these functions are found in the palette, and how we build them like that?

    The other vi indicated here, 'for loop array_forum.vi' is my attempt to reproduce, but it doesn't show all the elements of the array; However, it only displays a SINGLE element, the last element of the array.  How can I view all the items in the table I am creating using the FOR LOOP?  I am doing something wrong with the LOOP FOR?

    Thank you

    Dave

    Right-click your scoreboard, uncheck the "Display as icon" and see what happens.  There are two ways of viewing terminals, most of us like the simple point of view, the default value is the display of the icon.

  • Adding timestamp with all the elements of a table 1 d

    Hello

    I want to add a stamp in real time with all the elements of a 1 d array before writing on a worksheet.

    kindly guide me how to do this.

    Best regards

    RASHID

    Hi rachid,.

    Whence this table? Is a device for the acquisition of data AND measurement data?

    If yes you can just change the type of waveform data, where a timestamp is included.

    However, you can also create a waveform on your table 1 d using construction wavefrom, as here:

    Christian

  • How to view all the files on my computer from big to small

    Hello

    could someone tell me how to view all the files on my computer from big to small

    There should be thousands of them. music movies photos the entire batch.

    THX

    Hello

    I suggest that you sort files by size and check if that helps.

    Reference:

    Behavior and change folder views

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-folder-views-and-behavior

    Work with files and folders

    http://Windows.Microsoft.com/en-us/Windows-Vista/working-with-files-and-folders

    Demo: Working with files and folders

    http://Windows.Microsoft.com/en-us/Windows-Vista/demo-working-with-files-and-folders

    Let us know if it helps.

Maybe you are looking for