Get number

Hello
I use forms6i.
I have a datablock in my form, which returns records (say) 3.
User has added 2 new records.
I now want to know the total number of records displayed in the of (now it is 5).
How can I get that.

Help, please

Thank you

Adkins,

Create an element and set its Mode of calculation as summary, summary function as a County block summarized as detailed block and the Article summarizes as an element contained in this block. Make sure also that detailed the block all the records in query is set to Yes.

Kind regards

Manu.

If my answer or the answer to another person has been useful or appropriate, please mark accordingly

Tags: Oracle Development

Similar Questions

  • Why when I press on my delete button doI get number six instead of dele6te

    Why when I press on my delete button doI get number six instead of dele6te as you can see in the word delete 6666666

    Although some other possibilities are the most likely cause is a faulty keyboard. If you can borrow a USB keyboard free to try see if the problem still occurs. You can even do this with a laptop and I have both internal and external keyboard active.

  • How to get number of a character Page?

    Currently I get a character by CreateOutlines Page

    Dim oaPols = oChar.CreateOutlines (False)

    Download oaPols (1) page of the object.

    But sometimes Indesign was the crash by this code: Dim oaPols = oChar.CreateOutlines (False)

    How to get number of a character Page?

    Willi Adelberger wrote:

    Why do you do the contours? It should NEVER be done in InDesign!

    Hey Willi,

    the OP is trying to find a method to get the page name of a character given somewhere on a page or on a spread and use a VB-Script scripting method.

    The False parameter in the method indicates that the character will be duplicated on top of the character as an outline object.
    In the user interface you select a character and press and hold the ALT key when you use the menu command for this.

    Usually we take the object returned after obtaining the information of her by the script.

    But obviously something bad on the side of the OP, because InDesign crashes if this method is used on one of the sample characters. Usually a geometrical object on a page will return the page object as the value of his property in parentPage (ExtendScript).

    I'm not in VB-Script, so here's an excerpt from ExtendScript to get the name of the page in the text of a character block.

    Select a character and run the code snippet:

    // ExtendScript (JavaScript) snippet
    // One single character should be selected:
    
    var myCharacter = app.selection[0];
    var result = myCharacter.parentTextFrames[0].parentPage;
    
    if(result == null)
    {
        alert("Character's text frame is considered on the pasteboard")
    }
    else
    {
        alert("Character's text frame is considered on page: "+result.name)
    };
    

    Now, back to the createOutlines() method.

    It would fail on for example all white space characters and characters that represent a fixed page element.

    It would also fail if the character is in the overset text.

    createOutlines() would be to raise an error, but should not crash InDesign.

    Now go to the OP to the following questions:

    What is the character that you try to use the method with?

    Is there excess in text?

    What is your exact version of InDesign?
    What is the exact version of your Windows operating system?

    Kind regards
    Uwe

  • automatically get number (page_id) of each page and its title

    Hello
    I want to get number (page_id) of each page and its title in an application automatically.how APEX can I do? can someone help me?
    Thank you very much in advance!

    Hello

    Try:

    SELECT PAGE_TITLE FROM APEX_APPLICATION_PAGES
    WHERE APPLICATION_ID = &APP_ID.
    AND PAGE_ID = &APP_PAGE_ID.
    

    Andy

  • Failed to get number of unread text is displayed on the message icon

    I can't get the message icon to show me the number of unread texts.  I have the settings on alert banner that I've always had this

    Make sure you app icon badge is defined on it. Definition > Notifications > Messages > the app icon Badge. -AJ

  • How can I get number of the receiver during the call?

    Hello

    How can I get the number to which I ask? but before the call is ended? but something else

    _phoneCallLog = (PhoneCallLog)_phoneLogs.callAt (_i, _phoneLogs.FOLDER_NORMAL_CALLS);

    _callNumber = _phoneCallLog.getParticipant () .getNumber ();

    as this does not work with n - 1 behind. and I won't get it the number that I call right now, but I can get the last number that I called.

    Phone.getActiveCall () .getDisplayPhoneNumber)

  • Get number of vacation between startdate and enddate

    I have to get the number of holidays including Saturday and Sunday using HOLIDAYDATEMASTER if between the StarDate and enddate having any leave
    Here is my procedure if the execution of this procedure
    StartDate:12/21/2012 - jj/mm/aaaa endate:12/26/2012 iam get result = 2 only true not
    included 25 holidaydate (sat 22, Sun 23) can u pls help me for this

    CREATE TABLE HOLIDAYDATEMASTER (HOLIDAYDATEID NUMBER not null, HOLIDAYNAME VARCHAR2 (100),)
    DATE OF HOLIDAYDATE, HOLIDAYYEAR NUMBER (10));


    insert into HOLIDAYDATEMASTER (HOLIDAYDATEID, HOLIDAYNAME, TO_CHAR (HOLIDAYDATE,' DD-MON-AA, HOLIDAYDATE, HOLIDAYYEAR))
    values (461, "Christmas day", December 25, 2012 ', to_date (December 25, 2012 ',' dd-mm-yyyy ""), 2012);



    CREATE OR REPLACE PROCEDURE p_Holiday_DAYS
    (V_START_DATE AS, V_END_DATE AS, OC_DUR CERTAIN NUMBER)
    IS
    DAY_COUNT NUMBER: = 0;
    DATE OF CURR_DATE;
    current_date_is_holiday NUMBER;
    NUMBER OF LC_DUR;

    BEGIN
    CURR_DATE: = V_START_DATE;

    WHILE to_char(CURR_DATE,'dd/mon/yyyy') < = to_char(V_END_DATE,'dd/mon/yyyy')
    LOOP
    If CURR_DATE = V_START_DATE THEN NULL;
    ON THE OTHER
    Select count (*) in current_date_is_holiday
    from HOLIDAYDATEMASTER where TO_CHAR(holiDAYdate,'DD-MON-YYYY') = CURR_DATE;

    DBMS_OUTPUT. PUT_LINE ('CURR_DATE :'||) CURR_DATE);

    DBMS_OUTPUT. Put_line ('current_date_is_holiday' | current_date_is_holiday);

    If current_date_is_holiday = 0 then
    IF UPPER (TO_CHAR(CURR_DATE,'DY')) IN ("SAT", "SUN") THEN
    DAY_COUNT: = DAY_COUNT + 1;
    on the other
    DAY_COUNT: = DAY_COUNT + current_date_is_holiday;
    END IF;
    END IF;
    END IF;


    CURR_DATE: = CURR_DATE + 1;
    END LOOP;
    OC_DUR: = DAY_COUNT;

    END P_Holiday_DAYS;

    Hello

    Why not create a function:

    CREATE OR REPLACE FUNCTION p_holiday_days
    (
       v_start_date DATE
     , v_end_date   DATE
    )
       RETURN NUMBER
    IS
       v_oc_dur       NUMBER;
    BEGIN
       WITH got_dates AS
       (
           SELECT v_start_date + LEVEL - 1 AS dt
             FROM DUAL
          CONNECT BY v_start_date + LEVEL - 1 <= v_end_date
       )
       SELECT COUNT (*)
         INTO v_oc_dur
         FROM    got_dates d
              LEFT OUTER JOIN
                 holidaydatemaster h
              ON (d.dt = h.holidaydate)
        WHERE h.holidaydate IS NOT NULL
           OR TO_CHAR (d.dt, 'D') IN (7,1);
    
       RETURN v_oc_dur;
    END p_holiday_days;
    
    SELECT p_holiday_days (TO_DATE ('12/21/2012', 'MM/DD/YYYY'), TO_DATE ('12/26/2012', 'MM/DD/YYYY')) cnt
      FROM DUAL;
    
           CNT
    ----------
             3
    

    Kind regards.
    Al

  • Get number of VM by Cluster

    I have one line that I found but you want to convert to a format that I can export to CSV.  So, how to do this:

    $Clusters = get-Cluster

    foreach ($Cluster in $Clusters) {$VMHosts = Get-Cluster $Cluster |} Get-VMHost; $VMs = get-Cluster $Cluster | Get - VM; $Cluster.Name.ToUpper (); {$VMs.count}

    and convert them into something like this:

    $TDate = get-Date - uformat "%m %Y %d."

    $File = "DataStore_Report_by_Cluster_" + $TDate + ".csv".

    1. Check if the file exists

    If (Test-Path $File)

    {

    Remove-Item $File

    }

    $DS = @)

    Get-Cluster | {ForEach-Object

    $Cluster = $_

    $Cluster | Get-VMHost | {ForEach-Object

    $VMHost = $_

    $VMHost | Get-DataStore. Where-Object {$_.} {Name - notlike ' local * "} | {ForEach-Object

    $out = "" | Select-Object clusters, DSName, FreespaceGB, CapacityGB, PercentFree

    $out. Cluster = $Cluster.Name

    $out. DSName = $_. Name

    $out. FreespaceGB = $($_.) FreespaceMB / 1024) m:System.NET.SocketAddress.ToString ("F02")

    $out. CapacityGB = $($_.) CapacityMB / 1024) m:System.NET.SocketAddress.ToString ("F02")

    $out. PercentFree = (($_.)) FreespaceMB) / ($_.) (CapacityMB) * 100) m:System.NET.SocketAddress.ToString ("F02")

    $DS += $out

    }

    }

    }

    $DS | DSName-single Cluster Tri-objet | Export-Csv - NoTypeInformation - UseCulture-path $File

    Sorry if this is a stupid question?

    The number per ESX host

    $TDate = Get-Date -uformat "%m%d%Y" $File = "VM_Count_by_ESXHost_" + $TDate + ".csv" if (Test-Path $File)
    {
        Remove-Item $File}
    $DS = @()
    
    foreach($cluster in Get-Cluster){
        foreach($VMHost in (Get-VMHost -Location $cluster)){
            $out = "" | Select-Object ClusterName, ESXHost, VMCount        $out.ClusterName = $cluster.Name
            $out.ESXHost = $VMHost.Name
            $out.VMCount = (@(Get-VM -Location $VMHost)).Count
            $DS += $out }
    }
    $DS | Sort-Object Cluster, DSName -Unique | Export-Csv -NoTypeInformation -UseCulture -Path $File
    

    The number per cluster

    $TDate = Get-Date -uformat "%m%d%Y" $File = "VM_Count_by_ESXHost_" + $TDate + ".csv"
    if (Test-Path $File)
    {
        Remove-Item $File}
    $DS = @()
    
    foreach($cluster in Get-Cluster){
            $out = "" | Select-Object ClusterName, ESXHost, VMCount        $out.ClusterName = $cluster.Name
            $out.VMCount = (@(Get-VM -Location $cluster)).Count
            $DS += $out
    }
    
    $DS | Sort-Object Cluster, DSName -Unique | Export-Csv -NoTypeInformation -UseCulture -Path $File
    
  • Get number of records in all tables

    Hello

    I try to get the number of records from all the tables by using a dynamic query. I don't know how to put the placeholder value. I tried the code below.

    SET SERVEROUTPUT SIZE 1000000
    DECLARE
    CURSOR table_list
    IS
    Select OBJECT_NAME from user_objects
    where object_type in ('TABLE')
    and object_name not like '% AUDIT_DDL % '.
    AND object_name not like 'MD_ % '.
    AND object_name not like "EXT_ %.
    AND object_name not like 'STG_ % '.
    AND object_name not like '% SYS_ ".
    AND object_name not like '% TMP_ ".
    AND object_name not like 'TEMP_ %.
    order by 1;
    v_count NUMBER: = 0;
    query_str VARCHAR2 (1000);
    BEGIN
    FOR table_name IN table_list
    LOOP
    query_str: = ' SELECT COUNT (1) FROM "| table_name. Object_name;
    dbms_output.put_line (query_str);
    dbms_output.put_line (' Table name:' | table_name.) OBJECT_NAME);
    v_count: = run immediately query_str;
    dbms_output.put_line (' Table name:' | table_name.) OBJECT_NAME | ', County'. v_count);
    END LOOP;
    END;

    I know that I am doing wrong in the "BOLD" lines. But do not know how to fix it. Help, please. Thanks in advance.

    Change:

    v_count:= execute immediate query_str;
    

    TO

    execute immediate query_str into v_count;
    
  • How to get number of SNA

    Hello

    How to get my current scn number?

    SQL > select current_scn from v$ database;

    CURRENT_SCN
    -----------
    1.5223E + 10


    Please tell me wat query above is my current scn number?

    Thank you
    Concerning

    Increase numLargeur

    SQL> select current_scn from v$database;
    
    CURRENT_SCN
    -----------
     6.0114E+12
    
    SQL> set numwidth 20
    SQL> select current_scn from v$database;
    
             CURRENT_SCN
    --------------------
           6011421327782
    
  • Get number component TextInput

    Hello.

    I have a TextInput component to my stage with instance name ' enteredNumber. And the button with the name of the instance 'guessBtn '. After entering number to my TextInput I want to get this number, but cannot cause maybe it's a text?

    How can I do?

    var numberToGuess:int=5;
    
    guessBtn.addEventListener(MouseEvent.CLICK, checkAnswer);
    function checkAnswer(event:MouseEvent):void {
         if (numberToGuess==enteredNumber) {
              trace("guessed");
         } else {
              trace("try again");
         }
    }
    

    I try to recreate the type but it's not helping:

    var guess = Number(enteredNumber.text);
    

    I don't know where you are now with the code, but the following should work...

    var numberToGuess:Number = 5;

    guessBtn.addEventListener (MouseEvent.CLICK, checkAnswer);
    function checkAnswer(event:MouseEvent):void {}
         if (numberToGuess is Number (enteredNumber.text)) {
    trace ("spoke");
    } else {}
    trace ("Please try again");
    }
    }

  • How can I get number of rows in DB for view with "only up to line number.

    Hi all

    I use jdeveloper 11.1.1.3.0

    in the development of the object view, only until the line number is set to 100, but it has 1000 row in DB.

    now page jspx, I need to get the number of rows in db (1000), how can I get it?

    If I get iterator or view are of the object status is not true, it returns the value 100.

    How can I get 1000?

    Given that you have set the limit line number for the VO, VO will always and forever don't have 100 records or less. If you want the total number in the comic book, you need to create an another VO that is not the count (*) or one that does not limit the number of rows.

    John

  • Get number of rows affected in SQLPLUS...

    Hello world
    I have a shell script where I am invoking sqlplus, running a query and save the result in a hold file in .csv format. This file now has a trailer container
    number of selected rows. So, I can not use SQL % ROWCOUNT and I don't know how to get this number.
    Someone gave me an idea of the number of lines of wc file and add it as a trailer, but I can't do it like in the conduct of the trailer I need to display a number that is an oracle
    sequence. The file format will be something like this-

    01, testing, 5667889, 9999999, AXCCRTR1
    000001, TESTSOURCE, 1--> it's the trailer (oracle_seq, constant varchar, not of selected lines)

    Is there a way I can get the number of rows affected by the last query in sqlplus. Any help will greatly be appricaited.
    I can go ahead and do it with Pl/sql, but I'm not leaving until I'm absolutely sure thery no way on this.

    Thank you
    ru

    Add a hidden column rownum to your query and save its last value:

    SQL>set feedback off
    SQL>column rownum new_value num_rows noprint
    SQL>select rownum, object_name, object_type from all_objects where rownum < 7;
    
    OBJECT_NAME                    OBJECT_TYPE
    ------------------------------ ------------------
    /1005bd30_LnkdConstant         JAVA CLASS
    /10076b23_OraCustomDatumClosur JAVA CLASS
    /10297c91_SAXAttrList          JAVA CLASS
    /103a2e73_DefaultEditorKitEndP JAVA CLASS
    /1048734f_DefaultFolder        JAVA CLASS
    /10501902_BasicFileChooserUINe JAVA CLASS
    SQL>prompt &num_rows
    6
    

    HTH, Urs

  • Get number of days of the week to a month

    Hi, someone can tell me how to get the number of working days per month, or the number of days other than Saturdays and Sundays

    Well, others and I already posted an example of use of sysdate?

    Maybe you need to take a look at this again.

    Just trunc sysdate to month: trunc (sysdate, 'mm') = 06/01/2009
    Take the start of the next month less a day: trunc (add_months (sysdate, 1), 'mm')-1 = 30-06-2009 (or use last_day)

    Use a connection level, count the days without the Treaty, and there you go...

  • Problem in getting number of Mobile Contact list

    Hello

    I write the code for the number of cell phone contacts list. But if there are two number (phone number, mobile phone number) in a single contact, then I'm unable and differentiate.

    BlackBerryContactList contacts = null;
            try {
                PIM pim = PIM.getInstance();
                contacts = (BlackBerryContactList) pim.openPIMList(PIM.CONTACT_LIST, PIM.READ_ONLY);
                PIMItem item = contacts.choose();
                if (item == null || !(item instanceof Contact)) {
                    return;
                }
    
    BlackBerryContact contact = (BlackBerryContact) item;
    
                int nTelNoCount = contact.countValues(BlackBerryContact.TEL);
    
                for (int i = 0; i < nTelNoCount; ++i)
    
                {
    
                    int telAttrs = contact.getAttributes(BlackBerryContact.TEL, i);
    
                    if ((telAttrs & BlackBerryContact.TEL) != 0 || contacts.isSupportedField(BlackBerryContact.ATTR_MOBILE)) {
    
                        String str;
                        Logger.out(m_strClassName,"---------3");
                        str = textbox.getText().trim();
                        if (str.equals(""))
    
                        {
    
                            String strMob = contact.getString(BlackBerryContact.TEL, i).trim();
    
                            Logger.out("InviteFriendScreen", "----------------strMo" + strMob + "--len--" + strMob.length() + "---" + strMob);
    
                            textbox.setText(strMob);
    
                        }
    
                        else if (str.indexOf((contact.getString(BlackBerryContact.TEL, i))) != -1)
    
                        {
    
                            Dialog.alert(Constants.ALERT_ENTER_DIFFERENT_NUMBER);
    
                        }
                        else
    
                        {
                            String addContact = contact.getString(BlackBerryContact.TEL, i);
                            Logger.out(m_strClassName,"---------4");
                            if (str.indexOf(addContact) == -1)
    
                            {
                                Logger.out(m_strClassName,"---------5");
                                textbox.setText(str + "," + addContact);
                            }
                        }
    
                        break;
    
    //              } else {
    //
    //                  Dialog.alert(Constants.ALERT_ADD_ONLY_MOBILE_NUMBER);
                    }
    
                }
    
            }
            catch (PIMException e)
            {
    
            }
            try
    
            {
                Logger.out(m_strClassName,"---------7");
                contacts.close();
    
            }
    
            catch (PIMException e)
    
            {
                Logger.out(m_strClassName,"---------8");
                e.printStackTrace();
    
            }
        }
    

    Now here when I added only the contact number of work and is not added and showing an alert (add only Mobile number). But if a person has mobile number and contact number of work, then that's all first showing the alert and then adding the mobile number.

    How can I solve this problem?

    Yes, I solve it...

