Data from Microsoft Access ?

Hi,
When I deploy report that takes data from Microsoft Access, I got error: Unable to retreive object.
How do we set the data source for this ? I tried to put the MS access file in the same folder as the published rpt file, it didn't work.
Thanks

There are a couple of issues here for you to look at.
1.  How are you connecting to the database from your development machine?  If you're using an ODBC connection, that same connection must be set up on the computer where the report is deployed.  Where you're using ODBC or another connection method, your deployement computer will also need to have installed whatever drivers are necessary for connecting to Access (they aren't installed by default with Windows!)
2.  If the database resides on the network (I know, you said it was in the same folder as the report, but you may not always be able to do that!) the user who is logged in to the machine where your app is deployed will have to have valid network access to the folder where the database is located.
-Dell
- A computer only does what you told it to, not what you <em>thought</em> you told it to!

Similar Messages

  • I want to convert date from Microsoft Access to Oracle.

    I want to convert date from Microsoft Access to Oracle.
    My Oracel date format is 21-Jul-2004 02:24:09 AM
    I use sqlldr in Oracle 9i Database and I
    write control file
    load data
    infile 'test.txt'
    into table test
    fields terminated by "," optionally enclosed by '"'
    trailing nullcols
    name,
    birthday
    data file 'test.txt' for input
    "dao","21-Jul-2004 02:24:09 AM"
    why did error? ORA-01843: not a valid month
    Thank.

    replace birthday with
    birthday "to_date(:birthday, 'DD-Mon-YYYY HH:MI:SS AM', 'NLS_LANGUAGE=''american''')"Of course, if your monthes are in German, then set the language to german (JUL=JUL but DEZ<>DEC)
    Regards
    Laurent

  • Trying to Import data from Microsoft Access in POWERPIVOT

    Hello,
    I am trying to import data from Microsoft Access into Powerpivot. In my Access database I have several query's.
    When I go to the Table Import Wizard in powerpivot, I only see one source table. Why can't I see the other query's?
    Thanks in advance for your help.
    Soraya

    Hello Soraya,
    Which Version of MS Excel / Power Pivot are you using? Do you try to Import from a MDB or from the new Format ACCDB? Are these common queries in MS Access or pass-through queries?
    In common it should work, if I Import from a MDB I can see & select both, tables & views (queries):
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • HOW TO FILTER DATA FROM MICROSOFT ACCESS

    HOW TO FILTER DATA FROM MICROSOFT ACCESS BASED ON DATE AND TIME AND GIVE THE RESULT TO A TABLE ?
    I need some example files , can anybody please help me ?
    Solved!
    Go to Solution.

    Just be sure to get examples specific to the Jet DBMS. It is rather "idiosyncratic" when dealing with time and date values.
    One question: the timestamp is being saved in a datetime field, right?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Retrieving data from Microsoft Access using JDBC

    I noticed that when i tried retrieving data from Microsoft access using JDBC, I realised that it was throwing SQLException when the column names were two word with spaces between them, e.g. Date Birth. But after i removed the space from the column names, my SQL queries were retrieving data. Was it because of the space in between the column names of the table?

    Yeah, as far as I know having two word column names isn't allowed in SQL. There might be some way to escape it, but generally it's sensible to avoid it.

  • Importing/Exporting data from Microsoft Access

    Hello to everybody!
    I have to create a management software (client-server).
    CLIENT SIDE: ClientS insert data into forms and these data are stored into a database Access (client database). Every month clients send to the server some of the data stored (data of the month!).
    SERVER SIDE: "Server man" receive from clients those data by email end need to store them into the main server database.
    Note: Data to be send have not a big dimension and, naturally, clients and server databases are identical (same structure)!
    My questions are:
    1) What is the best way to export data from database access to a file? (I imagine I need to use .XML file). Do I need to use particular package or software??
    2) What is the best way to import data from a file (maybe .XML) into a database access (of server)?? Do I need to use particular package or software??
    This is my first software of this kind.
    Please HELP ME!
    Thanks in advance, Liuk.

    1) What is the best way to export data from database
    access to a file?That depends on many things.
    (I imagine I need to use .XML
    file). NO! That's not what XML is for
    Do I need to use particular package or
    software??Again, that depends on a lot of things.
    2) What is the best way to import data from a file
    (maybe .XML) into a database access (of server)?? Do
    I need to use particular package or software??Look at Java IO packages for reading data from files. Then look at JDBC for writing data to databases. Avoid XML, you don't need it.

  • Problem pulling data from Microsoft Access into Excel

    Using Office 2010 pro, Windows 7:
    I'm trying to pull in data from a password protected Access Database into Excel but I am having all kinds of problems..
    In Excel im using:-
    Data Link Properties> "Provider"> MS Office 12.0 Access database Engine OLE DB Provider
    "Data Source": the full path and filename to the access database
    "Enter information to log onto your server" - "use NT integrated security" is greyed out so I select username "Admin" and password <the database password>.
    When clicking on "Test connection" I get the following error message:
    "The test connection failed because of an error in initializing provider. Cannot start your application. The workgroup information file is missing or opened exclusively by another user."
    Any help would be very much appreciated!
    With thanks, NECoder

    a similar issue:
    http://social.technet.microsoft.com/Forums/en-us/5779d18b-a41e-416e-9001-8bbc73670591/test-connection-failed-because-of-an-error-initializing-provider?forum=sqldataaccess

  • Send and take back data from Microsoft Access 2007

    Hi everybody,
    I wish you could help me with my application that is very urgent. I have some characters read by OCR and i want to send them to a database in Microsoft Access 2007 and compare if there is a match or not of the data i sent from labview. I want a true or false as a result of comparison in access and send this response back to labview.
    The thing is that the characters read by OCR in labview are characters from a license plate and i want to compare those in a database in Microsoft Access and this has to tell me if there is a match or not and send a response to labview to use it for letting a car enter or not to a parking lot. I dont know how to do all i have explained.
    And another question, how can i create a database in microsoft access which i could modify while i am running the application i told you before.
    Thanks a lot....
    Cristi@n
    Hola a todos,
    Espero puedan ayudarme con mi aplicación que es de suma urgencia. Tengo varios caracteres leidos de una placa vehicular mediante OCR y quisiera mandarlos a una base de datos en microsoft Access y compararlos con la base de datos de placas vehiculares para saber si esta o no en la base. Esta respuesta quisiera enviarla de nuevo al labview para mostrar si el vehiculo ingresa o no al parqueadero. Además no se si se pueda ir ingresando datos a la base de datos mientras estoy corriendo la aplicación en labview. y como hago una base de datos asi en microsoft access..
    Gracias de antemano

    Hola
    Usted puede utilizar el database connectivity toolkit
    Sigue algunos links para su consulta:
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/209060
    http://digital.ni.com/public.nsf/allkb/EDA4CCE5EBE0D295862577650029D501?OpenDocument
    http://www.ni.com/pdf/manuals/371525a.pdf
    Saludos.
    Diogo
    Diogo Aparecido
    Engenheiro de Aplicação
    National Instruments Brasil

  • Retrieving ESSBase data from Microsoft Access

    Hello
    Can anyone advise on how to pull data from Essbase directly into MS Access rather than via Excel?
    Thanks

    There are several ways...
    1. Report Script
    2. Date Export Calc
    I can't remember if the HAL adapter can pull from essbase and load right into access via an ODBC adapter. If so, that would be rather clean approach.
    hope this helps you get started.

  • Upload data from microsoft access to oracle form(in data block)

    Hi all,
    Any one can help me, how we can upload data from access file to developer form(in data block).
    as
    we upload data from text file to developer form(in data block) using some packages.
    Thank's in advance

    Hi Zuhair,
    If you give details of the problems you are still having then we should be able to get SQL*Developer to work.
    However, if you don't want to use SQL*Developer then the following options are taken from note 393760.1 available in Metalink if you have access to that -
    1. Use a gateway that supports the non-Oracle database or generic connectivity if a third party ODBC driver is available to do a -
    'create Oracle_table as select from non_oracle_table@database_link'
    for each table. You would then have to manually create all the other objects (views, indexes, stored procedurs etc) and permissions etc that existed in the non-Oracle database.
    2. Use the SQL*Plus COPY command to copy data from the non-Oracle database to the
    Oracle database using a gateway or generic connectivity. The syntax is as follows:
    COPY FROM username/password@oracle_sid -
    INSERT destination_oracle_table -
    USING query;
    The following example selects all rows from the EMP table in the non-Oracle database and
    inserts them into the local Oracle EMP table:
    COPY FROM SCOTT/TIGER@ora10 -
    INSERT EMP -
    USING SELECT * FROM SCOTT.EMP@gateway;
    where "gateway" is the database link created for the gateway.
    3. Load the non-Oracle data into flat files and use SQL*Loader to put the data into Oracle tables. Again manual
    work is required for the other objects.
    4. Contact the Oracle Product Technology Services (PTS) group for assistance. See the webpage -
    http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html
    5. Use a third party migration tool. See -
    http://www.oracle.com/technology/tech/migration/isv/third_party.html
    6. Use JDBC to connect to the non-Oracle database and Java in the Oracle database. This method will work but it is not suppported by the JDBC team.
    =========
    The amount of work involved will depend on the number and size of Access tables that you want to migrate.
    Regards,
    Mike

  • MOVING DATA FROM MICROSOFT ACCESS, EXCEL, PUBLISHER AND WORD TO AN IMAC G5

    I HAVE INHERITED AN IMAC G5 RUNNING MAC OSX. CAN I CONVERT MY MICROSOFT ACCESS, EXCEL, PUBLISHER AND WORD FILES FROM MY HP PAVILION RUNNING WINDOWS 98 SE TO RUN ON THIS IMAC?

    Please do not post in ALL CAPITAL LETTERS.
    It looks like you are SHOUTING AT EVERYONE.
    That said... you can purchase Microsoft Office for Mac and use your Word and Excel files as you normally would on any Windows PC.
    Microsoft Access and Publisher will require you to use Microsoft Windows and Microsoft Office for Windows. You'd need to install Virtual PC for Mac on your G5 to use Windows and Office for Windows.
    It'll likely be slow and painful.

  • Insert Time and Date into Microsoft Access from Lookout

    I have an SQLExec running to export data to Microsoft Access - I would like to get A) A time stamp also to insert and B) A time stamp with out / and : -- I have found it impossible (from my limited knowledge) to do any of these things.
    Dose anyone have a very basic SQL Statement that might guide me on my way?
    Thanks!

    Oracle stores date and time in a DATE column; it all depends on how you have your insert statement. The last insert I specified the date and time
    ex.
    insert into test_date values(1,sysdate);
    insert into test_date values(2,sysdate-10.9);
    insert into test_date values(3,sysdate-8.098 );
    insert into test_date values(4,sysdate-5.11 );
    insert into test_date values(5, trunc(sysdate));
    INSERT into test_date values(6, to_date('01-JAN-2004 19:30', 'DD-MON-YYYY HH24:MI') );
    select * from test_date ;
    ID DDATE
      1 25-FEB-04
      3 17-FEB-04
      4 20-FEB-04
      5 25-FEB-04
      2 14-FEB-04
      6 01-JAN-04I don't see the time because the NLS_DATE_FORMAT is set to DD-MON-YY, but if I
    Select id, to_char( ddate , 'DD-MON-YYYY HH24:MI:SS AM') from test_date;
    ID TO_CHAR(DDATE,'DD-MO
    1 25-FEB-2004 06:57:02
    3 17-FEB-2004 04:37:05
    4 20-FEB-2004 04:20:02
    5 25-FEB-2004 00:00:00
    2 14-FEB-2004 09:24:50
    6 01-JAN-2004 19:30:00

  • Is there any way of importing stuffs from Microsoft Access to SQL Server?

    I have quite a big store of information Microsoft Access DB, but now i am required to switch to SQL Server?
    Is there any way of importing to SQL Server, either by Java programming or manually?
    Thank you in advance.

    I like to give some tips on how to fulfil the requirement.. I haven't tried this. If you succeeded, it is well and good.
    1) Using Java:
    If you like to Java to import the data from MS Access to SQL Server, you have to write a JDBC Program in such a way that it has to retrieve the data from each MSAccess tables and store it in temperory java varaible.After writng into the temp. varaibles, the same thing will be written into SQL Server. The whole process is repeated for all the tables in MS Access.
    2) Manual Process:
    Try to get the data scripts from MS-Access for all the tables and Load the same into SQL Server
    I hope that Manual Process consumes less time compared in writing the codes for transformation..
    I hope that you got some idea on reading this. If you have any doubts, try to get back to me..

  • Getting image from Microsoft Access database to display in browser

    Hey! anybody please help me
    I've been trying with no success to get an image from a microsoft access database
    so far this is what i have:
    package Servlets;
    import java.io.*;
    import java.net.*;
    import utils.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class serv extends HttpServlet {
        java.sql.ResultSet rs=null;
        ClsConexion conexion=new ClsConexion("Nedermex");
        protected void processRequest(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            conexion.conectate("1", "1");
            rs=conexion.obtenRegSelect("SELECT * FROM Flores WHERE ID=1");
            try{
                rs.next();
                System.out.println("sadfsadf " + rs.getString("ID"));
            }catch(Exception e){
                e.printStackTrace();
            String ubicGIF = request.getParameter("ubicGIF");
            if((ubicGIF==null) || ubicGIF.length() == 0 ){
                indicarError(response, "Archivo de imagen no establecido");
                return;
            //String archivo = getServletContext().getRealPath(ubicGIF);
            try{
                if(rs.next()){
                    System.out.println("sadfsadf " + rs.getString("ID"));
                    BufferedInputStream ingreso = new BufferedInputStream(rs.getBinaryStream("Imagen"));
                   // BufferedInputStream ingreso = new BufferedInputStream(new FileInputStream(getServletContext().getRealPath("1.jpg")));
                    ByteArrayOutputStream flujoBytes = new ByteArrayOutputStream(512);
                    int byteImagen;
                    while ((byteImagen= ingreso.read()) != -1){
                        flujoBytes.write(byteImagen);
                    ingreso.close();
                    String indiPersistencia = request.getParameter("usePersistence");
                    boolean usePersistence = ((indiPersistencia == null) || (!indiPersistencia.equals("no")));
                    response.setContentType("image/jpeg");
                    if(usePersistence){
                        response.setContentLength(flujoBytes.size());
                    flujoBytes.writeTo(response.getOutputStream());
            }catch(IOException ioe){
                indicarError(response, "Error: " + ioe);
            }catch(java.sql.SQLException sqle){
                indicarError(response, "Error: " + sqle);
        public void indicarError(HttpServletResponse response, String mensaje) throws IOException {
            response.sendError(response.SC_NOT_FOUND, mensaje);
        // <editor-fold defaultstate="collapsed" desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
        /** Handles the HTTP <code>GET</code> method.
         * @param request servlet request
         * @param response servlet response
        protected void doGet(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            processRequest(request, response);
        /** Handles the HTTP <code>POST</code> method.
         * @param request servlet request
         * @param response servlet response
        protected void doPost(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            processRequest(request, response);
        /** Returns a short description of the servlet.
        public String getServletInfo() {
            return "Short description";
        // </editor-fold>
    }i have a class Conexion wich controls the connection and resultsets
    As you can see, i tested accessing a jpeg file: 1.jpg with FileInputStream, and it works perfectly, but when i try to get an image from Microsoft Access using the resultset the way i did, the browser shows the following message
    The image �http://localhost:8084/Nedermex/serv� cannot be displayed, because it contains errors.
    My table in the database in Access is configured as following
    FieldName::::::::::::::DataType
    ID::::::::::::::::::::::::::::::Number
    Imagen::::::::::::::::::::OLE Object
    Now, when i insert an image in the Imagen field, i select the option "Create from file" and select the jpg file (the one that worked with the FileInputStream) and uncheck the Link option (to save the data in the db
    maybe there is something wrong with the sizes or something....
    please help me here!!!
    thank you!

    Yes it is an sql question
    Consider this as my condition need to fetch records collected in database on 16-4-2012 
    Table name =TEST_REPORT
    i have passed the following query
    Select Serial_Number,System_Date,System_Time,Department,O​perator_Name,Serial_Number,Test_Case,Pass_Fail from TEST_REPORT  where System_Date = 4-16-2012, it displays the entire record from database. i have my vi along with this mail.
    Attachments:
    Report Viewer.vi ‏24 KB

  • Extracting data from Microsoft Excel spreadsheet

    Hi,
    I am currently developing an application that requires to extract data from Microsoft Excel spreadsheet. Is that possible to archieve it?
    If it is possible,your precious guidience will be much appreciated.
    Thank you.

    There are several approaches.
    1) Export the data from the Excell in "CSV" format, which is simple enough to read as an ordinary text file.
    2) Use the open source POI package, which reads and writes XSL files (amongst other popular formats).
    3) Use the JDBC/ODBC bridge and the Windows ODBC driver which allows and Excell file to be treated as a database. (More details in above reference).
    4) Use another open source package to connect to Excell via the COM+ interface, and access data therein.
    Personally I favour the POI package.

Maybe you are looking for

  • Is there a way to have numbers in a row show below your slideshow rather than thumbnail images?

    I'd like to have just a row of numbers for the viewer to tick through, rather than thumbnail images, to save space around my slideshow...have checked the counter but that must not have been the thing

  • SFP generate blank form

    Hi, I've create an interactive forms with the transaction SFP. I need to print it and , for that, I've create a program : call function 'FP_FUNCTION_MODULE_NAME'     exporting       i_name     = 'Z_HCHAN_PROP_MDN_PDF'     importing       e_funcname =

  • I'm having problems opening  iPhoto, just this morning (was fine last night)..

    .... it asks 'What photo library do you want to use?' and asks me to select from a list but provides no options, though previously it automatically opened and showed all my events/pics... any advice very gratefully received please!

  • URGENT : Need changes to Current design

    Hi I am having an issue in the current design which should be changed accordingly. The objective is to make the current design capable of  taking loads from multiple files for different P’s data. Current design does not have this capability. The cons

  • To check the settings in VA tool

    I want check the settings for "Dawt.tookit","Djava.awt.headless"  where i have to check for this in VA tool pls help me.... will give points for helpful answers