Sorting and grouping and Sub total

Hello

I'm looking for some generic advice here, not necessarily a specific technical recommendation.

We have a requirement for about 15 reports/forms. The reports would be the same layout using the same sets of data, with the exception that they be sorted, grouped and Sub totalled differently.

Use Adobe Livecycle, can you design a form and then control the behavior of sorting, grouping and Sub totaling somewhat (perhaps via the parameters passed to its interface)? We do not need to allow a user on these differences control.

I know that something like this is pretty simple in tools such as Crystal Reports, but is possible and practical by using Adobe Livecycle? We probably want to avoid a solution that uses Javascript excessively complex and plentiful.

We try to use Adobe for something, so it's not really meant?

Thank you!

You can render PDF forms during execution using XML as input. If you want to avoid the JavaScript code in the form of coding, you can do all the calculations before generating the XML file. In this scenario, I assume that you have the server software to view the PDF with the dynamic XML data during execution.

Another option could be written the Java Script in the case of calculated fields to sort / group / total values. Since all your reports use the same provision, it is not so difficult to write code. Propably if you check the PurchaseOrder.xdp form that comes with your samples as well as the installation Designer do you a basic idea on how to calculate the values that you add more lines to the shape.

If you still have questions, you can always contact me or the team on this forum.

Thank you

Srini

Tags: Adobe LiveCycle

