Need help in transpose

Hi All,
Please help me in framing a query for the following scenario..
I have a table as follows
CREATE TABLE mplevele_count_test (
U_DATE VARCHAR2 (40),
U_BUSSEG VARCHAR2 (80),
U_MPLEVEL NUMBER (2),
U_COUNT NUMBER)
It will have records as follows..
insert into mplevele_count_test (u_date,u_MPLEVEL,u_count)
values ('09/23/2010',0,60)
insert into mplevele_count_test (u_date,u_MPLEVEL,u_count)
values ('09/23/2010',1,60)
insert into mplevele_count_test (u_date,u_MPLEVEL,u_count)
values ('09/23/2010',2,60)
insert into mplevele_count_test (u_date,u_MPLEVEL,u_count)
values ('09/23/2010',3,60)
insert into mplevele_count_test (u_date,u_MPLEVEL,u_count)
values ('09/23/2010',4,60)
insert into mplevele_count_test (u_date,u_MPLEVEL,u_count)
values ('09/23/2010',5,60)
insert into mplevele_count_test (u_date,u_busseg,u_MPLEVEL,u_count)
values ('09/23/2010','FOOD',0,60)
insert into mplevele_count_test (u_date,u_busseg,u_MPLEVEL,u_count)
values ('09/23/2010','FOOD',1,60)
insert into mplevele_count_test (u_date,u_busseg,u_MPLEVEL,u_count)
values ('09/23/2010','FOOD',2,60)
insert into mplevele_count_test (u_date,u_busseg,u_MPLEVEL,u_count)
values ('09/23/2010','FOOD',3,60)
insert into mplevele_count_test (u_date,u_busseg,u_MPLEVEL,u_count)
values ('09/23/2010','FOOD',4,60)
insert into mplevele_count_test (u_date,u_busseg,u_MPLEVEL,u_count)
values ('09/23/2010','FOOD',5,60)
insert into mplevele_count_test (u_date,u_busseg,u_MPLEVEL,u_count)
values ('09/23/2010','FOOD',1,60)
insert into mplevele_count_test (u_date,u_busseg,u_MPLEVEL,u_count)
values ('09/23/2010','FOOD',2,60)
insert into mplevele_count_test (u_date,u_MPLEVEL,u_count)
values ('09/24/2010',0,60)
insert into mplevele_count_test (u_date,u_MPLEVEL,u_count)
values ('09/24/2010',1,60)
insert into mplevele_count_test (u_date,u_MPLEVEL,u_count)
values ('09/24/2010',2,60)
insert into mplevele_count_test (u_date,u_MPLEVEL,u_count)
values ('09/24/2010',3,60)
insert into mplevele_count_test (u_date,u_MPLEVEL,u_count)
values ('09/24/2010',4,60)
insert into mplevele_count_test (u_date,u_MPLEVEL,u_count)
values ('09/24/2010',5,60)
insert into mplevele_count_test (u_date,u_busseg,u_MPLEVEL,u_count)
values ('09/24/2010','FOOD',0,60)
insert into mplevele_count_test (u_date,u_busseg,u_MPLEVEL,u_count)
values ('09/24/2010','FOOD',1,60)
insert into mplevele_count_test (u_date,u_busseg,u_MPLEVEL,u_count)
values ('09/24/2010','FOOD',2,60)
insert into mplevele_count_test (u_date,u_busseg,u_MPLEVEL,u_count)
values ('09/24/2010','FOOD',3,60)
insert into mplevele_count_test (u_date,u_busseg,u_MPLEVEL,u_count)
values ('09/24/2010','FOOD',4,60)
insert into mplevele_count_test (u_date,u_busseg,u_MPLEVEL,u_count)
values ('09/24/2010','FOOD',5,60)
insert into mplevele_count_test (u_date,u_busseg,u_MPLEVEL,u_count)
values ('09/24/2010','FOOD',1,60)
insert into mplevele_count_test (u_date,u_busseg,u_MPLEVEL,u_count)
values ('09/24/2010','FOOD',2,60)
I need the output as folows:
u_busseg     9/23/2010     9/24/2010
          o     60 0 60
          1     60     1     60
     2     60     2     60
     3     60     3     60
     4     60      4     60
     5     60     5     60
Food     0     60     0     60
Food 1     60     1     60
Food     2     60     2     60
Food     3     60     3     60
Food     4     60     4     60
Food 5     60     5     60
What i need is for each date i should be able to see what is u_busseg what is the u_level and what is the u_count in horizontally, and also even if the u_busseg is null.
Please let me know if my requirement is not correct.
Thanks in advance,
Bibin
Edited by: user13298401 on Sep 30, 2010 1:55 AM

