Connecting an excel file as a database source in crystal

Hi
  I have crystal 2011 on my pc and I can easily access information in an excel file by connecting it as a data source.
However, when i copy the excel file onto the SAP server and try to connect to the excel file there, it connects ok
but there is only displays Add Command and i can access Final Budget Table.
I know it is probably a simple issue but i cant seem to see it.
The server is using crystal 2008 and does not have excel installed.
The excel file has been into the same folder the report exists in.
I will eventually want to run this report through Inforview, what way does that work with regards the excel file?
Thanks
Rachael

Hi Rachael,
Go to the Database Expert > Right-click the connection name > Select Options > Make sure there is nothing typed in under 'Table Name LIKE'.
-Abhilash

Similar Messages

  • How to export the data from an excel file to Oracle database by using macro

    Hi,
    I want to export data from an excel file into Oracle database.There is one method that by creating the macros through excel we are able to do this.
    can anybody please send me the code to create macros?
    Thanks in advance.
    Regards,
    Surendra.V

    There are several resources on the web, but you could start analyzing if this code fits your needs --> VBA Macro for Excel 2003 Export of Text File with Comma and Quote Delimiters.
    ~ Madrid

  • Getting info out of an excel file like a database

    Hi,
    The problem i have is that i have to get info out of an excel file like a database. So i have to be able to perform a kind of query, but to an excel file. Is this possible?
    lay-out excel file:
    number | request | chemical composition
    | | C | Mn | Si | ....
    125654 | |0.20%|0.10%|0.05%|.....
    i should have to be able to search on the number and read the differend % (C, Mn, Si). This % are used in a formula to calculate a value that is used for DAQ
    I can do this action with an acces DB, but not with excel. The problem is that they used excel for some years now (where i work) and changing the excel file to a DB would be a very long w
    ork.
    If someone could help i'd appreciate it
    thx

    I tried it like you said, but i get the error: -2147217865
    exception occured.
    [Microsoft][ODBC Excel Driver] The microsoft jet database engine could not find the object 'Sheet1'. Make sure the object exists...
    So he doesn't seem to recognize a datasheet as a table (if i may compare it like this) when i choose the microsoft Excel driver with the workbook as described in your answer.
    Any ideas?
    i putted some attachements, maybe they make it easier to understand
    Attachments:
    test_excel_query.vi ‏37 KB
    test_query_excel.xls ‏90 KB

  • Excel file to import database

    What do I need to import excel file database?
    package?

    I'm sorry I sent the missing
    1-
    2- http://img29.imageshack.us/img29/587/plist.jpg
    3-
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    STAWIZ =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Comp)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = stawiz)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    EXCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Comp )(PORT = 1521))
    (CONNECT_DATA =
    (SID = EXCL)
    (HS = OK)
    4-
    # listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = Comp)(PORT = 1521))
    SID_DESC =
    (PROGRAM = hsodbc)
    (SID_NAME = <hs_sid>)
    (ORACLE_HOME = <oracle home>)
    under SID_LIST_LISTENER like:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = ORA9DB)
    (ORACLE_HOME = C:\oracle\product\10.2.0)
    (SID_NAME = ORA9DB)
    (SID_DESC =
    (PROGRAM = hsodbc)
    (SID_NAME = EXCL)
    (ORACLE_HOME = C:\oracle\product\10.2.0)
    5-
    DB LINK
    CREATE DATABASE LINK "EXCL" USING 'EXCL'
    6-
    select * from EXCL@EXCL
    this way did :( :(
    ORA-02019 : connection description for remote database not found -- same :( unchanged :(

  • How to import measurment data from a Excel File to Citadel DataBase?

    A Microsoft Excel File is being created in a PC and I want to include that flie´s data into my citadel Database wich is in another PC.

    I give a example "Importing Spreadsheet Data to the Citadel Database" in the LabVIEW Version 6.1 and LV-DSC 6.1.
    LabVIEW 7.0 with LV-DSC you must in the ini file "DSCEngine.ini"
    set NoShutdownLog=1 and UseServerTimestamps=TRUE.
    kind regards
    amcholger
    Attachments:
    Write_File_to_Citadel_Example.zip ‏139 KB
    Write_File_to_Citadel_VI_Server.zip ‏289 KB

  • Manupulating Excel File Stored In Database

    Is there any way I can manipulate the excel file that is stored in the database as LONG RAW ?
    I need to allow user to manupulate the excel file that is stored in database and accordingly fetch the specific data from that manipulated Excel File of Database.

    Your best bet is to keep the data in tables and generate a new excel file each time. Search this forum on how to generate excel files.. Here are three techniques... I like the XML method..
    1) OLE2
    2) XML
    3) CSV
    I have also done this using webutil..
    1) retrieve excel blob from db to client using webutil function db_to_client_with_progress()
    2) manipulate excel file on client using CLIENT_OLE2
    3) put excel file back in db using webutil function client_to_db_with_progress()
    Sorry.. Just re-read your post and didnt notice the Long-raw part.. :)
    Message was edited by:
    Mark Reichman

  • Problem using excel file as odbc data source

    hi, I have followed the instruction in
    "Creating a Repository Using the Oracle Business Intelligence Administration Tool"
    [http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/bi_admin/biadmin.html]
    and established a odbc data source using an excel file.
    however, I found that the Microsoft Excel Driver always unable to handle complex column formula.
    for example,
    FILTER(sourceTable$.NoOfItem USING (sourceTable$.Kind = 'Lemon'))
    when there are two columns using FILTER, there is an error about the ODBC driver.
    =============================================================
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16001] ODBC error state: 37000 code: -3100 message: [Microsoft][ODBC Excel Driver] Syntax error (missing operator) in query expression 'sum(case when T3552.[Kind] = 'Orange' then T3552.[NoOfItem] end )'.. [nQSError: 16014] SQL statement preparation failed. (HY000)
    SQL Issued: SELECT "sourceTable$".Market saw_0, FILTER("sourceTable$".NoOfItem USING ("sourceTable$".Kind = 'Orange')) saw_1, FILTER("sourceTable$".NoOfItem USING ("sourceTable$".Kind = 'Lemon')) saw_2 FROM excel_source ORDER BY saw_0
    =============================================================
    However, I change the data source using SQL SERVER, no error occurs and it shows the result correctly.
    how to slove this problem?

    I have the same issue. Does anyone know how to solve it?

  • How can I connect my Excel file located at the same computer to my Lookout process using DDETable.

    I'm currently using Lookout ver.5 in my Win98se.Attached here is the sample of my xls file.
    Attachments:
    pioneer_report.xls ‏31 KB

    Also, check the document found on the following URL:
    http://ae.natinst.com/operations/ae/public.nsf/fca​7838c4500dc10862567a100753500/dab25cf02ef0029c8625​68ab00677333?OpenDocument
    This is a Knowledgebase that gives you a hint on how to retreive a range of cells in Excell using the DDETable.
    The "DDETable on same computer" example is located under the >lookout objects>Networking>DDETable chapter on the Lookout On-line help.

  • Importing data from Microsoft excel file to Oracle Database with Multiple Data Tables. Need expert advice and guidance

    I posted a query on Importing data from Microsoft Excel to Oracle Database (Multiple Data Tables). I got some answer and reference from the forum.
    I presented to my Oracle consultant and representative from Oracle Malaysia. They said impossible. I do not believe what they said. I do believe can be done.
    Can someone help or direct me to an expert that can help me on this

    e90f478a-c529-4c48-b189-51eebeaed477 wrote:
    I posted a query on Importing data from Microsoft Excel to Oracle Database (Multiple Data Tables). I got some answer and reference from the forum.
    I presented to my Oracle consultant and representative from Oracle Malaysia. They said impossible. I do not believe what they said. I do believe can be done.
    Can someone help or direct me to an expert that can help me on this
    We don't know the "query on Importing data from Microsoft Excel to Oracle Database (Multiple Data Tables). "
    We don't know where you posted said query.
    We don't know what "some answer and reference" you received "from the forum."
    We don't know what it was that your "Oracle consultant and representative from Oracle Malaysia" said was "impossible".
    So on what basis are we supposed to "help or direct" to "to an expert that can help "?

  • Uploading Excel file into SAP Database table?

    I built a table in the SAP Data Dictionary, and i need to write a program that uploads the Excel table, into the SAP Database table.  Does anybody have a sample program that may help me?  Thanks!

    TYPES:
         BEGIN OF ty_upload,
         matnr like mara-matnr,
         meins like mara-meins,
         mtart like mara-mtart,
         mbrsh like mara-mbrsh,
         END OF ty_upload.
      DATA it_upload TYPE STANDARD TABLE OF ty_upload WITH header line.
      DATA wa_upload TYPE ty_upload.
      DATA: itab TYPE STANDARD TABLE OF alsmex_tabline WITH header line.
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          filename    = 'C:\Documents and Settings\venkatapp\Desktop\venkat.xls'
          i_begin_col = 1
          i_begin_row = 1
          i_end_col   = 4
          i_end_row   = 65535
          TABLES
          intern      = itab.
    if not itab[] is initial.
    loop at itab .
    case itab-col.
    when '0001'.
    it_upload-matnr = itab-value.
    when '0002'.
    it_upload-meins = itab-value.
    when '0003'.
    it_upload-mtart = itab-value.
    when '0004'.
    it_upload-mbrsh = itab-value.
    append it_upload.
    clear it_upload.
    clear itab.
    endcase.
    endloop.
    endif.
    loop at it_upload into wa_upload.
    ztable-matnr = wa_upload-matnr.
    ztable-meins = wa_upload-meins.
    ztable-mtart = wa_upload-mtart.
    ztable-mbrsh = wa_upload-mbrsh.
    insert ztable.
    endloop.

  • How to import a xls excel file to oracle database PL/SQL?

    Hello, im having some troubles to import a xls file to oracle, anyone knows a easy way or a script to import this file to database? thx!

    sure. this is the xls file View image: imagem1 and View image: imagem2
    and this is the code:
    DROP TABLE ext_table;
    create table ext_table (
    INFO varchar2(255),
    PRAZO varchar2(255),
    COD varchar2(255),
    CODIS varchar2(255),
    PRODUTO varchar2(255),
    VENDA_HTEC varchar2(10),
    PESO varchar2(255),
    TABELA varchar2(255),
    CUSTO varchar2(255),
    CUSTOPROD_ST varchar2(255),
    REAL varchar2(255),
    LC_V_P varchar2(255),
    IDEAL varchar2(255),
    ESTQ varchar2(255)
    organization external (
    type oracle_loader
    default directory d_extfile
    access parameters (
    records delimited by newline
    logfile 'ar.log'
    badfile 'ar.txt'
    fields terminated by ','
    missing field values are null
    location('TABELA_AUDIOGENE_HTEC_2012.xlsb')
    REJECT LIMIT unlimited;

  • Unable to Connect to the Data Source with Report Builder when using a closed Excel file

    I am using Report Builder 3.0 and to get started I am using an Excel spreadsheet as my data source.  I set this up just fine.  I can connect successfully if the file is open Excel.  But if I close the file, I get the error "Unable to
    Connect to the data source".
    This is my connection string:
    Dsn=Licenses;dbq=C:\USERS\AMEADE\DOCUMENTS\licenses.xlsx;defaultdir=C:\USERS\AMEADE\DOCUMENTS;driverid=790;fil=excel 8.0;maxbuffersize=2048;pagetimeout=5
    Works fine if the file is open but stops working when the file is closed.  Any idea what I can do?

    Hi Alice,
    Based on my understanding, when you keep the Excel file open, you can connect to the data source correctly. But when you close the Excel file, the error “Unable to Connect to the data source” is thrown out.
    In your scenario, I would like to know if only this Excel comes across this issue. Have you experienced the same issue when you use other Excel files as a data source? As we tested in our environment, we can connect to the data source whether the Excel file
    is open. You can refer to this
    article to create a data source again then check if you can connect to the data source when the Excel file is closed.
    If issue persists, I would suggest you use the
    Process Monitor to capture the processes during the connection to the data source. Then check the result of each process to find the exact reason.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Not able to add an excel file as data source to create new values in the mapped domain

    Hi
    I am trying to use some sample data from an Excel file to improve the quality of a Knowledge Base I have created in the Data Quality Client. I followed the following steps:
    Knowledge Discovery
    Data Source: Excel File
    Browsed to the Excel File on my local drive.
    I'm getting the following error: Failed reading Excel File
    I have checked the security settings, and provided full control to the user. I'm not sure as to what is the issue here. I
    am totally new in this field and with my little knowledge trying to build a Knowledge Base. But the hurdle stopped me.
    Thanks in Advance

    Hi
    You can add a  Excel file as the data source for a universe,  below are the steps.
    Ensure that the following steps are done before inserting a table from Excel sheet into a universe.
    1. Go to Excel and highlight all the cells that you want in the same table.
    2. Go to the Name box from Insert->Name->Define and give a name (in Designer, you see this name as a table of all the values you have selected).
    3. Go to Designer and pop up the table browser. You have to drag and drop the name you gave.
    and check the SP of ur BO.
    you can use .xls file as datasource but you cannot use .xlsx(windows 2007) .
    Regards,
    Rajesh

  • Refresh data in SWF based on excel file saved from SAP BW workbook

    Hi, is there a way to get data refresh in SWF dashboard from excel file as a data source. SAP BW workbook report will be saved as an excel file daily and placed in somewhere. I would like to create a dashboard which can connect to the excel data source and refresh on load.
    Appreciate your advice and help. Thank you.
    I am using Xcelsius 2008 and SAP BI 7.0

    Thank you.
    If I understand correctly from your advice, that is I should create QaaWs to pull data from SAP BI, which will return data in tabular format. Map the data in the cell range of a hidden tab, re-arrange and format the data into the row?
      Another concern: I need to display data for 4 quarters (Q1, Q2, Q3,Q4) in the dashboard, but QAAWS will only pulls data when the data is available in the database.
       Eg. Only data for 3 quarters are found in the database, QAAWS will return data for Q1, Q2,Q4.
             This will mess up the position fixed in the xcelsius. Do you have any suggestion on this?
       Sorry to bother u for the simple questions.
       Thank you.

  • How to read Excel file in java

    Respected sir/madam
    I want to read the values from Excel file in Java program. How can I do that. When I searched over the net I came to know that you can treat Excel file as a Database and write the code as u write for making DB connections .
    I did that but i am getting the following error ..can anybody please help..
    This is the code what i have written
    import java.io.*;
    import java.sql.*;
    public class ReadExcelFile {
    Connection c;
    Statement stmnt;
    public void checkABA_Number()
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    c = DriverManager.getConnection("jdbc:odbc:ExcelTest","",""); // ExcelTest is the DSN name
    stmnt = c.createStatement();
    ResultSet rs = stmnt.executeQuery("select * from abadata"); // abadata is my Excel file name
    while(rs.next())
    System.out.println(rs.getString(1)+" "+rs.getString(2));
    }catch(Exception e)
    System.out.println(""+e.toString());
    finally
    try
    stmnt.close();
    c.close();
    catch( Exception e )
    System.err.println( e );
    public static void main(String[] args)
    new ReadExcelFile().checkABA_Number();
    My Excel file starts from the first row and first column and also the first row contains the names of the column.
    It give me the following error..
    java.sql.SQLException: [Microsoft][ODBC Excel Driver] The Microsoft Jet database engine could not find the object 'abadata'. Make sure the object exists and that you spell its name and the path name correctly.
    How can I deal with this.?I have properly selected the worksheet while giving the DSN . Is there any versionig problem with Excel or some drivers are in appropriate..and yes i chose Microsoft Excel Driver (.xsl) from ODBC .
    I created System DSN.
    Can anybody please help me with this ? I will be very gratefull for replies
    Thanks in advance

    here is the code to read excel file
    public void readexel(String filename)
    Connection c = null;
    Statement stmnt = null;
    try
    Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" );
    c = DriverManager.getConnection("jdbc:odbc:Driver={Microsoft Excel Driver (*.xls)};DBQ=" + filename);
    stmnt = c.createStatement();
    String query = "Select * from [Sheet1$]" ;
    ResultSet rs = stmnt.executeQuery( query );
    while( rs.next() )
    System.out.println( rs.getString(1) );
    catch( Exception e )
    System.err.println( e );
    }

Maybe you are looking for

  • Preview sometimes dissappears in finder

    hello lately a strange thing has been happening in the finder, the preview option is gone for all my audio files. normally it gives you the play button and you can check out the file. but sometimes it does not and i have to restart to get it back? an

  • P67A-C45 discontinued P67A-G45 will be my replacement thru MSI.

    As subject states. What do you all think. Anyone have any issues with this board over the C45. It does have 2 pcie slots for future crossfire setup which I think will help futureproofability. Just lookin for opinions Thanx.

  • While printing on my canon MX892 it shut off and will not come on even after checking plug ins.

    While my canon MX892 was printing it shut down and will not turn back on.  What could have happened to cause this problem?

  • Duplicate Members - Please help!

    Can anyone please give me a good explanation of how to add duplicate members in an ASO cube via Essbase Studio? Firstly, I have created an inner join between parent and child members of one of my minischema tables. Next, I go to the model properties

  • Configuring SNMP on Windows Server 2008 Core

    Hi, I'd like to apologize for my english (i'm a french student). I'm starting to use Windows server 2008 Core and i have one problem with snmp service. I installed it but when i want to configure it in a mmc (remotely on a vista), i haven't any tab (