Maybe you are looking for

  • Satellite U940 - after the update of Win8.1 FN key stop working

    I have ultrabook Toshiba U940-b484, after I updated my system windows 8.1 all FN keys does not work and after more try only up/down switch soung and brightness keys is just the word, and keyboard light switch is not working too, all solutions? Concer

  • More than 1 out for a sequence variable?

    A real-time sequence can cause more than 1 output variable, I could recover from the LV API. For now, it seems that the vi API return a reference to the output variable, so it looks like one... No cluster or something like that, huh? Perhaps a table

  • Compact Xperia Z5, should I feed him some MARSHMALLOW?

    Hello! It's been so long since my Xperia P had stolen and my Xperia S had hard bricked By this month, I have my savings to buy my favorite again Xperia phones Since I use the iPhone and currently one abandoned Nokia Lumia 520 Be the subject I visit m

  • computer works offline can not get online

    Keep emails saying you are working offline, unable to get online, nobody seems to be able to help.

  • VPN client disconnects after 2 hours

    workstation running XP SP2 and installed the 4.8.00.0440 vpn client and cisco 1721. client VPN connected and after 2 hours, it cuts details of the journal 1203 14:25:04.125 07/06/06 Sev = Info/4 IKE / 0 x 63000017 Marking of IKE SA delete (I_Cookie =