Hi,
Hartmutm posted a good solution. Instead of creating a table, Hartmutm used the result set of a WITH clause. Since you already have a table, there's no need for you to do that; just use Hartmutm's query:
select u_busseg,
       u_mplevel,
       sum(decode(u_date,'09/23/2010',u_count)) dat0923,
       sum(decode(u_date,'09/24/2010',u_count)) dat0924
from mplevele_count_test group by u_busseg, u_mplevel order by u_busseg, u_mplevel;By the way, if you can't use WITH clauses, it's probably because of your front end. For example, SQL*Plus 8 doesn't allow a statement to start with WITH, even if you're connected to a database (like Oracle 9) that supports it. You can get around that by hiding the WITH clause in an in-line view, or (usually) re-writing the WITH clause as an in-line view.
The results of Hartmutm's query with your sample data is:
U_BUSSEG    U_MPLEVEL    DAT0923    DAT0924
FOOD                0         60         60
FOOD                1        120        120
FOOD                2        120        120
FOOD                3         60         60
FOOD                4         60         60
FOOD                5         60         60
                    0         60         60
                    1         60         60
                    2         60         60
                    3         60         60
                    4         60         60
                    5         60         60This is basically what you requested. The only substantial difference is that you wanteed 60, not 120, in all the pivoted columns. Explain how you get those results. You may just need to use MIN, MAX or AVG instead of SUM.
If you want the NULL u_busseg to come first, then "ORDER BY u_busseg NULLS FIRST".
If you want a duplicate u_mplevel column, then add a duplicate u_mplevel column.
So you can get theses results:
U_BUSSEG    U_MPLEVEL    DAT0923 U_MPLEVEL2    DAT0924
                    0         60          0         60
                    1         60          1         60
                    2         60          2         60
                    3         60          3         60
                    4         60          4         60
                    5         60          5         60
FOOD                0         60          0         60
FOOD                1        120          1        120
FOOD                2        120          2        120
FOOD                3         60          3         60
FOOD                4         60          4         60
FOOD                5         60          5         60by modifying Hartmutm's query slightly:
SELECT    u_busseg
,         u_mplevel
,         SUM (DECODE (u_date, '09/23/2010', u_count))     AS dat0923
,         u_mplevel        AS u_mplevel2
,       SUM (DECODE (u_date, '09/24/2010', u_count))      AS dat0924
FROM       mplevele_count_test
GROUP BY  u_busseg
,            u_mplevel
ORDER BY  u_busseg     NULLS FIRST
,            u_mplevel
;Oracle has a DATE datatype; it's much better to store dates in a DATE column rather than a VARCHAR2 column, such as your u_date.

