Updating Columns in Wizard Group By & Losing Formatting

When I initially used the wizard to create my report, I chose the fields I wanted to group the report by. Now I need to change the order of these two group by fields. Right now the wizard groups it by field A then field B. I now need it to group by field B then by field A. Is there a way to make this change to the wizard w/o losing all the formatting I've already done to the report?

Not that I know of. If we use the wizard then we NEVER use it to subsequently update the report. You may want to experiment with user defined templates

Similar Messages

  • How to update a People and group field using a sandbox solution

    Hi,
    I am creating a sandbox solution for office 365 and creating a custom form using visual web part, which will allow users to enter data in a custom list.
    And that list also have a user field. I am able to get SharePoint user field on the form (using javascript) which is searching for the user and get a value (working fine).
    Issue: But I am not able to save the user value. Because to save user value I require web, UserID and login name, to construct SPFieldUserValue object or string in "111;#TestUser" format. Moreover that user should be present in
    SiteUserInfoList. 
    I tried web.EnsureUser() but did not work under sanbox solution.
    Can you please provide any pointer or workaround to the problem? I may be missing something here.
    Thanks,
    Himanshu

    Hi,
    According to your description, my understanding is that you want to update the people and group field in Sandbox solution.
    In the sandbox solution, you can still use the web.EnsureUser() function to get the user information, see the thread below:
    EnsureUser in sandboxed solution
    In additional, there is a demo with your similiar requirement for your reference:
    Using the People Picker Control in Sandbox Solutions / Office 365
    Thanks
    Best Regards,
    Jerry Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Updating a Table using grouping logic

    Hi,
    I have a requirement
    There is table table_a
    create table table_a
    code number,
    name varchar2(50),
    city varchar2(50),
    state varchar2(20),
    group_id
    insert into table_a
    values
    1,'ABC','A;,'A1');
    insert into table_a
    values
    1,'BCD','A;,'A1');
    insert into table_a
    values
    2,'ABC','A;,'A1');
    insert into table_a
    values
    2,'ABE','A;,'A1');
    insert into table_a
    values
    3,'ABF','A;,'A1');
    insert into table_a
    values
    3,'ABH','A;,'A1');
    I need to group the above table values
    select code,name,city,dept from table_a
    group by code,name,city,state
    I need to update the table_a based on the groups above through a cursor
    I want to update table_a
    update table_a set group_id (based on the group valuse from the cursor)
    How to approach for the scenario.Any suggestion for this

    Hi,
    One last Query based on the Query you have posted:
    If  I go with the Updated Query
    MERGE INTO  table_a    dst
    USING  (
               SELECT    name, city, state
               ,         ROW_NUMBER () OVER (ORDER BY name, city, state)
                             AS group_id
               FROM      table_a
               GROUP BY  name, city, state
           )               src
    ON     (    dst.name  || 'x'  = src.name  || 'x'     -- CHANGED
           AND  dst.city  || 'x'  = src.city  || 'x'     -- CHANGED
           AND  dst.state || 'x'  = src.state || 'x'     -- CHANGED
    WHEN MATCHED THEN UPDATE
    SET    dst.group_id  = src.group_id
    Now the Records are updated in the table With Group_id Column based on Grouping Logic thats fine
    But if after some couple of days there might be new set of rows.Then How the Group values will be maintained?(The above group can contain new rows also.So how the table_a will be updated if there are already GROUP_ID values for example 1.2,3,4 etc)
    SELECT    name, city, state
               ,         ROW_NUMBER () OVER (ORDER BY name, city, state)
                             AS group_id
               FROM      table_a
               GROUP BY  name, city, state

  • Working with an updatable column

    Hello,
    I have an updatable column that is being displayed as a textfield. I correctly set the reference table and column name under the column attributes and the report is generated by an updatable SQL query. I'd like for the user to change the data (it's a simple NUMBER) on the report and then be able to have the change on the database.
    I tried to create a Multi-Row update but it didn't seem to be working correctly. Could someone point me to, or shed a light on, a PL/SQL process or Multi-Row update that could correctly update the altered rows in the database.
    Thanks!

    Ted,
    You're probably best of creating this as a tabular form using the tabular form wizard. This generated the tabular form / updateable SQL query for you, along with all the needed primary key column(s), etc and created the MRU process as well. Of course you can also created this manually, just make sure your column names in your query correspond with the actual column names in the table you're trying to update. You have a primary key column, and reference that primary key column and the table properly in your MRU process.
    Regards,
    Marc

  • Mass Update Column In Tabular Form

    Hi,
    I'm trying to create a tabular form that has a mass update column function. i.e. the tabular form will be displayed as normal but at the top of certain columns will be a text box or lov and what ever is entered into those boxes will be cascaded into the empty values in that column without refreshing the page.
    Hope that makes sense.
    I've search the forum but cant find reference, is this possible.
    Thanks Andy

    Hi,
    Just wondering if anyone had any thoughts on this.
    I can get the text to populate another cell e.g.
    http://mlw-mis-2/dev/apex/f?p=174:4
    But how can i get it to reference a column, this is what I'm using to reference another item
    onKeyUp="f_getTextUpper('P4_COL1','P4_TEXT')"
    and I've tried changing the P4_TEXT to other things like
    apex_application.g_f03 (vRow)
    apex_application.g_f03 (i)
    apex_application.g_f03
    But with no luck

  • How to get the last vaue of an amount column in the group above

    Hi All,
    I have a requirement
    In my report there are 3 gruops in data model.
    1.accout flex field
    2.balance
    3. journal entries
    3. JE contans debit,credit and the running total.
    My requirement is to print the final total in the frame above the repeating frame.
    Please help me in this case as to how can i achieve this requirement?
    Thanks
    Jana.

    If you have any column in JE group, you can not print that directly in 'balance' group or between repeating frames of the JE and balance. It has to be in JE or any group below JE.
    You can try what i suggested earlier. It would give you the last total of the journal. And you can place the field near to the repeating frame of JE.
    Hope this helps.

  • How to use single column in a group by clause

    hi frs
    i hve used sum function in a sql how to use a single column in a query.
    for ex
    select sum(sal),ename,job,deptno,empno from emp
    group by deptnowhether its possible to use single column in a group by class.
    i want like this because in my custom report i need it. Report query has more than 30 column so its not possible to use 30 columns in a group by.
    pls help.
    Thanks
    Rajesh

    Maybe something like this -
    Select ename, job, deptno, empno, sal, col1, col2, col3, col4 ......, coln
    From
    Select SUM(sal) sal, deptno deptno_i
    From Emp
    Group By deptno
    ,Emp
    Where deptno = deptno_i
    Shailender Mehta

  • Get OLD&NEW value of an UPDATED column selected dynamically in a Trigger

    Hi All,
    I am writting a trigger which take column name dynamically. And on the basis of that column it should give me old value as well as updated value of a column corresponding to a modified row.
    OOO_SCHEDULE is my table name;
    Note: This is only for test so I am writting only for update not for insert and delete.
    create or replace trigger "OOO_SCHEDULE_AUDIT"
    BEFORE
    insert or update or delete on "OOO_SCHEDULE"
    for each row
    begin
    DECLARE
    v_username varchar2(30);
    AUDIT_EMP_ID varchar2(30);
    AUDIT_EMP_ID_NEW varchar2(30);
    v_Column_name VARCHAR(30);
    v_stmt1 VARCHAR(40);
    v_stmt2 VARCHAR(40);
    CURSOR C1 is
    select COLUMN_NAME from user_tab_columns where table_name='OOO_SCHEDULE';
    BEGIN
    OPEN c1;
    LOOP
    FETCH c1 into v_Column_name;
    EXIT WHEN c1%NOTFOUND;
    v_stmt1:=('OLD.'||v_Column_name);
    v_stmt2:=('NEW.'||v_Column_name);
    AUDIT_EMP_ID:=v_stmt1;
    AUDIT_EMP_ID_NEW:=v_stmt2;
    INSERT INTO TEMPTEST VALUES(v_stmt1);
    INSERT INTO TEMPTEST VALUES(AUDIT_EMP_ID);
    END LOOP;
    CLOSE c1;
    END;
    end;
    Suppose OOO_EMP_NAME is the column name where user made the change.
    If i do like this..
    AUDIT_EMP_ID:=OLD.OOO_EMP_NAME;
    AUDIT_EMP_ID_NEW:=NEW.OOO_EMP_NAME;
    Then it is working fine because I have given column name statically. But I want the column name to be selected dynamically and I am able to do it through cursor. Also I am able to fetch all column names in v_Column_name variable one by one dyanamically for the cursor.
    But by executing these statements
    AUDIT_EMP_ID:=v_stmt1;
    AUDIT_EMP_ID_NEW:=v_stmt2;
    I am getting OLD.OOO_EMP_NAME and NEW.OOO_EMP_NAME rather then old and new values of the updated column.
    Please help me identifying the problem, where I am doing the mistake? What is the correct way to execute these statements? So that I can get old and new values of the column (updated column).
    I have tried it by passing in a procedure also but don't know how to execute this dynamic statement to get the old and new values.
    Thanks,
    Ishrat.

    In the given link, column name has been selected statically. But i want that column name should be selected daynamically throgh loop and then check the
    condition for any update corresponding to that column value. I don't want to write as many if condition as the no. of column name. I just want one if condition for all column namesDon't be lazy. Write all column names into your trigger. Or use a way to create the trigger "dynamically".
    What is the problem that you have with static column names? "I don't want to write many..." is not a problem, but an opinion.

  • How do I save a pdf as an html file without losing formatting?

    How do I save a pdf as an html file without losing formatting?  My coworker is able to do this on her Adobe 9 by saving to html css 4.0 - I have Adobe 11 and have not been able to save as an html at all without loosing formatting.

    Are the PDF files that you are attempting to Save As HTML tagged?

  • Int Server (ABAP Cache) - Cache Updated column shows "red"

    ...long read, appreciate your patience...
    In the IB:Config, under Cache Notifications, I'm getting the red square in the Cache Updated column for all "ABAP Cache" entries (green for notification).   The "Java Cache" and "Central Adapter Engine" entries are green all the way through.
    I've read a bunch of other threads here, and I've read and worked through the entire "How to Handle Caches" document.  I ran in to a couple issues, but I don't know how to solve them.....
    1) When I run SXI_CACHE, I receive the following messages:
    <green> "Cache contents are up to date"
    <red> "Error during last attempt to refresh cache"
    --->double-clicking shows: Error ID = BUSINESS_SYSTEM, Message = LCR_GET_OWN_BUSINESS_SYSTEM - NO_BUSINESS_SYSTEM
    --->Running the LCR... fxn via SE37 is successful, so I don't understand why SXI_CACHE has a problem running it.
    2) When I run the Cache Connectivity Test where the Yellow triangle is displayed for the IS-ABAP with message "Attempt to fetch cache data from Integration Directory not yet started or still in progress".
    3) When I try to load http://<host>:<port>/CPACache/refresh?mode=delta or full, I get a "403 Forbidden - You are not authorized to view the requested resource."  But I'm never prompted for a user/pw?  Since I'm the only user in this XI box, I do have some of my logons saved in Internet Explorer - could it be using one of those without prompting me?
    Note:
    I have been experiencing on and off network issues, and the machine we have XI installed on is slow.  I don't know if that could affect anything or not.
    Thanks for taking the time to read this...
    Brian
    Message was edited by: Brian Vanderwiel

    Thanks for the replies...
    Prashanth,
    I think SXI_CACHE is for items in the Java stack only (correct me if I'm wrong).  The main problem I have is with items in the ABAP stack not making it in to the cache.
    Moorthy,
    I walked through the Readiness Check - everything passed except for the items I already mentioned (Cache test shows yellow).  The document is a nice gathering of tests, but it doesn't offer any ideas has to how to correct problems encountered.
    Integration_directory_hmi tested successfully, and I read through the other OSS Notes, but none solved the issue.

  • How to post a table/set of records without losing formatting while posting

    how to post a table/set of records without losing formatting while posting in this message forum. Thanks

    Most forums have a FAQ. This one is no exception.
    It is in the right hand upper corner. It's URL is http://wikis.sun.com/display/Forums/Forums+FAQ
    Sybrand Bakker
    Senior Oracle DBA

  • Where is the update records form wizard in dreamweaver cc?

    Where is the update record form wizard in dreamweaver cc?
    Does anyone know of a website or a reference manual about dreamweaverCC?  every example and tutorial online are mostly about older versions of Dreamweaver.  Some brainiac at Adobe thought, why don't we change the whole freaking interface around so nobody can figure out where anything is anymore with the new version....&^$@^#$^^

    Simply choose Server Behaviours --> + --> Update Record

  • Update column data to Upper Case in parent and child table

    Hi ,
    I am facing issue while updating column value to upper case in parent table and child table. How can i do that ?
    when updating parent row:
    ORA-02292: integrity constraint (XXXXXXXXXXXXXX_FK) violated - child record found
    When updatng corresponding child row:
    ORA-02291: integrity constraint (XXXXXXXXXXXXXXXX_FK) violated - parent key not found
    how can i update on both the places ?
    Regards,
    AA

    I am facing issue while updating column value to upper case in parent table and child table. How can i do that ?
    Why do you need to do that?
    That is just ONE of several questions you should answer before you start modifying your data.
    1. What is your 4 digit Oracle version? (result of SELECT * FROM V$VERSION)
    2. If both values are the same case what difference does it make what that case is?hen you don't need to alter your original data.
    3. What is the source of the column values you are using now? If you change your data to upper case it will no longer be identical to the source data.
    4. What is your plan for enforcing future values to be stored in UPPER case? Are you going to use a trigger? Have you written and tested such a trigger to see if it will even work the way you expect?
    5. Why aren't you using a surrogate key instead of a 'business' data item? You have just demonstrated one reason why surrogate keys can be useful: their actual value is NOT important.
    You should reexamine your problem and architecture and consider other alternatives.
    One alternative is to add a new 'surrogate key' column to use as the primary key. Just create a new sequence and use a trigger to populate the new column. Your current plans will require a trigger to perform the case conversion so instead of the just use the trigger to provide the value.
    If the change is being done to facilitate searching you could just add a VIRTUAL column UPPER_MY_COLUMN and index that instead. Then you could search on that new virtual column and the data values would still be identical to the original data source.

  • How to obtain the updated column name in a trigger?

    Hello everyone,
    I need to know for audit propose the updated column name in a After Update Trigger on a Table.
    The table have more than 20 columns, and i think that do more than 20 conditions asking for the difference between the :new value and the :old value is not the best way.
    Thanks for the help!
    LCJ

    Hi,
    Thanks to all for the replays.
    I didn't know that i can pass the column name to the UPDATING. This is only possible on 10g??
    Any way, i pass the column name and works fine, but i have another issue because of that.
    I obtain the column name from a cursor that query user_tab_columns view, when i try to obtain the value of the :old or :new, i can't because i don't know how to obtain the value of the value.
    This example show better:
    DECLARE
    vOldValue Varchar2(50);
    Cursor cur_Column_Names Is
    Select COLUMN_NAME
    From User_Tab_Columns
    Where TABLE_NAME = 'table_name';
    BEGIN
    For var_cursor In cur_Column_Names Loop
    If Updating(var_cursor.COLUMN_NAME) Then
    vOldValue := '?'; -- How obtain the value of the :old. + >var_cursor.COLUMN_NAME??
    End If;
    End Loop;
    END;Thanks to all for the help.
    LCJ

  • Combine checked item and update column

    Hi all,
    need to design a screen that allow user to update column (code) and also pick which statement to display for the next stage. My thought was to create a checkitem and LOV display. Once user has checked the box , the process should update the code first then select the checked item into a new table. But it appears to me I can get checked item cocept to work and inserted it to a new table but fail to address the LOV update. Can you help ?
    table: sample1, display as the following
    seq     code     comments amt
    1     T     test1     30
    2     A     test2     20
    3     T     test3     80
    4     T     test4     20
    user action: picked seq 1,2  and update code from A to T for seq2
    ==> process will insert the selected statement to result table
    table:result
    seq     code     comments amt
    1     T     test1     30
    2     T     test2     20mushar

    I am sorry . Just realized I posted this to a wrong forum.

Maybe you are looking for