to get the total general

Hello

I have an example of a query like this, can't expose the names of actual table I have security problems.

Select empno, count (empno) in the emp_table1 where certain conditions

Union of all the

Select empno, count (empno) in the emp_table2 where certain conditions

Union of all the

Select empno, count (empno) in the emp_table3 where certain conditions

Union of all the

Select empno, count (empno) in the emp_table4 where certain conditions

I get the result as below, no matter what.

Output

----------

EmpNo County

----------------------

Emp1 15

EMP2 12

Emp3 10

EMP4 6

Emp5 4

emp6 7

emp7 12

emp8 14

but finally, I should get a special register, displaying the total general as

emp_total 80

How can get this.please provide

Since I don't have access to your data, a simple way to show CUMULATIVE would be this.

WITH T1 (C1, C2) AS)

SELECT "emp1", 15 OF DOUBLE UNION ALL

SELECT "emp2", 12 OF DOUBLE UNION ALL

SELECT 'emp3', 10 OF DOUBLE UNION ALL

SELECT "emp4", 6 OF DOUBLE UNION ALL

SELECT "emp5", 4 OF DOUBLE UNION ALL

SELECT 'emp6', 7 OF DOUBLE UNION ALL

SELECT 'emp7', 12 OF DOUBLE UNION ALL

SELECT 'emp8', 14 FROM DUAL)

SELECT NVL(C1,'EMP_TOTAL'), SUM (C2)

FROM T1

ROLLUP GROUP (C1);

OUTPUT:

Emp1 15

EMP2 12

Emp3 10

EMP4 6

Emp5 4

emp6 7

emp7 12

emp8 14

EMP_TOTAL 80

Tags: Database