Similar Messages

  • Need help in some what complex transpose of data...

    Dear Team,
    I need a small help, to transpose the data...
    The Input data is shown below...
    Product
    Level
    Position
    Route
    1st_Prod_id
    Request_Flag
    Qty
    99904228
    LEVEL_1
    1
    1
    828452
    Y
    0
    96500436
    LEVEL_2
    2
    1
    828452
    N
    1
    96500437
    LEVEL_2
    3
    1
    828452
    N
    1
    96500437
    LEVEL_3
    4
    1
    828452
    N
    2
    66500084
    LEVEL_3
    5
    1
    828452
    Y
    0
    67653972
    LEVEL_3
    6
    1
    828452
    N
    2
    47418545
    LEVEL_4
    7
    1
    828452
    Y
    0
    47418545
    LEVEL_5
    8
    1
    828452
    N
    0
    35264043
    LEVEL_5
    9
    1
    828452
    N
    2
    37411616
    LEVEL_5
    10
    1
    828452
    N
    0
    35264044
    LEVEL_6
    11
    1
    828452
    Y
    2
    The output format is shown below along with transpose logic...
    Dmd_Product
    From_Prod
    From_Level
    To_Prod
    To_Level
    Total_QtY
    99904228
    99904228
    LEVEL_1
    66500084
    LEVEL_3
    4
    99904228
    66500084
    LEVEL_3
    47418545
    LEVEL_4
    2
    99904228
    47418545
    LEVEL_4
    35264044
    LEVEL_6
    4
    1. Depending upon the Req_Flag = 'Y', we have to identify our from_product - to_product, & from_level - to_level...
    2. Between from_product - to_product we have to sum up the quantity (QTY)
    3. The position 1 product should remain as it throught out the transformation and shown under new column Dmd_Prod
    4. Between Position 1 and Position 5 we have 2 Req_Flag --> One req_flag = 'Y' at pos = 1 and another req_flag = 'Y' at pos = 5
       So my From_Product will be product as pos = 1 and to_product will be product at pos = 5...
    5. The same iteration goes on and my product at pos = 5 becomes my from_product and another item at pos = 7 becomes to_product... and so on...
    I hope i am clear in my explanation...
    please give me some hints or tips how to solve it...
    Attached is the create table statement for sample data...
    Create Table test As
    (Select 99904228 prod, 'LEVEL_1' l_level, 828452 first_prod_id,  1 position,  1 route, 'Y' req_flag, 0 qty From dual Union All 
    Select 96500436 prod, 'LEVEL_2' l_level, 828452 first_prod_id,  2 position,  1 route, 'N' req_flag, 1 qty From dual Union All
    Select 96500437 prod, 'LEVEL_2' l_level, 828452 first_prod_id,  3 position,  1 route, 'N' req_flag, 1 qty From dual Union All
    Select 96500437 prod, 'LEVEL_3' l_level, 828452 first_prod_id,  4 position,  1 route, 'N' req_flag, 2 qty From dual Union All
    Select 66500084 prod, 'LEVEL_3' l_level, 828452 first_prod_id,  5 position,  1 route, 'Y' req_flag, 0 qty From dual Union All
    Select 67653972 prod, 'LEVEL_3' l_level, 828452 first_prod_id,  6 position,  1 route, 'N' req_flag, 2 qty From dual Union All
    Select 47418545 prod, 'LEVEL_4' l_level, 828452 first_prod_id,  7 position,  1 route, 'Y' req_flag, 0 qty From dual Union All
    Select 47418545 prod, 'LEVEL_5' l_level, 828452 first_prod_id,  8 position,  1 route, 'N' req_flag, 0 qty From dual Union All
    Select 35264043 prod, 'LEVEL_5' l_level, 828452 first_prod_id,  9 position,  1 route, 'N' req_flag, 2 qty From dual Union All
    Select 37411616 prod, 'LEVEL_5' l_level, 828452 first_prod_id,  10 position, 1 route, 'N' req_flag, 0 qty From dual Union All
    Select 35264044 prod, 'LEVEL_6' l_level, 828452 first_prod_id,  11 position, 1 route, 'Y' req_flag, 2 qty From dual
    Regards
    nic..

    Maybe
    select dmd_product,
           from_product,
           from_level,
           to_product,
           to_level,
           total_qty,
           agg_yield
      from (select position,
                   dmd_product,
                   case when to_flag = 'Y' and lag(from_flag,1) over (order by position) = 'Y'
                        then lag(from_product,1) over (order by position)
                   end from_product,
                   case when to_flag = 'Y' and lag(from_flag,1) over (order by position) = 'Y'
                        then lag(from_level,1) over (order by position)
                   end from_level,
                   to_product,
                   to_level,
                   total_qty,
                   case when total_qty is not null
                        then yield
                   end agg_yield
              from (select position,
                          first_value(dmd_product ignore nulls) over (order by position) dmd_product,
                          from_product,
                          from_level,
                          to_product,
                          to_level,
                          case to_flag when 'Y'
                                       then total_qty -
                                            lag(total_qty,1) over (order by position) +
                                            lead(qty,1) over (order by position)
                          end total_qty,
                          case when to_flag = 'Y'
                                and lead(to_flag,1) over (order by position) = 'N'
                               then yield
                               else yield * lead(yield,1) over (order by position) / 100
                          end yield,
                          from_flag,
                          to_flag
                     from (select position,
                                  case when req_flag = 'Y'
                                        and position = (select min(position)
                                                          from test
                                                         where req_flag = 'Y'
                                       then prod
                                  end dmd_product,
                                  prod from_product,
                                  l_level from_level,
                                  req_flag from_flag,
                                  lead(prod,1) over (order by position) to_product,
                                  lead(l_level,1) over (order by position) to_level,
                                  lead(req_flag,1) over (order by position) to_flag,
                                  qty,
                                  sum(qty) over (order by position) total_qty,
                                  last_value(nullif(yield,100) ignore nulls) over (order by position) yield
                             from test
                    where from_flag != 'N'
                       or to_flag != 'N'
             where dmd_product is not null
    where from_product is not null
    order by position
    DMD_PRODUCT
    FROM_PRODUCT
    FROM_LEVEL
    TO_PRODUCT
    TO_LEVEL
    TOTAL_QTY
    AGG_YIELD
    99904228
    99904228
    LEVEL_1
    66500084
    LEVEL_3
    4
    92
    99904228
    66500084
    LEVEL_3
    47418545
    LEVEL_4
    2
    90
    99904228
    47418545
    LEVEL_4
    35264044
    LEVEL_6
    4
    97.02
    Regards
    Etbin

  • Need Help in trying to understand class objects

    I need help on understanding following problem.I have two files for that, which are as follows:
    first file
    public class Matrix extends Object {
         private int  matrixData[][];     // integer array to store integer data
         private int    rowMatrix;     // number of rows
         private int    colMatrix;     // number of columns
         public Matrix( int m, int n )
         {       /*Constructor: initializes rowMatrix and colMatrix,
              and creates a double subscripted integer array matrix
              of rowMatrix rows and colMatrixm columns. */
              rowMatrix = m;
              colMatrix = n;
              matrixData = new int[rowMatrix][colMatrix];
         public Matrix( int data[][] )
         {     /* Constructor: creates a double subscripted integer array
              and initilizes the array using values of data[][] array. */
              rowMatrix = data.length;
              colMatrix = data[0].length;
              matrixData = new int [rowMatrix][colMatrix];
              for(int i=0; i<rowMatrix; i++)
                   for(int j=0; j<colMatrix; j++)
                        matrixData[i][j] = data[i][j];
         public int getElement( int i, int j)
         {      /* returns the element at the ith row and jth column of
              this matrix. */
              return matrixData[i][j];
         public boolean setElement( int  x, int i, int j)
         {     /* sets to x the element at the ith row and jth column
              of this matrix; this method  should also check the
              consistency of i and j (i.e.,  if  i and j are in the range
              required for subscripts; only in this situation the operation
              can succeed); the method should return true if the operation
              succeeds, and should return false otherwise.
              for(i=0;i<rowMatrix;i++){
                   for(j=0;j<colMatrix;j++){
                        x = matrixData[i][j];
              if(i<rowMatrix && j<colMatrix){
                   return true;
              else{
                   return false;
         public Matrix transposeMatrix( )
         {     /*returns a reference to an object of the class Matrix,
              that contains the transpose of this matrix. */
         Verify tata;
         Matrix trans;
         //Matrix var = matrixData[rowMatrix][colMatrix];
         for(int row=0;row<rowMatrix;row++){
              for(int col=0;col<colMatrix;col++){
              matrixData[rowMatrix][colMatrix] = matrixData[colMatrix][rowMatrix];
         trans = new Matrix(matrixData);
                         return trans;
         public Matrix multipleMatrix( Matrix m )
              /*returns a reference to an object of the class Matrix,
              that contains the product of this matrix and matrix m. */
          m = new Matrix(matrixData);
              //Matrix var = matrixData[rowMatrix][colMatrix];
              for(int row=0;row<rowMatrix;row++){
                   for(int col=0;col<colMatrix;col++){
                        //trans[row][col] = getElement(row,col);
         return m;
         public int diffMatrix( Matrix m )
              /*returns the sum of the squared element-wise differences
              of this matrix and m ( reference to the formula in the description
              of assignment 5) */
         return 0;
         public String toString(  )
              /* overloads the toString in Object */
              String output = " row = " + rowMatrix + " col="+colMatrix + "\n";
              for( int i=0; i<rowMatrix; i++)
                   for( int j=0; j<colMatrix; j++)
                        output += " " + getElement(i,j) + " ";
                   output += "\n";
              return output;
    Second file
    public class Verify extends Object {
         public static void main( String args[] )
              int[][] dataA = {{1,1,1},{2,0,1},{1,2,0},{4,0,0}}; // data of A
              int[][] dataB = {{1,2,2,0},{1,0,3,0},{1,0,3,4}};   // data of B
              Matrix matrixA = new Matrix(dataA);     // matrix A
              System.out.println("Matrix A:"+matrixA);
              Matrix matrixB = new Matrix(dataB);     // matrix B
              System.out.println("Matrix B:"+matrixB);
              // Calculate the left-hand matrix
              Matrix leftFormula = (matrixA.multipleMatrix(matrixB)).transposeMatrix();
              System.out.println("Left  Side:"+leftFormula);
              // Calculate the right-hand matrix
              Matrix rightFormula = (matrixB.transposeMatrix()).multipleMatrix(matrixA.transposeMatrix());
              System.out.println("Right Side:"+rightFormula);
              // Calculate the difference between left-hand matrix and right-hand matrix
              // according to the formula in assignment description
              double diff = leftFormula.diffMatrix(rightFormula);
              if( diff < 1E-6 ) // 1E-6 is a threshold
                   System.out.println("Formula is TRUE");
              else
                   System.out.println("Formula is FALSE");
    }My basic aim is to verify the formula
    (A . B)' =B' . A' or {(A*B)tranpose = Btranspose * A transpose}Now My problem is that I have to run the verify class file and verify class file will call the matrix class and its methods when to do certain calculations (for example to find left formula it calls tranposematrix() and multipleMatrix();)
    How will I be able to get the matrix which is to be transposed in transposeMatrix method (in Matrix class)becoz in the method call there is no input for transposematrix() and only one input for multipleMatrix(matrix m).
    please peeople help me put in this.
    thanking in advance

    Please don't crosspost.
    http://forum.java.sun.com/thread.jspa?threadID=691969
    The other one is the crosspost.Okay, whatever. I'm not really concerned with which one is the original. I just view the set of threads overall as being a crosspost, and arbitrarily pick one to point others toward.
    But either way
    knightofdurham... pick one thread and post only in
    the one.Indeed. And indicate such in the other one.

  • Need help to develop Pythagoras theorem-

    Hi i need help to develop proofs 2,3,4
    of pythagoras theorems in java as demonstrations
    These are applets can anyone help me with it or give me an idea of how to go about developing it -
    the site is the following
    http://www.uni-koeln.de/ew-fak/Mathe/Projekte/VisuPro/pythagoras/pythagoras.html
    then double click on the screen to make it start

    Pardon my ASCII art, but I've always liked the following, simple, geometric proof:
         a                   b
    ---------------------------------------+
    |       |                                |
    a|   I   |              II                |
    |       |                                |
    ---------------------------------------+
    |       |                                |
    |       |                                |
    |       |                                |
    |       |                                |
    |       |                                |
    b|  IV   |              III               |
    |       |                                |
    |       |                                |
    |       |                                |
    |       |                                |
    |       |                                |
    |       |                                |
    ---------------------------------------+It almost goes without saying that I+II+III+IV == (a+b)^2, and II == IV == a*b,
    I == a*a and III == b*b, showing that (a+b)^2 == a^2+a*b+a*b+b^2.
    I hope the following sketch makes sense, stand back, ASCII art alert again:     a                   b
    ---------------------------------------+
    |               .             VI         |
    |     .                 .                |a
    | V                               .      |
    |                                        +
    |                                        |
    |   .                                    |
    b|                                     .  |
    |                                        |
    |                  IX                    |
    | .                                      |
    |                                    .   |b
    |                                        |
    +                                        |
    |      .                                 |
    a|               .                  . VII |
    |  VIII                   .              |
    ---------------------------------------+
                     a                    bThe total area equals (a+b)^2 again and equals the sum of the smaller areas:
    (a+b)^2 == V+VI+VII+VIII+IX. Let area IX be c^2 for whatever c may be.
    V+VII == VI+VIII == a*b, so a^2+b^2+2*ab= c^2+2*a*b; IOW a^2+b^2 == c^2
    Given this fundamental result, the others can easily be derived from this one,
    or did I answer a question you didn't ask?
    kind regards,
    Jos

  • I need help to find and open a job app that I exported, was able to fill out and sign and saved and now can't open it? What did I do wrong?

    I need help to find and open a job app that I exported, was able to fill out and sign and saved and now can't open it? What did I do wrong?

    What file format did you export it to?

  • Need help to open audios attached in a PDF file

    Hello
    I just need help. I have ordered a reviewer online that has audios and texts in a pdf file. I was told to download the latest adobe reader on my computer. I have done the same thing on my ipad mini. I am not so technical with regards to these things. Therefore I need help. I can access the audios on my computer but not on my ipad.
    I want to listen to audios with scripts or texts on them so i can listen to them when i am on the go. I was also informed that these files should work in any device. How come the audios doesnt work on my ipad.
    Please help me on what to do.
    Thanks

    Audio and video are not currently support on Adobe Reader. :-<
    You need to buy a PDF reader that supports them. My suggestion is PDF Expert from Readdle ($US 9.99)

  • Need help to open and look for file by name

    Hi,
            Im needing help to open a folder and look for a file (.txt) on this directory by his name ... The user ll type the partial name of file , and i need look for this file on the folder , and delete it ....
    How can i look for the file by his name ?
    Thx =)

    Hi ,
        Sry ,, let me explain again ... I ll set the name of the files in the follow order ... Name_Serial_date_chanel.sxc ..
    The user ll type the serial that he wants delete ...
    I already figured out what i need guys .. thx for the help ^^
    I used List Directory on advanced IO , to list all .. the Name is the same for all ... then i used Name_ concateneted with Serial(typed)* .. this command serial* ll list all serials equal the typed , in my case , ll exist only one , cuz its a count this serial .Then i pass the path to the delete , and its done !
    Thx ^^

  • I need help, my ipod touch is not recognized by windows as a harddisk

    i need help, my ipod touch is not recognized by windows like a memory card or a harddisk.
    i would like to transfer the files from pc to my ipod touch without useing itunes.
    as i see theres some people here that theires ipod touch are recongnzed as a digitl camra, mine is reconzied as nothing, some help plz.
    Message was edited by: B0Om

    B0Om wrote:
    ok but i still dont understed, only my itnes recongnize my ipod, when i go to " my cumputer, it dosent show up there, not even as a digital camra
    Your Touch is working correctly. Currently, without unsupported third party hacks, the Touch has NO disc mode. It will only show up in iTunes.
    how do i put programes and games in my ipod touch
    Right now, you don't. The SDK is scheduled to be released in Feburary. Then developers will be able to write programs that will be loadable.

  • Weird error message need help..

    SO.. i havent updated my itunes in a while because i keep getting this weird message.. it comes up when im almost done installing the newest/newer versions of itunes. it says
    "the feature you are trying to use is on a network resource that is unavailable" "click ok to try again or enter an alternate path to a folder containing the installation package 'iTunes.msi' in the box below"
    now when ever i choose a file from the browse box it replies with this message "the file 'xxx' is not a valid installation package for the product iTunes. try to find the installation package iTunes.msi in a folder from which you can install iTunes."
    no idea need help thanks
    ~~~lake
    Message was edited by: DarkxFlamexCaster
    Message was edited by: DarkxFlamexCaster

    +it comes up when im almost done installing the newest/newer versions of itunes. it says+ +"the feature you are trying to use is on a network resource that is unavailable" "click ok to try again or enter an alternate path to a folder containing the installation package 'iTunes.msi' in the box below"+
    With that one, let's try the following procedure.
    First, head into your Add/Remove programs and uninstall your QuickTime. If it goes, good. If it doesn't, we'll just attend to it when we attend to iTunes.
    Next, download and install the Windows Installer CleanUp utility:
    Description of the Windows Installer CleanUp Utility
    Now launch Windows Installer CleanUp ("Start > All Programs > Windows Install Clean Up"), find any iTunes and/or QuickTime entries in the list of programs in CleanUp, select those entries, and click “remove”.
    Next, we'll manually remove any leftover iTunes or QuickTime program files:
    (1) Open Local Disk (C:) in Computer or whichever disk programs are installed on.
    (2) Open the Program Files folder.
    (3) Right-click the iTunes folder and select Delete and choose Yes when asked to confirm the deletion.
    (4) Right-click the QuickTime folder and select Delete and choose Yes when asked to confirm the deletion. (Note: This folder may have already been deleted if QuickTime was successfully removed using Add/Remove Programs earlier.)
    (5) Delete the QuickTime and QuicktimeVR files located in the C:\Windows\system32\ folder. Click Continue if Windows needs confirmation or permission to continue. (Note: These files may have already been deleted if QuickTime was successfully removed using Add/Remove Programs earlier.)
    (6) Right-click on the Recycle Bin and on the shortcut menu, click Empty Recycle Bin.
    (7) Restart your computer.
    Now try another iTunes install. Does it go through properly now?

  • I got new hard driver for my MacBook I don't have the cd but I do have flash drive that has the software I need help because when I turn on my laptop it shows me a file with question mark how can I install the software from the flash driver?

    I got new hard driver for my MacBook I don't have the cd but I do have flash drive that has the software I need help because when I turn on my laptop it shows me a file with question mark how can I install the software from the flash driver?

    Hold down the Option key while you boot your Mac. Then, it should show you a selection of devices. Click your flash drive and it will boot from that.

  • Need help adobe bridge cc output module

    I need help. I have an assignment I'm held up on completing because the adobe cc bridge does not have the output modue I need. I followed the adobe instructions page to the letter. I copied and pasted the output module folder to the adobe bridge cc extensions folder in programs/commonfiles/adobe. The only thing is the instructions then say to paste the workspace file into the workspace folder located below the bridge extensions folder. I don't have a workspaces folder there or anywhere. I even tried must making one and adding the file to it, but no go. can someone PLEASE help me with this?    I have an assignment due like now that requires the use of the output modue.thanks!

    oh,my system is windows 8.1. sorry, lol.

  • Trying to create a Invoice based on Order need help Error -5002

    the dreaded -5002 error is haunting me too! and I could not find a matching solution for this in the forum....
    I need help quickly on this. I am trying to create invoices for some orders so the Base - Target relationship is retained. The orders I pick are all Open (DocStatus   = O and the lines are all Open LineStatus = O)
    here is my code
    oInvoice.Lines.BaseEntry = 48
    oInvoice.Lines.BaseLine = 0
    oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
    oInvoice.Lines.ItemCode = "A00001"
    oInvoice.Lines.ItemDescription = "IBM Infoprint 1312"
    'adding Line
    oInvoice.Lines.Add
    oInvoice.Lines.BaseEntry = 48
    oInvoice.Lines.BaseLine = 1
    oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
    oInvoice.Lines.ItemCode = "A00002"
    oInvoice.Lines.ItemDescription = "IBM Inforprint 1222"
    'adding Line
    oInvoice.Lines.Add
    lRetCode = oInvoice.Add
    If lRetCode <> 0 Then
        gObjCompany.GetLastError lErrCode, sErrMsg
        MsgBox (lErrCode & " " & sErrMsg)
    End If

    Indika,
    Only set your base types...
    (not items & description)
    oInvoice.Lines.BaseEntry = 48
    oInvoice.Lines.BaseLine = 0
    oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
    oInvoice.Lines.ItemCode = "A00001"
    oInvoice.Lines.ItemDescription = "IBM Infoprint 1312"
    'adding Line (to fill the second item line)
    ' the 1st line item is there by default
    oInvoice.Lines.Add
    oInvoice.Lines.BaseEntry = 48
    oInvoice.Lines.BaseLine = 1
    oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
    oInvoice.Lines.ItemCode = "A00002"
    oInvoice.Lines.ItemDescription = "IBM Inforprint 1222"
    'DO NOT Add THIS line
    ' (only if you want to add a 3rd line item)
    '''oInvoice.Lines.Add -> Don't add this
    lRetCode = oInvoice.Add
    If lRetCode <> 0 Then
        gObjCompany.GetLastError lErrCode, sErrMsg
        MsgBox (lErrCode & " " & sErrMsg)
    End If
    remember to add :
    oInvoice.CardCode = "your BP"
    oInvoice.DocDueDate = Now
    oInvoiceDoc.CardCode = txtDOCBPCode.Text

  • Installation of Photoshop update 13.1.2 for creative cloud fails with error code U44M1P7 I need help

    I need help installing update 13.1.2 for Photoshop creative cloud, installation fails with error code: U44M1P7. Could someone please help?

    Sorry to bother you.
    I could find the answer after searching previous posts about this language problem.
    Had to change my language in AAM profile and then download PS CS6 again ( english version ).
    Then open the actual Photoshop and in preferences > interface you can besides the Dutch also option for English.
    restart application and Voila.
    Greetz, Jeroen

  • Stored DB Procedure - Need help

    Hi. I have a stored database package containing 2 functions. I need help with the function named ret_columns.
    If you look at the code below you will see this function has two different FOR loops. The Select statement in FOR loop that is commented out works just fine, but when I try to use the uncommented select statement in it's place the Function returns NULL (or no records). However, if I run the Select statement in plain old SQL Plus it returns the rows I need. I don't get it.
    Can anyone help me? I'm really stuck on this one.
    -- PACKAGE BODY
    CREATE OR REPLACE package body audit_table_info
    as
    function ret_tables return table_type is
    t_t table_type;
    i integer;
    begin
    i := 1;
    for rec in (select distinct table_name
    from all_triggers
                   where substr(trigger_name,1,9) = upper('tr_audit#')) loop
    t_t(i).tableA := rec.table_name;
    i := i+1;
    end loop;
    return t_t;
    end;
    function ret_columns return column_type is
    c_t column_type;
    i integer;
    begin
    i := 1;
    -- for rec in (select distinct table_name column_name
    -- from all_triggers
    --               where substr(trigger_name,1,9) = upper('tr_audit#')) loop
    for rec in (select distinct b.column_name column_name
    from all_triggers a, all_tab_columns b
                   where a.table_owner = b.owner
                        and a.table_name = b.table_name
                             and substr(a.trigger_name,1,9) = upper('tr_audit#') and rownum < 5) loop                    
    c_t(i).tableB := rec.column_name;
    i := i+1;
    end loop;
    return c_t;
    end;
    end audit_table_info;
    -- PACKAGE DEFINITION
    CREATE OR REPLACE package Audit_Table_Info as
    type table_rec is record( tableA all_tab_columns.TABLE_NAME%type);
    type table_type is table of table_rec index by binary_integer;
    function ret_tables return table_type;
    type column_rec is record( tableB all_tables.TABLE_NAME%type);
    type column_type is table of column_rec index by binary_integer;
    function ret_columns return column_type;
    end Audit_Table_Info;
    /

    It works when I do this!!! I'm so confused.
    Ok...so I did this:
    1 create table test_columns as
    2 (select b.column_name
    3 from all_triggers a,
    4 all_tab_columns b
    5 where a.table_owner = b.owner
    6 and a.table_name = b.table_name
    7 and substr(a.trigger_name,1,9) = upper('tr_audit#')
    8* and rownum < 5)
    SQL> /
    Table created.
    Then altered the Function so the Select statement refers to this table:
    function ret_columns return column_type is
    c_t column_type;
    i integer;
    begin
    i := 1;
    for rec in (select distinct column_name
    from test_columns) loop
    c_t(i).tableB := rec.column_name;
    i := i+1;
    end loop;
    return c_t;
    end;
    Again, any help would be greatly greatly appreciated!

  • Need help with Math related operations...

    I'm learning JAVA for more than 3 weeks and I really need help...
    I'm using SDK1.4 with Elixir IDE Lite (+patch installed).
    In the following screenshot <http://www.geocities.com/jonny_fyy/pics/java1.png>, I've got this error (when I right-click -> Compile) . Do you know what it means & how can I solve it?
    Here's how it should look if correct (pic scan from lab worksheet)... <http://www.geocities.com/jonny_fyy/pics/lab.jpg>
    Here's my java file... <http://www.geocities.com/jonny_fyy/FahToCeltxt.java>
    Thanks for helping :>

    Hi jonny
    One step ahead:
    import java.awt.*;
    import java.applet.*;
    import java.awt.event.*;
    public class FahToCeltxt extends Applet implements ActionListener {
         TextField msgField ;
         String msg = null;
         int msgValue;
         Label title;
         Button b;
         public void init() {
              title = new Label("Enter degrees in Fahrenheit: ");
              add(title);
              msgField = new TextField (10);
              add(msgField);
    //          msgField.addTextListener(this);
              b = new Button("Convert");
              b.addActionListener(this);
              add(b);
    //     public void textValueChanged(TextEvent event) {
    //          msgValue = Integer.parseInt(msgField.getText());
    //          repaint();
         public void paint (Graphics g) {
              int result = (msgValue - 32) * 5/9 ;
              g.drawString("Degree Centigrade is " + result , 50, 50);
      public void actionPerformed(ActionEvent e) {
              msgValue = Integer.parseInt(msgField.getText());
              repaint();
    }Regards.

Maybe you are looking for

  • CM installation error

    Dear Readers,           I have EP6SP7 installed on SAP Web AS 6.40. My portal link works fine. When I installed CM, I got an error message during installation which said that the installation went fine with some errors. I checked the cf_installtion.r

  • Reminder upon receiving call

    I would like to recieve a reminder when I receive a call. For example, when a friend calls me to remind me to talk to this person about something important. Currently, I only see the reminders for dates/time and/or location. I am NOT looking for an a

  • 3 Coloumns In One Page

    Hi all, Is it possible to use 3 coloumns in one page within smarforms. I have a tablo loop with 5 coloumns and i want to use page as 3 piece. When table loop fills the first coloumn(it contents 5 coloumns) then it goes second coloumn and continue to

  • About the proxy servlet!!!!!

    Hi there,           I need to us the proxy servlet to redirect requests that cannot be served by           my weblogic server to another server. I'm using the following configuration           parameters in my weblogic.properties file:           webl

  • Running a query from a called form programmatically

    Hi, I would like to run a query from a called form using the same criteria as the calling form used, this is my situation; I have a form with a field called IDNO when I execute the query I have code in the KEY-EXEQRY that first checks the HOLDER tabl