Selecting and loading songs into an already full Nano (8G)

Hello: I had loaded months ago my Nano with all my songs in the Library as it was less than 8G. Now I want to connect my Nano and 'reload' (not sure the right term) songs I want on it (along with Playlists). My current Library has many more songs now (meaning, I just can't tranfer my whole Library to the Nano any more). So, do I need to delete all the songs on my Nano, then some how select only the songs I want loaded, and transfer? Do you select the songs you want transfered by marking the box to the left of each song or do you create a Playlist and dump it into the Nano. Sorry for this basic question. FYI -- I have iTunes 7.6.x. Thanks in advance.

The easiest way (in my opinion at least) to do this is to manually manage the songs on you iPod. To do this open itunes and connect the ipod. When it loads select the iPod (so you see the restore ipod and update ipod options). Towards the bottom of the screen check the box that says "manually manage music." To update the songs and play lists, just drag them to the icon for you ipod. To delete songs click the arrow next to the ipod to bring up the submenus. select the music menu then go through the ipod and delete what you don't want. This might be an extra step or two, but its sure to get you exactly what you want.

Similar Messages

  • How do i find and load songs i purchased today into a playlist on my itouch

    how do i find and load songs i purchased today into a playlist on my itouch?

    The iPad doesn't have a USB port. You may be able to "connect" them through your home wifi network.
    Apple created iCloud to sync files between iPhones, iPads and Macs. You're going to have to pay for the "connection."

  • There are no songs in my itunes library found when selecting autofill, and dragging songs into device does not do anything now what?

    when i hit auto fill under music it just says Itunes cannot add any song to "___'s Iphone" because no songs in your itunes library could be found.
    there clearly is an anbundance of music that I have been syncing all the time, I have not the slightest idea why it just stopped working, also when I try to manually click and drag songs into the device tab in itunes, NOTHING happens.
    any suggestions on how to fix it

    I have a very smilar problem. Recently imported my modest music collection from my old G3 CRT to a new Mac Mini by linking the two machines and then dragging the music library and songs over.
    iTunes works fine in normal screen mode, music library is all there and all songs are visible and play but when trying to play back with the Apple Remote it opens up iLife ok and lists the playlists. Click on 'Songs' it says that there are no songs in the library. Click on any playlist then it goes to 'Shuffle Songs' then 'Error has occured' It can't seem to see the music library.
    I put this question on iTunes and Mac Mini discussion and got:
    Some other people have had similar problems, you might see if the suggestions in this thread help:
    http://discussions.apple.com/thread.jspa?threadID=447043
    Tried but as yet no success. Tried re-naming the iTunes Music Library.xml and also deleting com.apple.frontrow.plist from Library and letting it rebuild without any luck.
    Any suggestions out there as how to resolve this? Thanks in advance.

  • Open an Excel file to read and load it into Oracle - Oracle COM Automation

    Hello All,
    Please I need your help for this problem:
    I need to load Excel sheet data (read the data) and load it into Oracle database (insert into a table), the excel file created and has data before, and saved with xls format. and I need to do that using the Oracle® COM Automation (ordcom package). The examples I found open and create a new workbook and deletes the old saved data, so I need to open (edit) the sheet just for reading.
    I appreciate ans sample code to help me do that, Please help me out. This is very urgent.
    Thanks alot and best regards,
    Nabil

    For reading from Excel, there are some easy ways like Oracle Heterogenious Services. If you want to use COM then:
    My orawpcom.dll file exists in the directory C:\oracle\product\10.2.0\db_2\bin
    C:\oracle\product\10.2.0\db_2\bin>dir orawpco*.dll
    Volume in drive C is C_Drive
    Volume Serial Number is 8A93-1441
    Directory of C:\oracle\product\10.2.0\db_2\bin
    03/20/2006  05:06 PM            61,440 orawpcom.dll
    10/11/2006  03:20 PM            81,920 orawpcom10.dll
                   2 File(s)        143,360 bytes
                   0 Dir(s)  65,407,717,376 bytes free
    C:\oracle\product\10.2.0\db_2\bin>Information about my database version.
    SQL> /* My databaser version */
    SQL> SELECT * FROM v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    CORE    10.2.0.3.0      Production
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    SQL> Preparing the user SCOTT for COM automation.
    Now, I will run comwrap.sql from scott user. I have edited the comwrap.sql to adjust my library path here:
    create library utils_lib as 'C:\oracle\product\10.2.0\db_3\bin\orawpcom.dll';Running comwrap.sql and ExcelSolution.sql .....
    SQL> conn scott@orclsb
    Enter password: *****
    Connected.
    SQL> @c:\comwrap.sql
    drop library utils_lib
    ERROR at line 1:
    ORA-04043: object UTILS_LIB does not exist
    Library created.
    drop package ORDCOM
    ERROR at line 1:
    ORA-04043: object ORDCOM does not exist
    drop TYPE OAArgTable
    ERROR at line 1:
    ORA-04043: object OAARGTABLE does not exist
    Type created.
    drop TYPE OAArgTypeTable
    ERROR at line 1:
    ORA-04043: object OAARGTYPETABLE does not exist
    Type created.
    drop function OAgetNumber
    ERROR at line 1:
    ORA-04043: object OAGETNUMBER does not exist
    Function created.
    drop function OAgetStr
    ERROR at line 1:
    ORA-04043: object OAGETSTR does not exist
    Function created.
    drop function OAgetBool
    ERROR at line 1:
    ORA-04043: object OAGETBOOL does not exist
    Function created.
    drop function OAsetNumber
    ERROR at line 1:
    ORA-04043: object OASETNUMBER does not exist
    Function created.
    drop function OAsetString
    ERROR at line 1:
    ORA-04043: object OASETSTRING does not exist
    Function created.
    drop function OAsetBoolean
    ERROR at line 1:
    ORA-04043: object OASETBOOLEAN does not exist
    Function created.
    drop function OAInvokeDouble
    ERROR at line 1:
    ORA-04043: object OAINVOKEDOUBLE does not exist
    Function created.
    drop function OAInvokeBoolean
    ERROR at line 1:
    ORA-04043: object OAINVOKEBOOLEAN does not exist
    Function created.
    drop function OAInvokeString
    ERROR at line 1:
    ORA-04043: object OAINVOKESTRING does not exist
    Function created.
    drop function OACreate
    ERROR at line 1:
    ORA-04043: object OACREATE does not exist
    Function created.
    drop function OADestroy
    ERROR at line 1:
    ORA-04043: object OADESTROY does not exist
    Function created.
    drop function OAGetLastError
    ERROR at line 1:
    ORA-04043: object OAGETLASTERROR does not exist
    Function created.
    drop function OAQueryMethods
    ERROR at line 1:
    ORA-04043: object OAQUERYMETHODS does not exist
    Function created.
    Package created.
    Package body created.
    SQL>
    SQL> @c:\ExcelSolution.sql
    drop package ORDExcel
    ERROR at line 1:
    ORA-04043: object ORDEXCEL does not exist
    Package created.
    Package body created.
    SQL>
    I have modified ORDExcel a little bit and renamed it as ORDExcelSB. You need this version for reading the excel.
    SQL> @C:\ExcelSolutionSB.sql
    Package dropped.
    Package created.
    Package body created.
    SQL> The actual code of ORDExcelSB (ExcelSolutionSB.sql) Is:
    set serveroutput on;
    drop package ORDExcelSB;
    CREATE PACKAGE ORDExcelSB AS
       /* Declare externally callable subprograms. */
       FUNCTION CreateExcelApplication(servername VARCHAR2) RETURN binary_integer;
       FUNCTION OpenExcelFile(filename VARCHAR2, sheetname VARCHAR2) RETURN binary_integer;
       FUNCTION CreateExcelWorkSheet(servername varchar2) return binary_integer;
       FUNCTION InsertData(range varchar2, data binary_integer, type varchar2) return binary_integer;
       FUNCTION InsertDataReal(range varchar2, data double precision, type varchar2) return binary_integer;
       FUNCTION GetDataNum(range varchar2) return binary_integer;
       FUNCTION GetDataStr(range varchar2) return varchar2;
       FUNCTION GetDataReal(range varchar2) return double precision;
       FUNCTION GetDataDate(range varchar2) return date;
       FUNCTION InsertData(range varchar2, data varchar2, type varchar2) return binary_integer;
       FUNCTION InsertData(range varchar2, data Date, type varchar2) return binary_integer;
       FUNCTION InsertChart(xpos binary_integer, ypos binary_integer, width binary_integer,
                                  height binary_integer, range varchar2, type varchar2) return binary_integer;
       FUNCTION SaveExcelFile(filename varchar2) return binary_integer;
       FUNCTION ExitExcel return binary_integer;
    END ORDExcelSB;
    CREATE PACKAGE BODY ORDExcelSB AS
       DummyToken          binary_integer;     
       applicationToken binary_integer:=-1;
       WorkBooksToken     binary_integer:=-1;
       WorkBookToken     binary_integer:=-1;
       WorkSheetToken     binary_integer:=-1;
       WorkSheetToken1     binary_integer:=-1;
       RangeToken          binary_integer:=-1;
       ChartObjectToken     binary_integer:=-1;
       ChartObject1          binary_integer:=-1;
       Chart1Token          binary_integer:=-1;
       i                    binary_integer;
       retNum               binary_integer;
       retReal               double precision;
       retStr               varchar2(255);
       retDate               DATE;
    error_src varchar2(255);
    error_description varchar2(255);
    error_helpfile varchar2(255);
    error_helpID binary_integer;
    FUNCTION CreateExcelApplication(servername VARCHAR2) RETURN binary_integer IS
      BEGIN
        dbms_output.put_line('Creating Excel application...');
        i := OrdCOM.CreateObject('Excel.Application',
                                 0,
                                 servername,
                                 applicationToken);
        IF (i != 0) THEN
          ORDCOM.GetLastError(error_src,
                              error_description,
                              error_helpfile,
                              error_helpID);
          dbms_output.put_line(error_src);
          dbms_output.put_line(error_description);
          dbms_output.put_line(error_helpfile);
        END IF;
        dbms_output.put_line('Invoking Workbooks...');
        i := ORDCOM.GetProperty(applicationToken,
                                'WorkBooks',
                                0,
                                WorkBooksToken);
        IF (i != 0) THEN
          ORDCOM.GetLastError(error_src,
                              error_description,
                              error_helpfile,
                              error_helpID);
          dbms_output.put_line(error_src);
          dbms_output.put_line(error_description);
          dbms_output.put_line(error_helpfile);
        END IF;
        RETURN i;
      END CreateExcelApplication;
      FUNCTION OpenExcelFile(filename VARCHAR2, sheetname VARCHAR2)
        RETURN binary_integer IS
      BEGIN
        dbms_output.put_line('Opening Excel file ' || filename || ' ...');
        ORDCOM.InitArg();
        ORDCOM.SetArg(filename, 'BSTR');
        i := ORDCOM.Invoke(WorkBooksToken, 'Open', 1, DummyToken);
        IF (i != 0) THEN
          ORDCOM.GetLastError(error_src,
                              error_description,
                              error_helpfile,
                              error_helpID);
          dbms_output.put_line(error_src);
          dbms_output.put_line(error_description);
          dbms_output.put_line(error_helpfile);
        END IF;
        dbms_output.put_line('Opening WorkBook');
        i := ORDCOM.GetProperty(applicationToken,
                                'ActiveWorkbook',
                                0,
                                WorkBookToken);
        IF (i != 0) THEN
          ORDCOM.GetLastError(error_src,
                              error_description,
                              error_helpfile,
                              error_helpID);
          dbms_output.put_line(error_src);
          dbms_output.put_line(error_description);
          dbms_output.put_line(error_helpfile);
        END IF;
        dbms_output.put_line('Invoking WorkSheets..');
        i := ORDCOM.GetProperty(applicationToken,
                                'WorkSheets',
                                0,
                                WorkSheetToken1);
        IF (i != 0) THEN
          ORDCOM.GetLastError(error_src,
                              error_description,
                              error_helpfile,
                              error_helpID);
          dbms_output.put_line(error_src);
          dbms_output.put_line(error_description);
          dbms_output.put_line(error_helpfile);
        END IF;
        dbms_output.put_line('Invoking WorkSheet');
        ORDCOM.InitArg();
        ORDCOM.SetArg(sheetname, 'BSTR');
        i := ORDCOM.GetProperty(WorkBookToken, 'Sheets', 1, WorkSheetToken);
        IF (i != 0) THEN
          ORDCOM.GetLastError(error_src,
                              error_description,
                              error_helpfile,
                              error_helpID);
          dbms_output.put_line(error_src);
          dbms_output.put_line(error_description);
          dbms_output.put_line(error_helpfile);
        END IF;
        dbms_output.put_line('Opened ');
        RETURN i;
      END OpenExcelFile;
    * Invoke the Excel Automation Server and create a Workbook object as
    * well as a worksheet object
    FUNCTION CreateExcelWorkSheet(servername varchar2) return binary_integer IS
    BEGIN
         dbms_output.put_line('Creating Excel application...');
         i:=ORDCOM.CreateObject('Excel.Application', 0, servername,applicationToken);
         IF (i!=0) THEN
         ORDCOM.GetLastError(error_src, error_description, error_helpfile, error_helpID);
         dbms_output.put_line(error_src);
         dbms_output.put_line(error_description);
         dbms_output.put_line(error_helpfile);
         END IF;
         dbms_output.put_line('Invoking Workbooks...');
         /*i:=ORDCOM.Invoke(applicationToken, 'WorkBooks',0, WorkBooksToken);*/
         i:=ORDCOM.GetProperty(applicationToken, 'WorkBooks', 0, WorkBooksToken);
         IF (i!=0) THEN
         ORDCOM.GetLastError(error_src, error_description, error_helpfile, error_helpID);
         dbms_output.put_line(error_src);
         dbms_output.put_line(error_description);
         dbms_output.put_line(error_helpfile);
         END IF;
         dbms_output.put_line('Invoking Add to WorkBooks...');
         ORDCOM.InitArg();
         ORDCOM.SetArg(-4167,'I4');
         i:=ORDCOM.Invoke(WorkBooksToken, 'Add', 1, WorkBookToken);
    IF (i!=0) THEN
         ORDCOM.GetLastError(error_src, error_description, error_helpfile, error_helpID);
         dbms_output.put_line(error_src);
         dbms_output.put_line(error_description);
         dbms_output.put_line(error_helpfile);
         END IF;
         dbms_output.put_line('Invoking WorkSheets..');
         ORDCOM.InitArg();
         ORDCOM.SetArg('Sheet 1','BSTR');
    /*     i:=ORDCOM.Invoke(applicationToken, 'WorkSheets', 1, WorkSheetToken);*/
    i:=ORDCOM.GetProperty(applicationToken, 'WorkSheets', 0, WorkSheetToken1);
    IF (i!=0) THEN
         ORDCOM.GetLastError(error_src, error_description, error_helpfile, error_helpID);
         dbms_output.put_line(error_src);
         dbms_output.put_line(error_description);
         dbms_output.put_line(error_helpfile);
         END IF;
    i:=ORDCOM.Invoke(WorkSheetToken1, 'Add', 0, WorkSheetToken);
    IF (i!=0) THEN
         ORDCOM.GetLastError(error_src, error_description, error_helpfile, error_helpID);
         dbms_output.put_line(error_src);
         dbms_output.put_line(error_description);
         dbms_output.put_line(error_helpfile);
         END IF;
         return i;
    END CreateExcelWorkSheet;
    * Invoke the Range method to obtain a range token. Then set the property value
    * at the specified range to the data required
    FUNCTION InsertData( range varchar2,
                             data binary_integer,
                             type varchar2)
                             RETURN binary_integer IS
    BEGIN
         ORDCOM.InitArg();
         ORDCOM.SetArg(range, 'BSTR');
         i:=ORDCOM.GetProperty(WorkSheetToken, 'Range', 1, RangeToken);
         IF (i!=0) THEN
         ORDCOM.GetLastError(error_src, error_description, error_helpfile, error_helpID);
         dbms_output.put_line(error_src);
         dbms_output.put_line(error_description);
         dbms_output.put_line(error_helpfile);
         END IF;
         i:=ORDCOM.SetProperty(RangeToken, 'Value', data, type);
         IF (i=0) THEN
               i:=ORDCOM.SetProperty(RangeToken, 'ColumnWidth', 15, 'I2');
         END IF;
         i:=ORDCOM.DestroyObject(RangeToken);
         RETURN i;
    END InsertData;
    * Invoke the Range method to obtain a range token. Then set the property value
    * at the specified range to the data required
    FUNCTION GetDataNum( range varchar2)
                             RETURN binary_integer IS
    BEGIN
         ORDCOM.InitArg();
         ORDCOM.SetArg(range, 'BSTR');
         i:=ORDCOM.GetProperty(WorkSheetToken, 'Range', 1, RangeToken);
         IF (i!=0) THEN
         ORDCOM.GetLastError(error_src, error_description, error_helpfile, error_helpID);
         dbms_output.put_line(error_src);
         dbms_output.put_line(error_description);
         dbms_output.put_line(error_helpfile);
         END IF;
         i:=ORDCOM.GetProperty(RangeToken, 'Value', 0, retNum);
         IF (i!=0) THEN
         ORDCOM.GetLastError(error_src, error_description, error_helpfile, error_helpID);
         dbms_output.put_line(error_src);
         dbms_output.put_line(error_description);
         dbms_output.put_line(error_helpfile);
         END IF;
         i:=ORDCOM.DestroyObject(RangeToken);
         RETURN retNum;
    END GetDataNum;
    FUNCTION GetDataReal( range varchar2)
                             RETURN double precision IS
    BEGIN
         ORDCOM.InitArg();
         ORDCOM.SetArg(range, 'BSTR');
         i:=ORDCOM.GetProperty(WorkSheetToken, 'Range', 1, RangeToken);
         IF (i!=0) THEN
         ORDCOM.GetLastError(error_src, error_description, error_helpfile, error_helpID);
         dbms_output.put_line(error_src);
         dbms_output.put_line(error_description);
         dbms_output.put_line(error_helpfile);
         END IF;
         i:=ORDCOM.GetProperty(RangeToken, 'Value', 0, retReal);
         IF (i!=0) THEN
         ORDCOM.GetLastError(error_src, error_description, error_helpfile, error_helpID);
         dbms_output.put_line(error_src);
         dbms_output.put_line(error_description);
         dbms_output.put_line(error_helpfile);
         END IF;
         i:=ORDCOM.DestroyObject(RangeToken);
         RETURN retReal;
    END GetDataReal;
    FUNCTION GetDataStr( range varchar2)
                             RETURN varchar2 IS
    BEGIN
         ORDCOM.InitArg();
         ORDCOM.SetArg(range, 'BSTR');
         i:=ORDCOM.GetProperty(WorkSheetToken, 'Range', 1, RangeToken);
         IF (i!=0) THEN
         ORDCOM.GetLastError(error_src, error_description, error_helpfile, error_helpID);
         dbms_output.put_line(error_src);
         dbms_output.put_line(error_description);
         dbms_output.put_line(error_helpfile);
         END IF;
         i:=ORDCOM.GetProperty(RangeToken, 'Value', 0, retStr);
         IF (i!=0) THEN
         ORDCOM.GetLastError(error_src, error_description, error_helpfile, error_helpID);
         dbms_output.put_line(error_src);
         dbms_output.put_line(error_description);
         dbms_output.put_line(error_helpfile);
         END IF;
         i:=ORDCOM.DestroyObject(RangeToken);
         RETURN retStr;
    END GetDataStr;
    FUNCTION GetDataDate( range varchar2)
                             RETURN Date IS
    BEGIN
         ORDCOM.InitArg();
         ORDCOM.SetArg(range, 'BSTR');
         i:=ORDCOM.GetProperty(WorkSheetToken, 'Range', 1, RangeToken);
         IF (i!=0) THEN
         ORDCOM.GetLastError(error_src, error_description, error_helpfile, error_helpID);
         dbms_output.put_line(error_src);
         dbms_output.put_line(error_description);
         dbms_output.put_line(error_helpfile);
         END IF;
         i:=ORDCOM.GetProperty(RangeToken, 'Value', 0, retDate);
         IF (i!=0) THEN
         ORDCOM.GetLastError(error_src, error_description, error_helpfile, error_helpID);
         dbms_output.put_line(error_src);
         dbms_output.put_line(error_description);
         dbms_output.put_line(error_helpfile);
         END IF;
         i:=ORDCOM.DestroyObject(RangeToken);
         RETURN retDate;
    END GetDataDate;
    FUNCTION InsertData( range varchar2,
                             data DATE,
                             type varchar2)
                             RETURN binary_integer IS
    BEGIN
         ORDCOM.InitArg();
         ORDCOM.SetArg(range, 'BSTR');
         i:=ORDCOM.GetProperty(WorkSheetToken, 'Range', 1, RangeToken);
         i:=ORDCOM.SetProperty(RangeToken, 'Value', data, type);
         i:=ORDCOM.DestroyObject(RangeToken);
         RETURN i;
    END InsertData;
    FUNCTION InsertDataReal( range varchar2,
                             data double precision,
                             type varchar2)
                             RETURN binary_integer IS
    BEGIN
         ORDCOM.InitArg();
         ORDCOM.SetArg(range, 'BSTR');
         i:=ORDCOM.GetProperty(WorkSheetToken, 'Range', 1, RangeToken);
         i:=ORDCOM.SetProperty(RangeToken, 'Value', data, type);
         i:=ORDCOM.DestroyObject(RangeToken);
         RETURN i;
    END InsertDataReal;
    FUNCTION InsertData( range varchar2,
                             data varchar2,
                             type varchar2)
                             RETURN binary_integer IS
    BEGIN
         ORDCOM.InitArg();
         ORDCOM.SetArg(range, 'BSTR');
         i:=ORDCOM.GetProperty(WorkSheetToken, 'Range', 1, RangeToken);
         i:=ORDCOM.SetProperty(RangeToken, 'Value', data, type);
         i:=ORDCOM.DestroyObject(RangeToken);
         RETURN i;
    END InsertData;
    * Insert a chart at the x and y position of the spreadsheet with the desired
    * height and width. Then also uses the ChartWizard to draw the graph with data
    * in a specified range area with a specified charting type.
    FUNCTION InsertChart(xpos binary_integer, ypos binary_integer,
                              width binary_integer, height binary_integer,
                              range varchar2, type varchar2) RETURN binary_integer IS
         charttype binary_integer:= -4099;
    BEGIN
         ORDCOM.InitArg();
         i:=ORDCOM.GetProperty(WorkSheetToken, 'ChartObjects', 0, ChartObjectToken);
         IF (i!=0) THEN
         ORDCOM.GetLastError(error_src, error_description, error_helpfile, error_helpID);
         dbms_output.put_line(error_src);
         dbms_output.put_line(error_description);
         dbms_output.put_line(error_helpfile);
         END IF;
         ORDCOM.InitArg();
         ORDCOM.SetArg(xpos,'I2');
         ORDCOM.SetArg(ypos,'I2');
         ORDCOM.SetArg(width,'I2');
         ORDCOM.SetArg(height,'I2');
         i:=ORDCOM.Invoke(ChartObjectToken, 'Add', 4, ChartObject1);
         IF (i!=0) THEN
         ORDCOM.GetLastError(error_src, error_description, error_helpfile, error_helpID);
         dbms_output.put_line(error_src);
         dbms_output.put_line(error_description);
         dbms_output.put_line(error_helpfile);
         END IF;
         i:=ORDCOM.GetProperty(ChartObject1, 'Chart', 0,Chart1Token);
         ORDCOM.InitArg();
         ORDCOM.SetArg(range, 'BSTR');
         i:=ORDCOM.GetProperty(WorkSheetToken,'Range', 1, RangeToken);
         ORDCOM.InitArg();
         ORDCOM.SetArg(RangeToken, 'DISPATCH');
         IF type='xlPie' THEN
              charttype := -4102;
         ELSIF type='xl3DBar' THEN
              charttype := -4099;
         ELSIF type='xlBar' THEN
              charttype := 2;
         ELSIF type='xl3dLine' THEN
              charttype:= -4101;
         END IF;
         ORDCOM.SetArg(charttype,'I4');
         i:=ORDCOM.Invoke(Chart1Token,'ChartWizard', 2, DummyToken);
         i:=ORDCOM.DestroyObject(RangeToken);
         i:=ORDCOM.DestroyObject(ChartObjectToken);
         i:=ORDCOM.DestroyObject(ChartObject1);
         i:=ORDCOM.DestroyObject(Chart1Token);
         RETURN i;
    END InsertChart;
    * Save the Excel File. WARNING: Do not specify a filename that already exist
    * since there is no graphical context, Oracle would not be able to pop
    * out a warning message for existing file. This causes Excel to hang
    FUNCTION SaveExcelFile(filename varchar2) return binary_integer IS
    BEGIN
         dbms_output.put_line('Saving Excel file...');
         ORDCOM.InitArg();
         ORDCOM.SetArg(filename,'BSTR');
         i:=ORDCOM.Invoke(WorkBookToken, 'SaveAs', 1, DummyToken);
         IF (i!=0) THEN
         ORDCOM.GetLastError(error_src, error_description, error_helpfile, error_helpID);
         dbms_output.put_line(error_src);
         dbms_output.put_line(error_description);
         dbms_output.put_line(error_helpfile);
         END IF;
         RETURN i;     
    END SaveExcelFile;
    * Close the Excel spreadsheet and exit from it
    FUNCTION ExitExcel return binary_integer is
    BEGIN
         dbms_output.put_line('Closing workbook and quitting...');
         ORDCOM.InitArg();
         ORDCOM.InitArg();
         ORDCOM.SetArg(FALSE,'BOOL');
         dbms_output.put_line('Closing workbook...');
         i:=ORDCOM.Invoke(WorkBookToken, 'Close', 0, DummyToken);
         IF (i!=0) THEN
         ORDCOM.GetLastError(error_src, error_description, error_helpfile, error_helpID);
         dbms_output.put_line(error_src);
         dbms_output.put_line(error_description);
         dbms_output.put_line(error_helpfile);
         END IF;
         i:=ORDCOM.DestroyObject(WorkBookToken);     
         ORDCOM.InitArg();
         dbms_output.put_line('Closing workbooks...');
         i:=ORDCOM.Invoke(WorkBooksToken, 'Close', 0, DummyToken);
         IF (i!=0) THEN
         ORDCOM.GetLastError(error_src, error_description, error_helpfile, error_helpID);
         dbms_output.put_line(error_src);
         dbms_output.put_line(error_description);
         dbms_output.put_line(error_helpfile);
         END IF;
         i:=ORDCOM.DestroyObject(WorkBooksToken);
         i:=ORDCOM.Invoke(applicationToken, 'Quit', 0, DummyToken);
         IF (i!=0) THEN
         ORDCOM.GetLastError(error_src, error_description, error_helpfile, error_helpID);
         dbms_output.put_line(error_src);
         dbms_output.put_line(error_description);
         dbms_output.put_line(error_helpfile);
         END IF;
         i:=ORDCOM.DestroyObject(WorkSheetToken);     
         i:=ORDCOM.DestroyObject(WorkSheetToken1);     
         i:=ORDCOM.DestroyObject(applicationToken);
         i:=ORDCOM.DestroyObject(ChartObjectToken);
         i:=ORDCOM.DestroyObject(Chart1Token);
         i:=ORDCOM.DestroyObject(ChartObject1);
         i:=ORDCOM.DestroyObject(dummyToken);
         RETURN i;
    END ExitExcel;
    END ORDExcelSB;
    /I have created an excel named as C:\Example.xls.
    Name     SlNo     Job     Dept     Salary     Bonus
    Saubhik Banerjee     706090     IT Specialist     GBS     100     10
    Partha S Mohanty     706091     Pogrmmer     APPS     70     20
    Partha Sarkar     889300     Condultant     FIN     200     30
    Useless     98009     PM     PM     900     90
    SQL> SET SERVEROUT ON
    SQL> DECLARE
      2 
      3    v_Name          varchar2(90);
      4    v_SlNo          varchar2(100);
      5    v_Job           varchar2(200);
      6    v_Dept          varchar2(100);
      7    v_recon_remark  varchar2(50);
      8    v_sal_amt_usd   number;
      9    v_Bonus_amt_usd number;
    10 
    11    result INTEGER;
    12 
    13    i        binary_integer;
    14    filename varchar2(255);
    15 
    16  BEGIN
    17 
    18    filename := 'C:\Example.xls';
    19 
    20    result := ORDExcelSB.CreateExcelApplication('');
    21    result := ORDExcelSB.OpenExcelFile(filename, 'Sheet1');
    22 
    23    /* Excluding the header row and reading the first 5 row */
    24    FOR n in 2 .. 5 LOOP
    25   
    26      v_Name          := ORDExcelSB.GetDataStr('A' || n);
    27      v_SlNo          := ORDExcelSB.GetDataReal('B' || n);
    28      v_Job           := ORDExcelSB.GetDataStr('C' || n);
    29      v_Dept          := ORDExcelSB.GetDataStr('D' || n);
    30      v_sal_amt_usd   := ORDExcelSB.GetDataNum('E' || n);
    31      v_Bonus_amt_usd := ORDExcelSB.GetDataNum('F' || n);
    32   
    33      dbms_output.put_line(v_Name || '  ' || v_SlNo || '  ' || v_Job || '  ' ||
    34                           v_Dept || '  ' || v_sal_amt_usd || '  ' ||
    35                           v_Bonus_amt_usd);
    36   
    37    END LOOP;
    38 
    39    result := ORDExcelSB.ExitExcel();
    40  EXCEPTION
    41    WHEN OTHERS THEN
    42      result := ORDExcelSB.ExitExcel();
    43      RAISE;
    44  END;
    45  /
    Creating Excel application...
    Invoking Workbooks...
    Opening Excel file C:\Example.xls ...
    Opening WorkBook
    Invoking WorkSheets..
    Invoking WorkSheet
    Opened
    Saubhik Banerjee  706090  IT Specialist  GBS  100  10
    Partha S Mohanty  706091  Pogrmmer  APPS  70  20
    Partha Sarkar  889300  Condultant  FIN  200  30
    Useless  98009  PM  PM  900  90
    Closing workbook and quitting...
    Closing workbook...
    Closing workbooks...
    PL/SQL procedure successfully completed.
    SQL> Although, You haven't asked, but you can use this code to write to excel file (.xls)
    DECLARE
    CURSOR c1 IS     
         SELECT empno, ename, dname, sal, hiredate
         FROM emp e, dept d
         WHERE e.deptno = d.deptno;
    error_message varchar2(1200);
    n binary_integer:=2;
    i binary_integer;
    filename varchar2(255);
    cellIndex varchar2(40);
    cellValue varchar2(40);
    cellColumn varchar2(10);
    returnedTime varchar2(20);
    currencyvalue double precision;
    datevalue DATE;
    empno binary_integer;
    looptext varchar2(20);
    error_src varchar2(255);
    error_description varchar2(255);
    error_helpfile varchar2(255);
    error_helpID binary_integer;
    begin
    filename:='c:\example2.xls';
    i:=ORDExcel.CreateExcelWorkSheet('');
    i:=ORDExcel.InsertData('A1', 'EmpNo', 'BSTR');
    i:=ORDExcel.InsertData('B1', 'Name', 'BSTR');
    i:=ORDExcel.InsertData('C1', 'Dept', 'BSTR');
    i:=ORDExcel.InsertData('D1', 'Salary', 'BSTR');
    i:=ORDExcel.InsertData('E1', 'HireDate', 'BSTR');
    For c1_rec IN c1 LOOP
    cellColumn:=TO_CHAR(n);
    cellIndex:=CONCAT('A',cellColumn);
    cellValue:=TO_CHAR(c1_rec.empno);
    empno:=cellValue;
    i:=ORDExcel.InsertData(cellIndex, empno, 'I2');
    cellIndex:=CONCAT('B',cellColumn);
    cellValue:=c1_rec.ename;
    i:=ORDExcel.InsertData(cellIndex, cellValue, 'BSTR');
    cellIndex:=CONCAT('C',cellColumn);
    cellValue:=c1_rec.dname;
    i:=ORDExcel.InsertData(cellIndex, cellValue, 'BSTR');
    cellIndex:=CONCAT('D',cellColumn);
    cellValue:=c1_rec.sal;
    currencyValue:=cellValue;
    i:=ORDExcel.InsertData(cellIndex, currencyValue, 'CY');
    cellIndex:=CONCAT('E',cellColumn);
    dateValue:=c1_rec.hiredate;
    i:=ORDExcel.InsertData(cellIndex, dateValue, 'DATE');
    n:=n+1;
    END LOOP;
    i:=ORDExcel.SaveExcelFile(filename);
    i:=ORDExcel.ExitExcel();
    EXCEPTION
    WHEN OTHERS THEN
      i:=ORDExcel.ExitExcel();
      RAISE;
    END;

  • My i phone shows up connected to i tunes but i cannot drag and drop song into phone.

    my i phone shows up connected to i tunes but i cannot drag and drop songs into phone.
    how do i add songs into my i phone?

    When you go in to sync with your iPhone, you need to go to the music tab and select "manually manage music"

  • What does per Wlan Band select and load balancing do ?

    Good morning.....We recently upgraded our controllers from 4.2.185 to 6.0.188 and have noticed many clients having connectivity issues. We have Aggressive load balancing turned off globally but have noticed that band select and load balancing are enabled on the
    Wlan. Are these settings mutually exclusive or do they do the same thing ?  Does the Wlan setting override the default ? We have noticed that there is
    output doing "debug dot11 load-balancing"
    Thanx.....Dave

    I believe we never had load balancing turned on when running 5.2 code. We jumped from 5.2 to 6.x temporarily and then to 7.0 within a 30 day time frame this summer. We're a large university and we had very few users on WiFi during that time.
    The Macintosh laptops are having nothing but trouble since school began, and I have gone over everything and found that band select is turned on as well as load balancing. Since band select didn't exist in 5.2 (I believe) I know it wasn't on. As for load balancing, I don't believe it was on, and I discovered it was turned on when recently reviewing our configs.
    The Macintosh laptops have been debugged and our Mac gurus tell us they're getting a message that equates to "the AP is busy, or the AP is full". This leads me to believe that load balancing got turned on during the upgrade and we didn't notice, which caused the Macintoshes to have issues.
    We don't have any VoWiFi clients so we don't have to support them, and we don't officially support smartphones, either.
    I turned off load balancing and will see how it goes....
    Thanks!

  • Why Can I no longer drag and drop songs into Itunes playlists?

    Why can I no longer drag and drop songs into itunes playlists.  Was working fine then just stopped???

    found solution, thanx everyone

  • Just installed PS 13 elements and loaded pictures into organizer. after using PS editor now organizer is not reloading. I keep getting error message saying organizer unexpectedly quit, do you want to reopen.  When I click on it to reopen it doesn't and I

    just installed PS 13 elements and loaded pictures into organizer. after using PS editor now organizer is not reloading. I keep getting error message saying organizer unexpectedly quit, do you want to reopen.  When I click on it to reopen it doesn't and I get the same message again.  I rebooted computer, still did it,  I uninstalled and reinstalled the program and I am still getting the same error message.  This is on Mac OS with yosemite.  Any Ideas Please!!!

    Thread 8:
    0   libsystem_kernel.dylib         0x00007fff9219f4de mach_msg_trap + 10
    1   libsystem_kernel.dylib         0x00007fff9219e64f mach_msg + 55
    2   com.apple.CoreFoundation       0x00007fff97717b34 __CFRunLoopServiceMachPort + 212
    3   com.apple.CoreFoundation       0x00007fff97716ffb __CFRunLoopRun + 1371
    4   com.apple.CoreFoundation       0x00007fff97716858 CFRunLoopRunSpecific + 296
    5   com.apple.AppKit               0x00007fff8e85533b _NSEventThread + 137
    6   libsystem_pthread.dylib       0x00007fff974c1268 _pthread_body + 131
    7   libsystem_pthread.dylib       0x00007fff974c11e5 _pthread_start + 176
    8   libsystem_pthread.dylib       0x00007fff974bf41d thread_start + 13
    Thread 9:: cr_scratch
    0   libsystem_kernel.dylib         0x00007fff921a4136 __psynch_cvwait + 10
    1   com.adobe.CameraRaw           0x000000012122478b 0x120c28000 + 6277003
    2   com.adobe.CameraRaw           0x00000001211ad48b 0x120c28000 + 5788811
    3   com.adobe.CameraRaw           0x0000000120fad001 0x120c28000 + 3690497
    4   libsystem_pthread.dylib       0x00007fff974c1268 _pthread_body + 131
    5   libsystem_pthread.dylib       0x00007fff974c11e5 _pthread_start + 176
    6   libsystem_pthread.dylib       0x00007fff974bf41d thread_start + 13
    Thread 10:
    0   libsystem_kernel.dylib         0x00007fff9219f4de mach_msg_trap + 10
    1   libsystem_kernel.dylib         0x00007fff9219e64f mach_msg + 55
    2   com.apple.CoreFoundation       0x00007fff97717b34 __CFRunLoopServiceMachPort + 212
    3   com.apple.CoreFoundation       0x00007fff97716ffb __CFRunLoopRun + 1371
    4   com.apple.CoreFoundation       0x00007fff97716858 CFRunLoopRunSpecific + 296
    5   com.apple.CoreFoundation       0x00007fff977ccef1 CFRunLoopRun + 97
    6   com.adobe.ols.library         0x00000001235ebc86 OLSHTTPTransaction::Execute() + 4166
    7   com.adobe.ols.library         0x00000001236174f9 OLSServiceTask::PerformMessageExchangeServerPOST(OLSAutoRefPtr<OLSElement> const&, OLSAutoRefPtr<OLSElement> const&) + 1849
    8   com.adobe.ols.library         0x000000012360958a OLSServiceTask::PerformMessageExchangeServer(OLSAutoRefPtr<OLSElement> const&, OLSAutoRefPtr<OLSElement> const&) + 1834
    9   com.adobe.ols.library         0x000000012361626c OLSServiceTask::ProcessUnhandledMessageList(OLSAutoRefPtr<OLSElement> const&, OLSAutoRefPtr<OLSElement> const&, OLSAutoRefPtr<OLSElement> const&, OLSMessageOrigin) + 1804
    10  com.adobe.ols.library         0x00000001235c885c OLSClientSession::ProcessUnhandledMessageList(OLSAutoRefPtr<OLSElement> const&, OLSAutoRefPtr<OLSElement> const&, OLSAutoRefPtr<OLSElement> const&, OLSMessageOrigin) + 124
    11  com.adobe.ols.library         0x00000001235c6921 OLSClientSession::ProcessMessageList(OLSAutoRefPtr<OLSElement> const&, OLSAutoRefPtr<OLSElement> const&, OLSMessageOrigin) + 2593
    12  com.adobe.ols.library         0x0000000123608d3a OLSServiceTask::ExecuteStateMessageExchangeServer() + 426
    13  com.adobe.ols.library         0x00000001236010cc OLSServiceTask::ExecuteInternal() + 1196
    14  com.adobe.ols.library         0x000000012361b22e OLSTask::Execute() + 350
    15  com.adobe.ols.library         0x000000012361c874 OLSWorkerThreadTaskManager::ProcessTasks(OLSTaskThread*) + 1300
    16  com.adobe.ols.library         0x000000012361b454 OLSTaskThread::Run() + 36
    17  com.adobe.ols.library         0x000000012363fd88 OLSThread::ThreadProc(void*) + 54
    18  com.apple.CoreServices.CarbonCore 0x00007fff9c7108dc PrivateMPEntryPoint + 58
    19  libsystem_pthread.dylib       0x00007fff974c1268 _pthread_body + 131
    20  libsystem_pthread.dylib       0x00007fff974c11e5 _pthread_start + 176
    21  libsystem_pthread.dylib       0x00007fff974bf41d thread_start + 13
    Thread 11:
    0   libsystem_kernel.dylib         0x00007fff921a475a __sigwait + 10
    1   com.adobe.ElementsOrganizer13 0x000000010dce1a84 0x10cc7e000 + 17185412
    2   com.adobe.ElementsOrganizer13 0x000000010dce5d15 0x10cc7e000 + 17202453
    3   libsystem_pthread.dylib       0x00007fff974c1268 _pthread_body + 131
    4   libsystem_pthread.dylib       0x00007fff974c11e5 _pthread_start + 176
    5   libsystem_pthread.dylib       0x00007fff974bf41d thread_start + 13
    Thread 12:: com.apple.NSURLConnectionLoader
    0   libsystem_kernel.dylib         0x00007fff9219f4de mach_msg_trap + 10
    1   libsystem_kernel.dylib         0x00007fff9219e64f mach_msg + 55
    2   com.apple.CoreFoundation       0x00007fff97717b34 __CFRunLoopServiceMachPort + 212
    3   com.apple.CoreFoundation       0x00007fff97716ffb __CFRunLoopRun + 1371
    4   com.apple.CoreFoundation       0x00007fff97716858 CFRunLoopRunSpecific + 296
    5   com.apple.CFNetwork           0x00007fff8fcfac80 +[NSURLConnection(Loader) _resourceLoadLoop:] + 434
    6   com.apple.Foundation           0x00007fff90df190a __NSThread__main__ + 1345
    7   libsystem_pthread.dylib       0x00007fff974c1268 _pthread_body + 131
    8   libsystem_pthread.dylib       0x00007fff974c11e5 _pthread_start + 176
    9   libsystem_pthread.dylib       0x00007fff974bf41d thread_start + 13
    Thread 13:: com.apple.CFSocket.private
    0   libsystem_kernel.dylib         0x00007fff921a43fa __select + 10
    1   libsystem_pthread.dylib       0x00007fff974c1268 _pthread_body + 131
    2   libsystem_pthread.dylib       0x00007fff974c11e5 _pthread_start + 176
    3   libsystem_pthread.dylib       0x00007fff974bf41d thread_start + 13
    Thread 14:
    0   libsystem_kernel.dylib         0x00007fff921a4136 __psynch_cvwait + 10
    1   com.adobe.ElementsOrganizer13 0x000000010dce02fd 0x10cc7e000 + 17179389
    2   com.adobe.ElementsOrganizer13 0x000000010cd34e19 0x10cc7e000 + 749081
    3   com.adobe.ElementsOrganizer13 0x000000010dce5d15 0x10cc7e000 + 17202453
    4   libsystem_pthread.dylib       0x00007fff974c1268 _pthread_body + 131
    5   libsystem_pthread.dylib       0x00007fff974c11e5 _pthread_start + 176
    6   libsystem_pthread.dylib       0x00007fff974bf41d thread_start + 13
    Thread 15:
    0   libsystem_kernel.dylib         0x00007fff921a4136 __psynch_cvwait + 10
    1   com.adobe.ElementsOrganizer13 0x000000010dce02fd 0x10cc7e000 + 17179389
    2   com.adobe.ElementsOrganizer13 0x000000010cd34e19 0x10cc7e000 + 749081
    3   com.adobe.ElementsOrganizer13 0x000000010dce5d15 0x10cc7e000 + 17202453
    4   libsystem_pthread.dylib       0x00007fff974c1268 _pthread_body + 131
    5   libsystem_pthread.dylib       0x00007fff974c11e5 _pthread_start + 176
    6   libsystem_pthread.dylib       0x00007fff974bf41d thread_start + 13
    Thread 16:: JavaScriptCore::BlockFree
    0   libsystem_kernel.dylib         0x00007fff921a4136 __psynch_cvwait + 10
    1   libc++.1.dylib                 0x00007fff8fb2ad2e std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 126
    2   com.apple.JavaScriptCore       0x00007fff99593aaa JSC::BlockAllocator::waitForDuration(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l> >) + 170
    3   com.apple.JavaScriptCore       0x00007fff993828f4 JSC::BlockAllocator::blockFreeingThreadMain() + 84
    4   com.apple.JavaScriptCore       0x00007fff9937814f WTF::wtfThreadEntryPoint(void*) + 15
    5   libsystem_pthread.dylib       0x00007fff974c1268 _pthread_body + 131
    6   libsystem_pthread.dylib       0x00007fff974c11e5 _pthread_start + 176
    7   libsystem_pthread.dylib       0x00007fff974bf41d thread_start + 13
    Thread 17:: JavaScriptCore::Marking
    0   libsystem_kernel.dylib         0x00007fff921a4136 __psynch_cvwait + 10
    1   libc++.1.dylib                 0x00007fff8fb2ac95 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47
    2   com.apple.JavaScriptCore       0x00007fff99382f1b JSC::GCThread::waitForNextPhase() + 171
    3   com.apple.JavaScriptCore       0x00007fff99382d78 JSC::GCThread::gcThreadMain() + 88
    4   com.apple.JavaScriptCore       0x00007fff9937814f WTF::wtfThreadEntryPoint(void*) + 15
    5   libsystem_pthread.dylib       0x00007fff974c1268 _pthread_body + 131
    6   libsystem_pthread.dylib       0x00007fff974c11e5 _pthread_start + 176
    7   libsystem_pthread.dylib       0x00007fff974bf41d thread_start + 13
    Thread 18:: JavaScriptCore::Marking
    0   libsystem_kernel.dylib         0x00007fff921a4136 __psynch_cvwait + 10
    1   libc++.1.dylib                 0x00007fff8fb2ac95 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47
    2   com.apple.JavaScriptCore       0x00007fff99382f1b JSC::GCThread::waitForNextPhase() + 171
    3   com.apple.JavaScriptCore       0x00007fff99382d78 JSC::GCThread::gcThreadMain() + 88
    4   com.apple.JavaScriptCore       0x00007fff9937814f WTF::wtfThreadEntryPoint(void*) + 15
    5   libsystem_pthread.dylib       0x00007fff974c1268 _pthread_body + 131
    6   libsystem_pthread.dylib       0x00007fff974c11e5 _pthread_start + 176
    7   libsystem_pthread.dylib       0x00007fff974bf41d thread_start + 13
    Thread 19:: JavaScriptCore::Marking
    0   libsystem_kernel.dylib         0x00007fff921a4136 __psynch_cvwait + 10
    1   libc++.1.dylib                 0x00007fff8fb2ac95 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47
    2   com.apple.JavaScriptCore       0x00007fff99382f1b JSC::GCThread::waitForNextPhase() + 171
    3   com.apple.JavaScriptCore       0x00007fff99382d78 JSC::GCThread::gcThreadMain() + 88
    4   com.apple.JavaScriptCore       0x00007fff9937814f WTF::wtfThreadEntryPoint(void*) + 15
    5   libsystem_pthread.dylib       0x00007fff974c1268 _pthread_body + 131
    6   libsystem_pthread.dylib       0x00007fff974c11e5 _pthread_start + 176
    7   libsystem_pthread.dylib       0x00007fff974bf41d thread_start + 13
    Thread 0 crashed with X86 Thread State (64-bit):
      rax: 0x00000000000000b0  rbx: 0x00006080000b4460  rcx: 0x00007fff52f7da08  rdx: 0x00007fff52f7d8c0
      rdi: 0x00006080001d31a0  rsi: 0x0000000000000000  rbp: 0x00007fff52f7d860  rsp: 0x00007fff52f7d830
       r8: 0x00007fff52f7d9d8   r9: 0x00007fff52f7d9a0  r10: 0x0000000000000000  r11: 0x0000000110825b90
      r12: 0x00007fff52f7d9a0  r13: 0x00007fff52f7e0e8  r14: 0x00007fff52f7d8c0  r15: 0x00006080000b4460
      rip: 0x0000000110825ba6  rfl: 0x0000000000010206  cr2: 0x0000000000000000
    Logical CPU:     1
    Error Code:      0x00000004
    Trap Number:     14

  • When loading songs into iTunes, from my external hard drive. It seems to be copying the music onto my MacBook Air.

    When loading songs into iTunes, from my external hard drive. It seems to be copying the music onto my MacBook Air.
    How do i have iTunes only read the songs from my hard drive, rather then copying them?

    You may find these Links of Interest...
    Moving iTunes Media Folder
    http://support.apple.com/kb/HT1449
    http://macmost.com/moving-your-itunes-media-to-an-external-drive.html

  • 1.is it possible to read a .xls file and load it into an oracle table

    1.is it possible to read a .xls file and load it into an oracle table, using oracle database or oracle forms i.e. either utl_file, or text_io, or any other oracle tool.
    As far as I know we need a csv file or a txt ( tab delimited) file ?
    2.Are there any windows tools for the same

    Hi,
    If you want to use the DDE package to read the XLS file then yes, you will neeed to know the number of rows and columns in the input file.
    i.e. How will you know :
    1) How many columns are there in the input file.
    If I have a XLS file with the following data :
    R1C1 R1C2 R1C3 R1C4 R1C5 R1C6 R1C7
    xxx xx x
    Where R represents row and C represents column, then how will you know the each row has 7 columns. If you know the answer upfront, then it's not a issue.
    Using the DDE apprach, you will have to specify the RowNum and the ColumnNo of each idividual cells to read/write data from xls sheet.
    Look at the syntax in my ealier post.
    using the other approch (i.e. comma delimited text file - CSV file) , you need not know the number of columns as you can loop thru the input record till the last column is read.
    All you have to do is to look for the 'n' occurances of the field delimiter say ',', do a substr from the current position to the point where the ',' was found.
    This process is to be repeated in a loop till all columns are read.
    The TEXT_IO package can trap for EOF (End Of File).
    Hope I made myself clear.
    -- Shailender Mehta --

  • How to Extract Data from SAP and Load it into Essbase

    Hi All,
    Can you recommend some ways to extract data from SAP and load it into Essbase?. I have no knowledge about SAP, not sure how I can perform this task. Can I use ODI for this job?
    Thanks

    hi,
    Not sure if this helps but give a try
    you can create connection from EAS to SAP .. using a plug-in .. if you have access to oracle Support go for [ID 968961.1]
    or
    below are steps
    1. In EASPATH\console, open components.xml in a text editor.
    2. Under <PluginList>, enter <Plugin archiveName="SAP" packageName="com.essbase.eas.sap.ui"/> before the closing </PlugIn> tag.
    3. Save and close the file.
    4. In EASPATH\console\bin, open admincon.lax in a text editor.
    5. Search for lax.class.path= and append ;..\lib\sap_client.jar;..\lib \sap_common.jar to the entry. Save and close the file.
    6. In EASPATH\server\bin, open adminsvr.lax in a text editor.
    7. Search for lax.nl.java.option.additional, and append -DRFC_INI=EASPATH\server\saprfc.ini. Save and close the file.
    8. Create a new environment variable, RFC_INI, with a value of EASPATH\server\saprfc.ini
    9. Copy librfc.dll andsapjcorfc.dll to EASPATH\server\bin. You may need to obtain these files from SAP.
    let me know if it works :)

  • What can I do to get back to a point that I can directly purchase Apps from my itouch via wi-fi. I was able to before I purchased an app on my PC and loaded it into the device via the sync cable.

    What can I do to get back to a point that I can directly purchase Apps from my itouch via wi-fi. I was able to before I purchased an app on my PC and loaded it into the device via the sync cable. My itouch 2G was bought 2nd hand, so when trying to get Apple support I was unable to register my device because I didn't know it's original purchase date. Note: I am still able to download the apps to my computer and load/sync them into the device.

    Why can you not buy from the ipod?
    What happens when you try?
    Error message?
    What does it say?
    Any info?

  • GarageBand won't let me drag and drop songs into the timeline.

    GarageBand won't let me drag and drop songs into the timeline.  It did before, now all of a sudden it won't... anyone know why?
    I am dragging them from iTunes, and it has never been an issue before.  I have used AAC, MP3, and AIFF before and never had an issue.
    Is there a setting possibly that I need to change?

    Same with me, Lion is a cool OS but the updates iTunes has nothing but problems. I can't even drag song to my desktop. You can try finding the song through iTunes music folder but the song I wanted wasn't there. To get there look at this artical http://support.apple.com/kb/ht1391. to help you find that song.

  • Extraction of data from Planning and load it into Oracle/SQL server (RDBMS)

    Hi All,
    ODI can extract data from Oracle/SQL server RDBMS and load it into Hyperion planning, but I wanted to know if it is possible to extract data from Hyperion Planning through ODI and load it into Oracle or SQL server RDMBS i.e the other way round.
    Kindly let me know if that is possible or not,If yes then please let me know what is the exact process to achieve this through ODI.
    Thanks & Regrads,
    Gurpreet

    Yes this can be done. Remember that Planning data is actually stored in Essbase so the Knowledge module you will need to use is LKM Essbase to SQL (DATA)

  • I used to shoot video in my Powershot S3 IS (MVI_.AVI) and load it into iPhoto, I used quicktime pro so I could convert it for emailing to family members.  That was when I was running Leopard now with Mt. Lion nothing works.  Videos do not open at all?

    I used to shoot video in my Powershot S3 IS (Format MVI_.AVI) and load them into iPhoto, I used quicktime pro so I could convert for emailing to family members.  That was when I was running Leopard now with Mt. Lion nothing works.  Videos do not open at all.  Any simple suggestions, I am not real keen on iMovie Productions and not real certain how they compress for emailing attachments.  Something simple here that I am missing?  Thanks so much.  I am a grandpa trying to share with family members far away (quickly & simply).

    I am surprised that Apple did not build a converter into Mt. Lion.
    Apple does have a converter built into Mountain Lion. It is call "Quicktime." However, in order to use this converter, you must first make sure the compression formats are playback compatible with QT. Basically, there are three levels of QT compatibility. The lowest is "Playback." These file can be played by QT but may not be conversion or edit compatible with QT. The second level is QT "Conversion" compatible. These files are playback compatible and can be converted to other compression formats using QT. "Edit" compatible media files are "Fully" compatible with QT since the can be played, converted and/or edited by QT. The main problem here is that AVI is a "legacy" file format that has not been officially supported by Microsoft for more than 11 years when it was replaced by Windows Media multimedia file/compression formats. Many of the original compression formats used in AVI files have never been transcoded for the Mac platform, use beyond system 9, or use beyond PPC platforms. In addition, some commonly used AVI codecs are proprietary or use non-standard (hybrid) profile and level combinations. In short, there is little wonder that Apple has been distancing itself from this outdated file type as it re-writes and upgrades its own QT structure to support more standardized, more scalable, more modern high definition file types and compression formats. It is really unfortunate that users continue to use this outmoded file type simply because it is freely available, easy to use, or they are simply too lazy to move on to a more modern or more efficient file types and/or compression formats.
    I tested Wondershare Video Converter Ultimate for the Mac, which seems to be the "state of the art".  I may be purchasing a new camera which might create a whole new set of variables.  This program seems to cover all bases and is great for novices.
    There are many third-party apps available if you wish to search for them. Many are even available in the App Store. Most do their job well and it is usually a matter of personal user preference as to which is best.
    HandBrake seems more suited to folks with more experience and knowledge.
    I mentioned Handbrake primarily because it is free and easy to use when you employ the included conversion presets options. (The TV options can normally be used for almost any situation depending on the source file and output requirements.) It is also excellent for more experienced users, but has a somewhat limited choice of output options as it does not access the user's system QT codec component configuration.

Maybe you are looking for