Similar Questions

  • Using subqueries in Select with Rollup (or a way to get the total general)

    I'm doing the following (simplified the query):

    SELECT s.SYSTEM,
    (SELECT COUNT (cp1.cid) of THE CFRS cp1, systems sp1, subsystems ssp1 where cp1.priority = 'P1' AND cp1.subsystem = ssp1.subsystem AND sp1.system = ssp1.system AND sp1.system = s.system) AS P1
    Of THE c, s systems, subsystems ss CFRS
    WHERE c.subsystem = ss.subsystem
    AND s.system = ss.system
    GROUP OF ROLLUP (s.SYSTEM)

    But the result of the cumulative on the P1 column is always 0 (is not to summarize it)

    How can I perform a rollup (or get a total) the result of the subquery?

    Thank you

    What something like this:

    SQL > WITH SYSTEMS AS
      2  (
      3     SELECT 'A' AS SYSTEM FROM DUAL UNION ALL
      4     SELECT 'B' AS SYSTEM FROM DUAL UNION ALL
      5     SELECT 'C' AS SYSTEM FROM DUAL
      6  ),
      7  SUBSYSTEMS AS
      8  (
      9     SELECT 'A' AS SYSTEM, '1' AS SUBSYSTEM FROM DUAL UNION ALL
     10     SELECT 'A' AS SYSTEM, '2' AS SUBSYSTEM FROM DUAL UNION ALL
     11     SELECT 'A' AS SYSTEM, '3' AS SUBSYSTEM FROM DUAL UNION ALL
     12     SELECT 'B' AS SYSTEM, '4' AS SUBSYSTEM FROM DUAL UNION ALL
     13     SELECT 'B' AS SYSTEM, '5' AS SUBSYSTEM FROM DUAL UNION ALL
     14     SELECT 'B' AS SYSTEM, '6' AS SUBSYSTEM FROM DUAL UNION ALL
     15     SELECT 'C' AS SYSTEM, '7' AS SUBSYSTEM FROM DUAL UNION ALL
     16     SELECT 'C' AS SYSTEM, '8' AS SUBSYSTEM FROM DUAL UNION ALL
     17     SELECT 'C' AS SYSTEM, '9' AS SUBSYSTEM FROM DUAL
     18  ),
     19  CFRS AS
     20  (
     21     SELECT 10 AS CID, '1' AS SUBSYSTEM, 'HIGH' AS PRIORITY FROM DUAL UNION ALL
     22     SELECT 11 AS CID, '1' AS SUBSYSTEM, 'LOW' AS PRIORITY FROM DUAL UNION ALL
     23     SELECT 12 AS CID, '1' AS SUBSYSTEM, 'MED' AS PRIORITY FROM DUAL UNION ALL
     24     SELECT 13 AS CID, '2' AS SUBSYSTEM, 'HIGH' AS PRIORITY FROM DUAL UNION ALL
     25     SELECT 14 AS CID, '2' AS SUBSYSTEM, 'MED' AS PRIORITY FROM DUAL UNION ALL
     26     SELECT 15 AS CID, '2' AS SUBSYSTEM, 'HIGH' AS PRIORITY FROM DUAL UNION ALL
     27     SELECT 16 AS CID, '3' AS SUBSYSTEM, 'LOW' AS PRIORITY FROM DUAL UNION ALL
     28     SELECT 17 AS CID, '3' AS SUBSYSTEM, 'HIGH' AS PRIORITY FROM DUAL UNION ALL
     29     SELECT 18 AS CID, '4' AS SUBSYSTEM, 'MED' AS PRIORITY FROM DUAL UNION ALL
     30     SELECT 19 AS CID, '5' AS SUBSYSTEM, 'HIGH' AS PRIORITY FROM DUAL UNION ALL
     31     SELECT 20 AS CID, '5' AS SUBSYSTEM, 'LOW' AS PRIORITY FROM DUAL UNION ALL
     32     SELECT 21 AS CID, '6' AS SUBSYSTEM, 'HIGH' AS PRIORITY FROM DUAL UNION ALL
     33     SELECT 31 AS CID, '7' AS SUBSYSTEM, 'LOW' AS PRIORITY FROM DUAL UNION ALL
     34     SELECT 41 AS CID, '8' AS SUBSYSTEM, 'HIGH' AS PRIORITY FROM DUAL UNION ALL
     35     SELECT 51 AS CID, '9' AS SUBSYSTEM, 'MED' AS PRIORITY FROM DUAL UNION ALL
     36     SELECT 61 AS CID, '9' AS SUBSYSTEM, 'MED' AS PRIORITY FROM DUAL
     37  )
     38  SELECT DISTINCT SYSTEMS.SYSTEM
     39  , CFRS.PRIORITY
     40  , count(*) OVER (PARTITION BY SYSTEMS.SYSTEM, CFRS.PRIORITY) AS PER_SYSTEM_PRIORITY
     41  , count(*) OVER () AS ALL_SYSTEMS
     42  FROM SYSTEMS
     43  JOIN SUBSYSTEMS ON SYSTEMS.SYSTEM = SUBSYSTEMS.SYSTEM
     44  JOIN CFRS ON SUBSYSTEMS.SUBSYSTEM = CFRS.SUBSYSTEM
     45  ORDER BY SYSTEMS.SYSTEM, CFRS.PRIORITY
     46  /
    
    SYSTEM     PRIORITY   PER_SYSTEM_PRIORITY ALL_SYSTEMS
    ---------- ---------- ------------------- -----------
    A          HIGH                         4          16
    A          LOW                          2          16
    A          MED                          2          16
    B          HIGH                         2          16
    B          LOW                          1          16
    B          MED                          1          16
    C          HIGH                         1          16
    C          LOW                          1          16
    C          MED                          2          16
    
  • vSphere sdk api to get the total memory available for booking of virtual machine

    What vsphere sdk api should I use to get the total memory available to make reservations for virtual machines?

    Here's what I see in the VI client,

    Click on hos-> Configuration:

    Memory

    Physics

    Total xx

    System xx

    VMS 3512,0 MB

    Service xx console

    Now, when I click on the resource allocation tab I see

    3348 MB memory reservation

    Memorey reservation used: 0 MB

    Unreserved memory: 3348 MB

    The question is what value is correct and which are programming API to get all these values (even if it is wrong)?

    If you are familiar with the vSphere API, the easiest way is to browse through the documentation of API reference: http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/index.html and/or using the CROWD (object browser), once you explore a bit, you will begin to understand where some properties of what you see on the vSphere Client

    For the configuration of host memory, take a look at: http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.host.MemoryManagerSystem.ServiceConsoleReservationInfo.html

    To the memory of VM host accessible to the general public, take a look at: http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.ResourceAllocationInfo.html

    To get information "Resource allocation", you must get a reference to the list of local resources for your host: http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.ResourcePool.ResourceUsage.html#reservationUsedForVm

    Even if you do not have a "Resource Pool", there is a defect which still exists. This should get your started

    If you use the VI of Java, you can take a look at the VI Java Browser: http://www.doublecloud.org/2010/02/22/vijava-browser-a-great-tool-to-recommend/

    You must also follow Steve Jin blog (author/creator of connections of vSphere Java open source VI)

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

  • How can I get the total number of pages printed on my LaserJet 3055?

    I have a nice 1012 LaserJet that is not supported in Windows 7, but there is a solution which is to set up a Vista driver as if the printer is a LaserJet 3055.  It works, even if sometimes I get a printed statement that it does not work, and when that happens I just turn off the printer and turn on again immediately and it is fine.  I would like to know if there is anyway I can get the total number of pages printed at some point, as I could with the LaserJet 1012.

    P.S. This thread was moved from software for Laserjet. -Hp moderator of the Forum

    Please ignore my post on the LaserJet 3055.  With the help of a good soul on another thread of discussion, I was able to install and operate my LaserJet 1012 printer on Windows 7, exactly as it did in XP.  No errors, no slow printing, no problem.  The LaserJet 3055 thing helped initially as a work around, but the message about the bad personality who stopped the printer until you turned off and turned it back was boring.

  • Unable to get the total number of records processed by the processor of trade rules

    Details of the environment

    ======================

    Disqualification Version: 12.1.3.0.0


    I use a business rules processor to implement multiple business rules on one record and I am looking for a summary of the number of records increased and does not have a specific rule.


    To illustrate:
    Suppose there are 2 rules, invalid number in Column1 and valid number on Column2.
    10 records to process and 3 folders don't rule 1 (valid on column1) and 9 entered failure of rule 2 (valid number on Column2).

    In the browser of result of the processor Business, the number of past records and failed is displayed but is not part of the output of the processor itself. In the example above, there will be 1 pass and 9 fail records and given the values of said the total number of records can be derived which is 10.

    This is why the expected output will be:
    Success of failure
    Rule 1:7 (10-3) 3
    Rule 2: 1 (10-1) 9
    Note: The number of records that failed can be derived from the table of the rule ID but I don't know how to get the total number of records in order to calculate the number of records that a given rule.

    I tried to publish the County of acceptance and rejection in the browser of result of the processor Business in an intermediate table and ask the same intermediate table to get the pass and fail values but Disqualification does not allow to write and read the same intermediary object in a single process. What is the best way to get the number of records total handled by the processor business rules? This kind of attributes (that do not exist only in the browser of result) can be included in the output of the processor in the next version of the Disqualification?

    In addition, the intermediate table contains only 1 sheet with pass and failure values while the exceptions which have individual failure on each rule contains 12 Archives. What would be the best approach to merge a single record into multiple records according to the example below?

    Staging table
    Success of failure
    1 9

    Exception table
    Single ID ID rule
    Rule 1 Record1
    Rule 1 Record2
    Rule 1 record Record3
    Rule 2 Record1

    Exception table with: staging Table data merge
    Rule ID ID Unique Pass Fail Total
    Rule 1 1 9 10 Record1
    Rule 1 1 9 10 Record2
    Recording rule 1 Record3 1 9 10
    Record1 rule 2 1 9 10

    Please notify.

    Hi Jason,

    The best way to explain how to do this is with an example project (DXI). I'll send you one in offline mode.

    -Mike

  • Can I get the total number of records that meet the conditions of a query using the Table API?

    Hello

    A < row > TableIterator is returned when I ask operations using the index of tables. If I want to get the total number of records, I count one by one using the returned TableIterator < row >.


    Can I get the total number of records directly meets the conditions of the query?

    I can get the total number of records directly the request of the meeting of the conditions of CLI using the command Global table - name tableName - count - index index-name-field fieldName - start startValue-end endValue.

    Can I get the same results using the Table API?

    I used MongoDB and NoSQL Oracle for about a year. According to the experience of the use of these dbs, I think mongoDB querying interface is powerful. In the contras, the query interface is relatively simple, which results is a lot of work that is usually a long time in the client side.

    Hello

    Counting records in a database is a tricky thing.  Any system that gives you an accurate count of the records will have a hotspot of concurrency on updates, namely the place where the counting is maintained.  Such a count is a problem of performance in addition to competitive access problem.   The problem is even more difficult in a system widely distributed such a NoSQL database.

    The CLI has overall command that counts, but does so by brutal force - iterate keys that correspond to the parameters of the operation.  This is how you must do this within the API.  There is not a lot of code, but you have to write.  You certainly want to use TableIterator TableAPI.tableKeysIterator (), because a key iteration is significantly faster than the iteration of lines.  Just one iteration and count.

    If you use TableAPI.multiGet () and a key with a touch of brightness full then, in fact, count the results as they are returned in a single piece (a list).

    Kind regards

    George

  • How to get the total reserved cpu or total cpu capacity available with PowerCLI?

    I am able to use the cmdlet Get-Host for a total capcity of CPU and the current CPU usage.  However, I am not able to get the total of reserved CPU.  I also tried another cmdlet like Get-VMHostAdvancedConfiguration, but which does not include either total reserved cpu info.  Any suggestion?

    OK, try this

     foreach($esx in Get-VMHost){
       $parent = Get-View $esx.ExtensionData.Parent   $rp = Get-View $parent.ResourcePool   Select -InputObject $esx -Property Name,      @{N="Total CPU Capacity MHz";E={$rp.Runtime.Cpu.MaxUsage}},      @{N="Reserved CPU Capacity MHz";E={$rp.Runtime.Cpu.ReservationUsed}},      @{N="Available CPU Capacity MHz";E={$rp.Runtime.Cpu.MaxUsage - $rp.Runtime.Cpu.ReservationUsed}}
    }
    
  • Exclude a measure the total general dynamic level 'Lines' of a pivot table

    Experts,

    Is it possible to exclude a measure the total general dynamic level 'Lines' for a pivot table?

    Version - OBIEE 10g

    Kind regards
    LIBERATOR

    No, I mean not the dropdown list above when you edit the formula in the column. It of there on 11g but don't remember off the top of my head if it is in the same place on 10g.

    Paul

  • How to get the total runtime of a file of tkprof

    Hello

    I have a file tkprof. How can I get the total execution time. Through the file I guess than the sum of "Total expected" would give the total time in the section "elapsed time are waiting on the following events:

    . Sample tkprof is given below.
    SQL ID: gg52tq1ajzy7t Plan Hash: 3406052038
    
    SELECT POSTED_FLAG 
    FROM
     AP_INVOICE_PAYMENTS WHERE CHECK_ID = :B1 UNION ALL SELECT POSTED_FLAG FROM 
      AP_PAYMENT_HISTORY APH, AP_SYSTEM_PARAMETERS ASP WHERE CHECK_ID = :B1 AND 
      NVL(APH.ORG_ID, -99) = NVL(ASP.ORG_ID, -99) AND 
      (NVL(ASP.WHEN_TO_ACCOUNT_PMT, 'ALWAYS') = 'ALWAYS' OR 
      (NVL(ASP.WHEN_TO_ACCOUNT_PMT, 'ALWAYS') = 'CLEARING ONLY' AND 
      APH.TRANSACTION_TYPE IN ('PAYMENT CLEARING', 'PAYMENT UNCLEARING'))) 
    
    
    call     count       cpu    elapsed       disk      query    current        rows
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    Parse        1      0.00       0.00          0          0          0           0
    Execute    442      0.08       0.13          0          0          0           0
    Fetch      963      0.22       4.72        350      16955          0         521
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    total     1406      0.31       4.85        350      16955          0         521
    
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 173     (recursive depth: 1)
    Number of plan statistics captured: 1
    
    Rows (1st) Rows (avg) Rows (max)  Row Source Operation
    ---------- ---------- ----------  ---------------------------------------------------
             1          1          1  UNION-ALL  (cr=38 pr=3 pw=0 time=139 us)
             1          1          1   TABLE ACCESS BY INDEX ROWID AP_INVOICE_PAYMENTS_ALL (cr=5 pr=0 pw=0 time=124 us cost=6 size=12 card=1)
             1          1          1    INDEX RANGE SCAN AP_INVOICE_PAYMENTS_N2 (cr=4 pr=0 pw=0 time=92 us cost=3 size=0 card=70)(object id 27741)
             0          0          0   NESTED LOOPS  (cr=33 pr=3 pw=0 time=20897 us)
             0          0          0    NESTED LOOPS  (cr=33 pr=3 pw=0 time=20891 us cost=12 size=41 card=1)
             1          1          1     TABLE ACCESS FULL AP_SYSTEM_PARAMETERS_ALL (cr=30 pr=0 pw=0 time=313 us cost=9 size=11 card=1)
             0          0          0     INDEX RANGE SCAN AP_PAYMENT_HISTORY_N1 (cr=3 pr=3 pw=0 time=20568 us cost=2 size=0 card=1)(object id 27834)
             0          0          0    TABLE ACCESS BY INDEX ROWID AP_PAYMENT_HISTORY_ALL (cr=0 pr=0 pw=0 time=0 us cost=3 size=30 card=1)
    
    
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      db file sequential read                       350        0.15          4.33
      Disk file operations I/O                        3        0.00          0.00
      latch: shared pool                              1        0.17          0.17
    ********************************************************************************

    user13019948 wrote:
    Hello

    I have a tkprof file. How can I get the total execution time.
    call count cpu elapsed disk query current rows
    ------- ------ -------- ---------- ---------- ---------- ---------- ----------
    total 1406 0.31 4.85 350 16955 0 521

    TOTAL ELAPSED TIME is 4.85 seconds from line above

  • to get the total value as application even if item_number is added

    Hi all

    I have the following query with me
    SELECT   SUM (  (NVL (f.calc_cement_sk, f.calc_amount) * NVL (f.item_price, 0)
                    )
                  - (  NVL (f.calc_cement_sk, f.calc_amount)
                     * NVL (f.item_price, 0)
                     * (NVL (f.dis_per, 0) / 100)
                    )
                 ) total,
             h.slurry_type, h.stage_id, h.slurry_vol_actual
        FROM xxnp_opn_joblog_est_002 f,
             xxnp_opn_joblog_001 j,
             xxnp_opn_joblog_slurry_003 h,
             qp_secu_list_headers_v qw
       WHERE j.opn_job_desc = 'K/D/KD43/UG187/1338/D/0211/1'
         AND f.opn_joblog_001_id = j.opn_joblog_001_id
         AND j.contract = qw.NAME
         AND h.opn_joblog_001_id = j.opn_joblog_001_id
         AND h.opn_joblog_007_id = f.opn_joblog_007_id
         AND h.opn_joblog_006_id = f.opn_joblog_006_id
    GROUP BY h.stage_id, h.slurry_type, h.slurry_vol_actual
    the result I get is


    SLURRY_TYPE TOTAL STAGE_ID SLURRY_VOL_ACTUAL
    9,562.59 lead 1 490
    2,184.84 1 80 tail
    1,091.73 reload 1 56
    3,431.64 tail 2 100
    when i add f.item_number to the above query as shown below
    
    SELECT   SUM (  (NVL (f.calc_cement_sk, f.calc_amount) * NVL (f.item_price, 0)
                    )
                  - (  NVL (f.calc_cement_sk, f.calc_amount)
                     * NVL (f.item_price, 0)
                     * (NVL (f.dis_per, 0) / 100)
                    )
                 ) total,f.item_number,
             h.slurry_type, h.stage_id, h.slurry_vol_actual
        FROM xxnp_opn_joblog_est_002 f,
             xxnp_opn_joblog_001 j,
             xxnp_opn_joblog_slurry_003 h,
             qp_secu_list_headers_v qw
       WHERE j.opn_job_desc = 'K/D/KD43/UG187/1338/D/0211/1'
         AND f.opn_joblog_001_id = j.opn_joblog_001_id
         AND j.contract = qw.NAME
         AND h.opn_joblog_001_id = j.opn_joblog_001_id
         AND h.opn_joblog_007_id = f.opn_joblog_007_id
         AND h.opn_joblog_006_id = f.opn_joblog_006_id
    GROUP BY h.stage_id, h.slurry_type, h.slurry_vol_actual,f.item_number
    
    
    the field total gets split and gives value corresponding to each item_number
    
    i am giving the ouptut for stage 1
    ITEM_NUMBER TOTAL SLURRY_TYPE STAGE_ID SLURRY_VOL_ACTUAL
    5011.5 1020101001 lead 1 490
    1308.93 1020102002 lead 1 490
    127.215 1020111001 lead 1 490
    138.92 1020112001 lead 1 490
    686 1020113001 lead 1 490
    550,5 1020113002 lead 1 490
    1739.52 1020222010 lead 1 490
    1517.1 1020101001 1 80 tail
    379.5 1020102003 1 80 tail
    83.2 1020103001 1 80 tail
    166.53 1020104001 1 80 tail
    38.511 1020111001 1 80 tail
    1064,7 1020101001 reload 1 56
    27,027 1020111001 reload 1 56


    If we add up the values in the total field to the head, tail, charge that we get 9562.59,2184.84,1091.73 respectively

    kindly Guide
    to get the total value as application even if item_number is added
    thanking in advance

    Hello

    You can do this by enclosing it with another selection

    select
    total, slurry_type, stage_id, slurry_vol_actual,
    sum(total) over (partition by slurry_type, stage_id, slurry_vol_actual) from (
    your actual select
    )
    

    concerning

  • How can I get the total amount of keyframes in the timeline

    I'm building a very simple, single timeline based resource. I want to be able to count the number of pages and display the page number, I'm sure. The resource uses sym.stop (); on the timeline, and the sym.play(1000) () attached to a button. The idea is that I have 2 global variables. 1 that updates the progress of keyframes 'pageNum' and one that calculates the total number of pages (keyframes) on the timeline 'totalPages '.

    "pageNum" is very good, simply a case of incrementing the timeline progress, as I have, but I'm stuck on getting the total number of keyframes. Of course, in the code pane I can look through and count the number of functions "Trigger XXXX @ ms", but can I get the code to do it for me?

    See you soon


    Sean

    Hey,.

    It is ok. I thought about it, although it is very ugly.

    totalPages = 0;

    convert the file edgeActions.js to a string

    $.get ('myAnimateProject_edgeActions.js', {function (data)})

    var data = dataAsStr;

    Look in the 'Editing by default' file as this defines where the triggers are

    var match = dataAsStr.match (/ default Timeline/g);

    get the length of the returned array

    totalPages = match.length;

    });

    If there is an easier way, I'd love to hear, or if people think this way could throw up problems. In the meantime, this will make numbering pages much easier and works for this project

    Thank you for your ideas resdeign.

  • How to get the Total number of nodes XML?

    Hi all

    I have a Flash program that I do in Actionscript 3, using CS6.

    I use the XMLSocket class to read XML data. I'll write some examples of XML that is sent to the Flash

    program below...

    I know with this line here (below) I can access the 4th 'element or node' of XML data.

    To access the XML nodes/elements:

    * I created a Variable XML, called xml, and "e.data" contains ALL the XML data
    var XML = XML (e.data);

    Access to the 4th item of the data:

    . xml MESSAGE[3].@VAR;          -> 'loggedOutUsers '.

    . xml MESSAGE[3].@TEXT;         --->     "15"

    EXAMPLE OF XML DATA:


    < FRAME >

    0 < VAR MESSAGE = "screen2Display" TEXT = "FRAME_1" / >

    1 < VAR MESSAGE = "numUsers" TEXT = "27" / >

    2 < VAR MESSAGE = "loggedInUsers" TEXT = "12" / >

    3 < VAR MESSAGE = "loggedOutUsers" TEXT = "15" / >

    4 < VAR MESSAGE = "admins" TEXT = "2" / >

    < / FRAMEWORK >

    I'm new to Flash and Actionscript but I am very familiar with other languages and how paintings and other work, and I know for

    example, in a Shell Script to get the total number of items in an array called 'myArray' I wanted to write something like

    This-> ${#myArray [@]}. And since the data processing XML looks a lot like a table I thought that there was perhaps

    a way to access the total number of "nodes or elements" in the XML data...?

    Any thoughts would be much appreciated!

    Thanks in advance,

    Matt

    even if you don't need to run to the loop to know the length

    var levelList: XMLList = xml.children ();

    levelList.length (); This will give you the length of all children in your case of length MESSAGE of nodes;

    Pls click useful if my answer is helpful.

    Thank you

    Bala

  • Is it possible to get the total value of column and set to another area

    Hello

    Is it possible to get the total value of a particular column, and assign this value to another discipline?

    How to do this?

    Thanks in advance,
    SAN

    Hi SAM,

    If your controller class throw this message it means that it works very well. Follow these steps, I hope this will solve your problem.

    1 check the following

    OAApplicationModule am = pageContext.getApplicationModule (webBean);
    OAViewObject ratvo = (OAViewObject) am.findViewObject("*CompetenceElementsVO*"); It should be the name of the instance instead of the name Physics vo vo.
    OAViewObject valuevo = (OAViewObject) am.findViewObject("*PerRatingLevelsVO*");

    2. extend this controller class that is associated with this region.

    I hope it will work now.

    Haroon.

  • How to get the total number of frames

    Hai...

    I need this code...

    I have n number of files (swf) flash. Each file contains a number of images. I need to get the totalframes of this flash in Actionscript 3.0 files.

    Please help me through Actionscript.

    You can use a movieclip totalFrames property to get the total number of frames for a timeline.

  • How to get the total number of pages

    Is there anyone know how to get the total page after generate us the pdf file. I use the remainder method and create an external process. ?

    In the workbench, I use a SetValue

    Until you assemble the document that you need to build the DDX string and specify the xml information.

    Concat (/process_data/@ddxHeadStr, " ")

    AFTER mounting

    Use SetValue that set your xmlinfo variable (xml type)

    xmlInfo/process_data/game FOR

    / process_data/assemblerResult/Object/documents[@id]

    [ ='doc_info.xml']

    Then get your pages from the XMLinfo

    /process_data/@NUMPAGES

    =

    / process_data/xmlInfo/docinfo/NUMPAGES

    I hope this helps.  Send an e-mail if it is not explicit.  I had to fight over there recently and feel that the documentation really lacks.

Maybe you are looking for