Similar Questions

  • Monthly and Sub Total Calculations

    Hey guys hope all of you are ok... I was wondering how is the Total monthly void and sub total fields are calculated in quotes > pricing screen? Both are read-only, and I wonder how a Siebel calculates these fields.


    Thank you for your time,

    Hello
    Sorry can't help you with that. Siebel Tools receives over and repeatedly does not meet my uses too. Guess they want to do an audit of patience on users :)
    Try to wait a while if you have little patience and if possible make a full get all projects on your development environment. There may be some issues with the details of the applet.

    Thank you and best regards,
    Yassine jegou

  • How to display the current page and the total number of pages for a group

    Hi all
    I have a requirement to indicate the current page number and the total number of pages for a group. For example:

    < A >
    < 1 >
    Row1
    row2
    ....
    Clotilde
    < / 1 >
    < 2 >
    Row1
    row2
    ....
    Clotilde
    < / 2 >
    < 3 >
    Row1
    row2
    ....
    Clotilde
    < / 3 >
    < /A >

    Now my requirement is Group 1 can have lines going into several pages say x, so I need to show with in the Group 1 x and on the next page page 1 page 2 x etc.
    Although Group 2 spans several pages, I need to see page 1 of y... etc.

    Can someone help me please how to do this?


    Thank you
    Sunny

    Try if@section

  • Sorting and grouping - two months in this query

    Hi all

    Thanks a lot for JAC

    I am doing a project for the construction company, I faced this problem by grouping points according to the relationship between these points the
    Relationship is from 1 to 100. If the point between what means there is relationship between these points has come.

    resolve this question already, but the results does not correct when the table contains more data.

    SQL - sorting and grouping.
    Jac and thanks a lot to him.

    This example for more details

    for example, I have these points
    id   location         percentage   comments 
    1     loc 1,2          20%                that mean point  1 and 2 close to each other by 20%
    2     loc 1,3          40%              that mean point 1 and 3 close to each other byy 40%
    3     Loc 8,6          25%               that mean point 8 and 6 close to each other by 25% 
    4     Loc  6,10        20%
    5     LOC 11,10        10 %
    6     LOC 15,14         0%
    In addition, we can see the relationship between these points as follows
    -points 1,2,3 in a group why because close 1.2 and 1.3 a relationship which means 1.3 also hid the relationship.
    -Points 6,8,10,11 in the second group there are the relationships between them.
    - but no relationship between 1, 2 or 3 with any point of 6,8,9,10,11
    -as well as no relationship between 15, 14, which means 14 in the third group and 15 in the fourth group.


    Whati need?

    to group the points that growing a relationship according to the percentage value


    The most important part is to group the points. For EXAMPLE, the query below, the gropuing is not correct.

    I have the following table with data
    drop table temp_value; 
    create table temp_value(id number(10),location varchar2(20), percentage number(9)); 
     
     
    insert into temp_value values  (1,'LOC 1,2',10); 
    insert into  temp_value values (2,'LOC 1,3',0); 
    insert into  temp_value values (3,'LOC 1,4',0); 
    insert into  temp_value values (4,'LOC 1,5',0); 
    insert into  temp_value values (5,'LOC 1,6',0); 
    insert into  temp_value values (6,'LOC 2,3',0); 
    insert into  temp_value  values(7,'LOC 2,4',0); 
    insert into  temp_value values (8,'LOC 2,5',30); 
    insert into  temp_value values (9,'LOC 2,6',0); 
    insert into  temp_value values (10,'LOC 3,4',0); 
    insert into  temp_value values (11,'LOC 3,5',0); 
    insert into  temp_value values (12,'LOC 4,5',40); 
    insert into  temp_value values (13,'LOC 4,6',0); 
    insert into  temp_value values (14,'LOC 6,7',40);
    insert into  temp_value values (15,'LOC 7,2',0);
    insert into  temp_value values (16,'LOC 8,2',60);
    insert into  temp_value values (17,'LOC 8,3',0);
    insert into  temp_value values (18,'LOC 3,1',0);
    insert into  temp_value values (19,'LOC 9,6',30);
    insert into  temp_value values (20,'LOC 11,2',0);
    insert into  temp_value values (22,'LOC 12,3',10);
    insert into  temp_value values (23,'LOC 19,3',0);
    insert into  temp_value values (24,'LOC 17,3',0);
    insert into  temp_value values (24,'LOC 20,3',0);
    When I used this query, the results is not correct

     with t as
        (select percentage,loc1,loc2,sum(case when percentage = 0 then 1
                           when loc1 in (l1,l2) then 0
                       when loc2 in (l1,l2) then 0
                       when l1 is null and l2 is null then 0
                       else 1
                  end) over(order by rn) sm
        from (     select id,location,percentage,
                           regexp_substr(location,'\d+',1,1) LOC1,
                          regexp_substr(location,'\d+',1,2)  LOC2,
                         lag(regexp_substr(location,'\d+',1,1))
                          over(order by percentage desc) l1,
                          lag(regexp_substr(location,'\d+',1,2))
                          over(order by percentage desc) l2,
                  row_number() over(order by percentage desc) rn
          from temp_value
          order by percentage desc
            )
      )
       select loc,min(sm)+1 grp
         from(
           select loc,rownum rn,sm
           from(
           select percentage,decode(rn,1,loc1,loc2) loc,sm
           from t a,
                (select 1 rn from dual union all
                 select 2 from dual ) b
           order by percentage desc,decode(rn,1,loc1,loc2) asc
          )
       )
        group by loc
       order by min(sm),min(rn);
    results


    SQL > /.
    LOC                         GRP
    -------------------- ----------
    2                             1
    8                             1
    6                             2
    7                             2
    4                             3
    5                             3
    9                             4
    1                             5
    12                            6
    3                             6
    11                           13
    
    LOC                         GRP
    -------------------- ----------
    19                           14
    17                           15
    20                           22
    
    14 rows selected.
    SQL >


    but the just is
    Location        group No
    2                  1
    8                  1
    4                  1
    5                  1
    1                  1
    6                  2
    7                  2
    9                  2
    12                 3
    3                  3
    19                 4
    17                 5
    20                 6
    Thanks in advance.

    Published by: Isabelle on November 30, 2012 03:07

    OK, I thought an it once again and found out how to include with any such percentage points.
    In your example expected output you missed the 11 that's why we got 7 groups now.
    The order of the Group 2 and 3 is ambiguous, because the highest percentage of these groups is the same.

    with connects as (
    select distinct
     loc1
    ,loc2
    ,connect_by_root(loc1) grp
    ,percentage per
    from
    temp_value
    --start with
    --percentage != 0
    connect by nocycle
    (prior loc2 = loc1
    or
    prior loc1 = loc2
    or
    prior loc1 = loc1
    or
    prior loc2 = loc2)
    and
    percentage != 0
    and
    prior percentage != 0
    )
    
    select
     loc
    ,dense_rank() over (order by decode(per,0,1,0), grp) grp
    from (
    select
     loc
    ,max(grp) keep (dense_rank first order by per desc, grp) grp
    ,max(per) keep (dense_rank last order by per nulls first) per
    from (
    select
     loc1 loc
    ,grp
    ,per
    from connects
    union
    select
     loc2
    ,grp
    ,per
    from connects
    )
    group by
    loc )
    order by 2,per desc,1
    
    LOC     GRP
    2     1
    8     1
    4     1
    5     1
    1     1
    12     2
    3     2
    6     3
    7     3
    9     3
    11     4
    17     5
    19     6
    20     7
    

    Think we are done now ;-)
    Edited by: chris227 at 30.11.2012 16:46

    Edited by: chris227 at 30.11.2012 17:12
    order corrected

    Edited by: chris227 at 30.11.2012 17:15
    simplification, no need to rank in linking subquery

    Edited by: chris227 at 30.11.2012 17:26

  • Force summary Sub totals on the same page as the repeating group

    Hello people,
    I have a group of left report where I show Patients and visits they have taken for each Department.
    I then did a Sub Total of the number of visits, the Patient took. I want to assure you that the subtotal shows
    upward on the same page as the data in the repeating group. I tried to use an anchor, but the report doesn't.
    It gives an error: REP 1213 - reference field column to a frequency lower than his group when I have the extendable chassis anchor foot sub total
    and 1814 REP report cannot be formatted. Object "Horizontal" can never fit into 'M_1' when I try to anchor the opposite effect.

    My goal is to show totals of Sub (Total) on the same page as the Patient and do not go to the next page. I have attached the dotted line and Total (label and field) in one frame.

    Release of the report:
    Patient ID     Patient Name              Department              Visit
    ======================================================================
    1001           Mary Poppins              Department 001              3
                                             Department 002              4
                                             Department 003              1
                                             -----------------------------
                                             Total                       8
                                             -----------------------------
    
    1002           Peter Pan                 Department 001              2
                                             Department 002              1
                                             Department 003              2
                                             -----------------------------
                                             Total                       5
                                             -----------------------------
    Thanks in advance!

    Pls set the property (page protect the patient details and framework that contains two sub total) to yes.

  • ADG custom sort and icons

    I've got flat of data from AMFPHP as a collection of array of objects with properties such as

    type
    grade
    day_number
    Object
    ...

    Some of the data is special, marked as a "Viper" (Adder = 1). The Adder must appear at the top of the list and have a specific icon (sign more or something). All other entries should be sorted alphabetically, under the Adder and have another icon (trash).

    When the user clicks on the "adder", they revise their new entry, once completed, the entry is added to the list and the Adder is maintained. A similar behavior in powerpoint when creating bullets (a temporary entry waiting a tool for editing, when it exists, a new entry is created).

    I read until I can't stand more... people talk about the custom item renders, subclassing etc. I understand that, however, I have no idea of what I need to do (what functions of overload) to achieve this behavior.

    In addition, the data are grouped through a group collection, so that the user can navigate to a specific day, grade and then the class to add/change. Again, I would change the icons for folders according to their function.


    In summary:
    1. what should I do to customize the sorting of data in the ADG (first take an element of the kind and everything).
    2. what should I do to change the icons of specific so that some icons will be trash and other nodes will be signs more.
    3. what should I do to change the behavior of itemClick so that if the user clicks on an element with a recycle bin, the item is deleted, but not if the user clicks on an element with a sign more.
    4. what should I do to change folder icon based on the item type and depth of the order of the day (so that each level has a different icon).

    If it's simple, I apologize. Everything seems easy for people in flex, and yet I've worked dozens of hours on this stupid problem and can not solve. Flex could be great if I could understand this shit... Go to PHP! : o).

    "MacGyverMan" wrote in message
    News:gd0so7$2u5$1@forums. Macromedia.com...
    > I've got flat of data from AMFPHP as a collection of array of objects
    > with
    > properties such as
    >
    > type
    > grade
    > day_number
    > topic
    > ...
    >
    > Some data is special, marked as a "Viper" (Adder = 1). The Adder
    > must
    > appears at the top of the list and have a specific icon (sign more or less)
    (> something). All other entries should be sorted alphabetically under the
    > Adder and
    > have a different icon (trash).
    >
    > When the user clicks on the "adder", they are revising their new entry, on
    > completion.
    > the entry is added to the list and the Adder is maintained. A behavior
    > similar
    > to powerpoint when creating bullets (a temporary entrance waiting for a change, if)
    > It
    (> is one, a new entry is created).
    >
    > I read until I can't... do the people speak
    > custom
    > point renders, etc. the subclassing. I understand that, however, I have no idea
    > what
    > I do (what functions of overload) to achieve this behavior.
    >
    > In addition, the data are grouped through a group collection, so that the user can
    > go to a specific day, grade and then the class to add/change. Again, I got
    > as
    > change the icons for folders according to their function.
    >
    >
    > In summary:
    > 1. What should I do to customize the sorting of data in the ADG (take an element
    > out
    (> sorting and put everything first).

    According to me, is the only type of hierarchical Collection, you can do it with one
    GroupingCollection. You will need to use a compareFunction on the Group
    and/or GroupingField to always return-1 for that particular item.

    > 2. What should I do to change the icons of specific end-nodes as well as some
    > icons
    > will be trash and some signs will be more.

    Watch iconFunction.
    http://livedocs.Adobe.com/Flex/3/langref/MX/controls/listclasses/AdvancedListBase.html#ICO nFunction

    Despite what say the docs for AdvancedDataGrid, he _does_ support the
    iconFunction property.

    > 3. What should I do to change the itemClick behavior so that the user case
    > click on
    > an article with a trash can, the item is deleted but not if the user clicks
    > a
    > point with a sign more.

    The ListEvent you get from itemClick will have a property called
    currentTarget. If you look at currentTarget.data, it will be the
    information on the entire line. Check what property you used in your
    iconFunction show trash vs the sign, to the
    different features.

    > 4. What should I do to change based on the type of element folder icon and the
    > article
    > depth (so that each level has a different icon).

    Look at the docs for groupIconFunction.
    http://livedocs.Adobe.com/Flex/3/HTML/advdatagrid_06.html

    > If it's simple, I apologize. Everything seems simple for people to
    > flex,.
    > and still I've worked dozens of hours on this stupid problem and cannot
    > solve
    > it. Flex could be great if I could understand this shit... Go to PHP!
    > :o)

    It all takes a long time to understand what is happening in Flex, but
    Once you do, it's amazing :-).

    I did an example with a GroupingCollection you can or can not find
    useful, since I deliberately _not_ use it for an ADG.
    http://flexdiary.blogspot.com/2008/09/GroupingCollection-example-featuring.html

    I also have a demo here that shows using an iconFunction, although, once again, do not
    with an ADG
    http://flexdiary.blogspot.com/2008/08/TileList-with-stylefunction.html

    HTH;

    Amy

  • Total and under totals

    I've created a small report of responses. I change the view and clicked on the total summary icon grand and also summary icon on the column for sub total. Nothing is displayed getting. total or subtotal. No idea... Why?

    I can think of several, but let's start with a few more obvious.

    It could be that there is no aggregation defined on your measurement column. Then try clicking the button fx to the measurement column and change the aggregation of 'default' to 'sum'. Now, check the bottom of your report. You see it now?

    Another reason...

    I guess you looking at your report in a table view. Now, you said you have built a small report, but the number of rows to display in OBIEE default is 25, so it is possible that not all lines are displayed. You click the arrow to the right with the asterisk that shows all the records? The entire line would only show up then.

    What about subtotals, it could be that there is only one category, in which case the subtotal line will appear just above the grand total line.

    So, we'll see how to work these suggestions. Otherwise, more detail.

  • Why the menu bookmarks will remain sorted after that you sort and close the page?

    Newly added Favorites go to the bottom of the list. The page will sort from A to Z when we click on the sort icon... When you leave the page to sort and go back in the newly added bookmarks back not sorted to the bottom of the page.

    See also:

    Via the menu displays in the library to sort only shows bookmarks in the chosen sort order and constantly changing them (from where the name of views of this menu).

    By clicking on the header did the same thing.

    If you want to sort the bookmarks then you must right-click on a folder and use "Sort by name" to sort this issue.
    You cannot sort the individual bookmarks, only one folder can be sorted like this.

  • Compatibility Windows 7 for Empire Earth 2 and Rome Total War...

    I am looking to buy a new computer with Windows 7 home premium and I want to know if he would be able to run Empire Earth 2 or Rome Total War, they both work perfectly on my windows Xp

    Hi Yowuhdup23,

    Empire Earth 2 and Rome Total War is compatible with Windows 7.

    You can check in the Windows 7 Compatibility Center using the link below:

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/default.aspx

    You can check Rome Total War is compatible with 7 by visiting the link below and you can also check for the version you are using.

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/search.aspx?type=software&s=Rome%20Total%20War

    I hope this helps!

    Thank you, and in what concerns:
    Shalini Surana - Microsoft technical support.
    Visit our Microsoft answers feedback Forumand let us know what you think.

  • How can I force DAC to run always full load for one of the task that executes the stored procedure? And remaining tasks load incremental in the second and sub sequent executions.

    Hello

    How can I force DAC to run always full load for one of the task that executes the stored procedure? And remaining tasks load incremental in the second and sub sequent executions.

    Thank you

    Jay.

    Hi if your task is running an informatica mapping you can set your DAC task to run the full mapping for incremental and full loads, so tab task just point to the mapping.

    Hope that helps.

    Thank you

  • How to batch, fusion of the 3 different images? I use molten and the total of 240 different images.

    How to batch, fusion of the 3 different images? I use molten and the total of 240 different images.
    is there any script for it?

    like photoshop, batch processing is unable to identify 3 different images and merge these three images. Instead, it performs the action on a single image.

    Thank you

    under the direction

    // 2015, use it at your own risk;
    #target photoshop
    var theFolder = Folder.selectDialog ("select folder");
    if (theFolder) {
    ////////////////////////////////////
    var theFolders = theFolder.getFiles(getFolders);
    for (var a = 0; a < theFolders.length; a++) {
    var theFiles = Folder(theFolders[a]).getFiles(/\.(jpg|tif|eps|psd)$/i);
    ////////////////////////////////////
    // open first image;
    theFile = app.open(theFiles[0]);
    var basename = theFile.name.match(/(.*)\.[^\.]+$/)[1];
    // place other files;
    for (var m = 1; m < theFiles.length; m++) {
    placeScaleRotateFile (theFiles[m], 0, 0, 100, 100, 0, false);
    // set to screen;
    theFile.activeLayer.blendMode = BlendMode.SCREEN
    };
    // save as psd;
    psdOpts = new PhotoshopSaveOptions();
    psdOpts.embedColorProfile = true;
    psdOpts.alphaChannels = true;
    psdOpts.layers = true;
    psdOpts.spotColors = true;
    theFile.saveAs((new File(theFolder+'/'+basename+".psd")),psdOpts,false);
    };
    };
    ////////////////////////////////////
    ////// place //////
    function placeScaleRotateFile (file, xOffset, yOffset, theXScale, theYScale, theAngle, linked) {
    // =======================================================
    var idPlc = charIDToTypeID( "Plc " );
        var desc5 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
        desc5.putPath( idnull, new File( file ) );
        var idFTcs = charIDToTypeID( "FTcs" );
        var idQCSt = charIDToTypeID( "QCSt" );
        var idQcsa = charIDToTypeID( "Qcsa" );
        desc5.putEnumerated( idFTcs, idQCSt, idQcsa );
        var idOfst = charIDToTypeID( "Ofst" );
            var desc6 = new ActionDescriptor();
            var idHrzn = charIDToTypeID( "Hrzn" );
            var idPxl = charIDToTypeID( "#Pxl" );
            desc6.putUnitDouble( idHrzn, idPxl, xOffset );
            var idVrtc = charIDToTypeID( "Vrtc" );
            var idPxl = charIDToTypeID( "#Pxl" );
            desc6.putUnitDouble( idVrtc, idPxl, yOffset );
        var idOfst = charIDToTypeID( "Ofst" );
        desc5.putObject( idOfst, idOfst, desc6 );
        var idWdth = charIDToTypeID( "Wdth" );
        var idPrc = charIDToTypeID( "#Prc" );
        desc5.putUnitDouble( idWdth, idPrc, theYScale );
        var idHght = charIDToTypeID( "Hght" );
        var idPrc = charIDToTypeID( "#Prc" );
        desc5.putUnitDouble( idHght, idPrc, theXScale );
        var idAngl = charIDToTypeID( "Angl" );
        var idAng = charIDToTypeID( "#Ang" );
        desc5.putUnitDouble( idAngl, idAng,theAngle );
    if (linked == true) {
        var idLnkd = charIDToTypeID( "Lnkd" );
        desc5.putBoolean( idLnkd, true );
      };
    executeAction( idPlc, desc5, DialogModes.NO );
    // get layerid;
    var ref = new ActionReference();
    ref.putProperty (stringIDToTypeID ("property"), stringIDToTypeID ("layerID"));
    ref.putEnumerated( charIDToTypeID("Lyr "), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
    var layerDesc = executeActionGet(ref);
    var layerID = layerDesc.getInteger (stringIDToTypeID ("layerID"));
    // =======================================================
    return [app.activeDocument.activeLayer, layerID];
    };
    ////// get folders //////
    function getFolders (theObj) {
    if (theObj.constructor == Folder) {return true}
    };
    
  • How to Auto search PDF for some criteria, and then sort and combine PDFs of this criterion.

    I receive 100 faxes a day.  Each fax has a particular bank account # (I have about 40 different bank accounts it could be associated to). I want Adobe Acrobat Pro to search all these faxes to identify the associated bank account #'s.  So I would like to sort these faxes by the identified bank account #.  So I want to combine PDF files into 1 single file PDF for each bank account # (already know how to do this last step). If anyone has any ideas on how to complete the first two functions, it would be greatly appreciated.

    Thank you!

    Hey Ethan,

    I'm sorry, but it is certainly not possible directly via Acrobat.

    Java script code must be created in order to perform the first two tasks.

    Or otherwise you can manually search, sort and combine the PDF "." But it would be a hectic task.

    If you are good with the scripts you could try once and see if you can.

    Concerning

    Sukrit diallo

  • How to change the font, color line, column and Grand Total labels in PivotTable

    Hello Guru

    Can you get it some one please let me know how to change the look and feel of the reports in Pivot table using css files. I want to have the dimension and the measure to be of different color columns and grand total different color. I want to achieve for all pivot table reports instead of manually change each report so I want to do in css files.under s_SRIKI\b_mozilla_4\views.css I've seen a lot of options but nothing has worked. So can you please exactly tell what class we need to change to make changes. Thank you!!!

    Thank you

    SR

    For values

    . OORT {}

    text-align: right;

    vertical-align: top;

    color: Red;

    }

    For the product if you got hyper link

    Code OOB is

    . PTL {}

    color: #039;

    text-decoration: none;

    cursor: pointer;

    }

    If brand aid

  • disable column sorting and resizing on table view


    Is there a way to disable sorting and resizing of columns in the view table?

    Thank you

    Use

    setSortable (false)

    setResizable (false)

    on each TableColumn

  • Display the page number and the total number of pages in a single domain. Is this possible?

    I would like to than my report to view the number of page in the format "< page number > of < total page >", as "2 of the 6". Rather than create 2 fields to display the page number and the total number of pages and 1 label to display the word 'from' in the Middle, can I combine all of this into one? If so, how?

    Note: I woud wants to use "physical page number" as "total physical pages" and page number as the total number of pages.

    Published by: 1008305 on June 6, 2013 19:31

    Hello

    It is not possible to write in a.

    Even I try for the same, but didn't find any solution.

    We ave only two options to display the page number;

    1.) reports under construction Page number option: string will be: page & to &

    2.), we can take 2 text field that displays the page number and the total number of pages with 'from' lable inside the two text fields.

    IF any new you will come to know then.

    Thank you

    SHAH HARD

Maybe you are looking for