MS Access and ODBC

I have an application written in MS ACCESS 97. But since I have
learned (or just beginning to learn) Oracle 8, I would like to
migrate to Oracle 8 but may take some time. Do you know how
could i connect my MS Access program to an Oracle Database.
Please give me the steps.
Thanks!
Eudz
null

You need to create an ODBC data source to your Oracle 8 database,
and test it. Then in Access, use the get external data option
under the file menu. Select ODBC data sources, and pick the data
source you created in step 1. After you login, you should see
all the tables in your Oracle schema. You should use Oracle to
create the tables in Oracle, access will do it, but it will allow
lower case and spaces, and Oracle doesn't like that.
eudz (guest) wrote:
: I have an application written in MS ACCESS 97. But since I
have
: learned (or just beginning to learn) Oracle 8, I would like to
: migrate to Oracle 8 but may take some time. Do you know how
: could i connect my MS Access program to an Oracle Database.
: Please give me the steps.
: Thanks!
: Eudz
null

Similar Messages

  • MS Access and ODBC 80510 driver

    When I import tables into my Access database the queries work fine however when I link to the tables using Oracle
    ODBC 80510 driver the following selection criteria command does not work. [Forms]![Get Jobs By contact No form]![Combo2], if I use a literal value like "abc" it works. It appears that Oracle running the server does not understand the command, therefore no records are selected.
    Can any one help?
    Thanks, John

    You need to create an ODBC data source to your Oracle 8 database,
    and test it. Then in Access, use the get external data option
    under the file menu. Select ODBC data sources, and pick the data
    source you created in step 1. After you login, you should see
    all the tables in your Oracle schema. You should use Oracle to
    create the tables in Oracle, access will do it, but it will allow
    lower case and spaces, and Oracle doesn't like that.
    eudz (guest) wrote:
    : I have an application written in MS ACCESS 97. But since I
    have
    : learned (or just beginning to learn) Oracle 8, I would like to
    : migrate to Oracle 8 but may take some time. Do you know how
    : could i connect my MS Access program to an Oracle Database.
    : Please give me the steps.
    : Thanks!
    : Eudz
    null

  • Getting sqlplus and odbc connection to work

    I'm looking to automate some data extraction activities either through a windows batch file or set up a data connection in an excel spreadsheet. I've installed (I think) the instant client, but, I'm not seeing any programs to run in my start>All Programs list except Microsoft ODBC Administrator and sqlplus does not work when typed at the command prompt (sqlplusw neither).
    Not sure what I should do next...thanks for looking and your help.
    I currently use sql server and access and have set odbc connections and connections to sql server in excel.
    Here's what the inventory shows:
    Inventory contents of (my-computer):
    Oracle Homes
    OraClient10g_home1
    Oracle Client 10.2.0.1.0
    Oracle Instant Client 10.2.0.1.0
    Oracle ODBC Driverfor Instant Client 10.2.0.1.0
    Oracle JDBC/OCI Instant Client 10.2.0.1.0
    SSL Required Support Files for InstantClient 10.2.0.1.0
    RDBMS Required Support Files for Instant Client 10.2.0.1.0
    SQL*Plus Files for Instant Client 10.2.0.1.0
    HOME SELECTION
    Central Inventory Location: "C:\Program Files\Oracle\Inventory"
    Oracle Home Status
    OraClient10g_home1 Selected
    PATH = D:\oracle\product\10.2.0\client_1\bin;D:\oracle\product\10.2.0\client_1;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;
    etc, etc, etc
    --------------------------------------------------------------------------------

    thanks
    sqlplus working, had the wrong path, but, not connecting. I did save a copy of the tnsnames.ora from another machine. Here's what it shows, below, I think I need to use the LDAP adapter, but, not sure how to make it use that, sqlnet.ora is:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES, EZCONNECT)
    ----command line results------
    C:\>tnsping POST_DBSR.xxx.ourcompany.COM
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 21-SEP-2
    010 07:33:32
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    D:\oracle\product\10.2.0\client_2\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = 192.168.1.xxx)(PORT = 1521))) (CONNECT_DATA = (SID = post)))
    TNS-12535: TNS:operation timed out

  • MS Access And Forms

    I m working on a project where i was first having oracle as database but due to customer requirement he want ACCESS
    But i dont know how to connect to access and forms
    PLS HELp
    Its Urgent

    Sumit,
    Forms 9i and above no longer support ODBC conenctions to Access.
    Frank

  • MS ACcess and Oracle CLOBs

    I am trying to transfer data into an Oracle Database from Access. The table I'm aiming at is a CLOB, and Access/Windows ODBC are complaining about the sql data type being out of range. Experimenting with removing fields from my script I have narrowed it down to the CLOB filed. I have tried google searches and found several answers to the error but none that has anything to do with CLOBs
    The table is set up as a linked table and the file dsn looks like this
    I'm using DRIVER=Microsoft ODBC for Oracle in my data source and the Access field I was migrating out of is set as "Memo", but again I've tried experimental loads with more restrictive datatypes and different drivers and not had any joy.
    I all else fails I can dump the whole lot to an excel file and load it through sql developer but for various reasons I would rather go through the access route if at all possible. Can anyone help please?
    Thanks

    Remember that Microsofts ODBC driver for Oracle was designed with Oracle7 in mind. So possibly clob is not supported. (Also driver was deprecated long, long time ago by MS.)
    Within first few links from relevant google search:
    http://msdn.microsoft.com/en-us/library/ms713590(v=VS.85).aspx
    http://support.microsoft.com/kb/244661
    Edited by: orafad on Sep 20, 2011 2:10 PM

  • Linking Access tables, creating a query with using both Access and Oracle

    Hello,
    I am using 3.0.04.34 version Oracle Developer. I am supposed to create a script/procedure to use both Access tables and oracle tables together. There is an option in developer to copy the access tables into oracle. But it doesn't help me. Because when we updated the access tables
    the copied ones are not be updated. How can I created a linked access tables to oracle and create a query with using both access and oracle table together.
    I will appreciate if you guys help me. I look forward to hearing from you guys.
    Thanks,
    Pinar

    Pinar,
    to be able to query MS Access tables in Oracle you need an additional product, the Oracle Database Gateway for ODBC. It allows you to link any foreign database into an Oracle database using a suitable ODBC driver. You can then access the MS Access tables through a database link based on the Database Gateway for ODBC. This will also allow you to join local Oracle and remote MS Access tables from your Oracle database.
    There's a note on My Oracle Support which gives you more details:Document 233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases - For example - DB2, SQL*Server, Sybase, Informix, Teradata, MySQL
    And there's also a dedicated Forum: Heterogeneous Connectivity

  • Databases....ActiveX, Access, SQL, ODBC, DAO what it all means!?

    So I know I need a database in the software I'm developing, but it seems like there are so many ways to implement it, that I don't know what to choose, and I'm having a hard time wrapping my mind around the concepts of how each works.  I have been trying to read as much as I can, but I'd like to get a handle on the different ways to implement the databases before I delve in to one particular method.
    I'm using windows XP for this, so some of what I mention below is only related to windows.
    From my understanding now(correct me if I'm wrong)...
    1. I can use ActiveX to control MS Access Application to create a database, add/delete from the database, generate reports etc..etc...
    2. I can use a Data Access Object(DAO) to open a reference to a database to create and edit the database using SQL commands, which requires that I use Open Database Connectivity(ODBC) and define a Data Source Name(DSN) with the ODBC Data Source Administrator...
    3. I can use the Database Connectivity Toolkit, which can use either SQL or ActiveX Data Objects(ADO) or some other connection I don't know about?...
    So I guess what I'm wondering is if there are advantages/disadvantages to each of these implementations?
    For example, will using the first option with ActiveX add overhead vs. the other options since its going out to query MSAccess? By using the ActiveX commands is it always loading the Access Application?
    Are there any pitfalls with using ODBC Data Source Administrator in windows? If I'm deploying to a number of system, will I need to setup the DSN on every system, or is this something I can do programmatically?
    How does the Database Connectivity Toolkit compare to using ActiveX directly, or using a DAO and SQL? is the toolkit just a wrapper for these operations?
    Any help is appreciated!
    Thanks,
    Jonathan 
    Using LabView 8.5
    LV 8.2/8.5/8.6 - WinXP

    Malkier,
    A lot of questions there...I am no expert on databases, but hopefully I can provide a few snippets of knowledge...
    LabVIEW Database Connectivy Toolkit uses ADO(Activex Data Objects), which is obviosuly based on ActiveX commands.  I suppose you could almost refer to the toolkit as a wrapper, however the individual activex commands would take a lot of work.  In addition, they do not go through Microsoft Access and are easier to work with SQL, which is free(as opposed to Access).  You still need to set up your DSN in OBDC Data Source Administrator, however.
    If you use file DSN, you set up one file, then distribute this file to all the computer you want to access. You do not need to 'set it up' for each machine.
    For speed, NI recommends using the Native OLE DB server rather than a generic ODBC server.
    For more information, I would recommend these two links:
    Difference between ADO vs ODBC vs OLE DB
    LabVIEW Database Connectivity Toolkit User Manual
    Both of these may provide some more insight into what you are looking for.
    Message Edited by Rob_K on 10-22-2008 03:52 PM
    Rob K
    Measurements Mechanical Engineer (C-Series, USB X-Series)
    National Instruments
    CompactRIO Developers Guide
    CompactRIO Out of the Box Video

  • Jsp database access using odbc - please help

    Hi friends,
    I�m trying a very simple database access program in jsp data base access using odbc. Odbc has to be used because thin driver or other drivers may not be available in every system of our college and as you know it's not that easy to make changes to those systems. My problem is so simple. I always get an exception in my program.
    My jsp content is as simple as:
    <%@ page import="java.lang.*,java.sql.*,java.io.*,registerbean" %>
    <jsp:useBean id="db" class="registerbean" scope="session"/>
    <%
    String str="insert into reg values('" + db.getName() + "','" + db.getUname() + "','" + db.getPass() + "'," + db.getAge() + ",'" + db.getSex() + "','" + db.getAdd() + "','" + db.getUgcourse() + "','" + db.getUgqual() + "'," + db.getPer() + ",'" + db.getIadd() + "')";
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con=DriverManager.getConnection("jdbc:odbc:yogaesh","scott","tiger");
    Statement stmt=con.createStatement();
    stmt.executeUpdate(str);
    }catch(Exception e1){out.println(str);};
    %>
    the table reg has the structure:
    Name Null? Type
    CNAME VARCHAR2(20)
    UNAME VARCHAR2(20)
    CPSWD VARCHAR2(20)
    CONFPASS VARCHAR2(20)
    CAGE NUMBER
    CSEX VARCHAR2(5)
    CADD VARCHAR2(100)
    COURSE NUMBER
    CQUAL VARCHAR2(10)
    CPER NUMBER
    IADD VARCHAR2(100)
    The registerbean.java file is as below: (This seems to work fine because I tried printing the values using <%= %> tag and it worked out fine and moreover the query string is intact.)
    import java.io.*;
    import java.util.*;
    import java.lang.*;
    public class registerbean
    private String name,uname,pass,cpass,age,sex,add,ugcourse,ugqual,per,iadd,otherugqual,ccode;
    public void setName(String a)
    name=a;
    public void setUname(String a)
    uname=a;
    public void setPass(String a)
    pass=a;
    public void setCpass(String a)
    cpass=a;
    public void setAge(String a)
    age=a;
    public void setSex(String a)
    sex=a;
    public void setAdd(String a)
    add=a;
    public void setOtherugqual(String a)
    otherugqual=a;
    public void setCcode(String a)
    ccode=a;
    public void setUgcourse(String a)
    ugcourse=a;
    public void setUgqual(String a)
    ugqual=a;
    public void setPer(String a)
    per=a;
    public void setIadd(String a)
    iadd=a;
    public String getName()
    return(name);
    public String getUname()
    return(uname);
    public String getPass()
    return(pass);
    public String getCpass()
    return(cpass);
    public String getAge()
    return(age);
    public String getCcode()
    return(ccode);
    public String getSex()
    return(sex);
    public String getAdd()
    return(add);
    public String getUgcourse()
    return(ugcourse);
    public String getUgqual()
    return(ugqual);
    public String getPer()
    return(per);
    public String getIadd()
    return(iadd);
    public String getOtherugqual()
    return(otherugqual);
    I initially thought the problem was with str but then str seems to be perfect and I get a string of the form �insert into reg values('c','c','c',98,'Male','c','B.Tech, Applied Artificial Neural Networks','HSC',9898,'h')� which I verified through a javascript debugger. The session scope used is to get values through the db bean from another jsp file. The problem is in the executeUpdate() line of this code. I even tried changing the updation table, but in vain. What could be done to rectify this? Please help me out and please do remember that I have no option but to use odbc.
    Thanks in advance.
    R. Yogaesh.

    I didn't verify the type of exception and i'm now going to do that, but then when the string is as perfect as needed, what is the need for a prepared statement? What is the basic difference between the two? And basically what is the problem with this piece of code which creates an exception? Please reply as soon as possible.
    Thankyou very much.
    R. Yogaesh.

  • Transfering  Access and Excel to XML

    Dear all,
    Does anybody know the classes and APIs used to transfering Access and Excel to XML?
    Kevin

    There is no single Java API that is built to translate Access and Excel data into XML. However, you can use a simple combination of APIs to accomplish this task. A direct way of doing this is to create ODBC datasources from your Access or Excel sources, use JDBC to connect to and query those datasources. From there you can use the WebRowSet to convert your ResultSet into XML. If you require more control over the formatting of the data, you'll need write something that iterates over the ResultSet data, translating the column names and values into XML. I would recommend using JDOM to build your XML documents. WebRowSet is part of the Rowset API.
    Hope this clears things for you.

  • Choice of OCI and ODBC

    anyone written C++ app using ODBC API on Solaris platform to access Oracle db?
    I was told there are 3 party software ODBC driver. Anyone has experience in this area?
    thanks in advance for your help and any opinion you have between the choice of OCI and ODBC (on a Solaris platform)
    null

    The biggest speed difference will be if you buy a SSD.
    | X220 i7-2620M | 12.5" IPS | Intel 520 Series 180GB Main SSD | Mushkin 120GB mSATA SSD | 8GB RAM | Intel 6205 WiFi | BT | Win7 Pro 64 SP1 |

  • Oracle9i with ASP and ODBC

    i am working in a web project with ASP connecting to Oacle 9i installed on windows 2000, Pentium 4 processor on an NTFS partition.
    After installing oracle 9i, to create a new user, i was unable to logon to oracle as SYSDBA using username: system , password: manager
    having an error massage stating "ORA-01031:insufficient privileges"
    i was only able to connect as Normal
    although i set full control NTFS permissions to the whole partition.
    after creating the new user (from system, manager as normal) and giving the new user ROLES as (DBA, Connect, Resource)
    i tried to connect to oracle using ASP with ADO but the
    connection failed although i tried using Visual basic and ODBC and it worked
    so the problem now is that i can't connect to oracle in ASP
    can anyone help me?

    I'm having a bit of difficulty understanding exactly what you're saying here, so I apologize if I misunderstand...
    Are you trying to use ASP to connect to the database with the SYSDBA privilege, or are you trying to use ASP to connect to the database with a normal user? I believe you are trying to do the latter, that it is working in VB, but not in ASP. Are you getting an error when you connect via an ASP page? What error are you getting?
    Frequently, the problem is that the IIS user(s) don't have read/execute access to the %ORACLE_HOME% directory and subdirectories. I am not sure if you're indicating that you granted yourself full access or the IIS user full access to the partition.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • I have a late 2012 iMac running osx 10.8.5.  I keep losing access to my internal hard drive.  I can reboot and regain access and it will last for a few minutes or hours.  Disk utility does not seems to help.

    I have a late 2012 iMac with an I5 precessor running OSX 10.8.5 and a 1tb internal hard drive.  I keep losing access to the internal hard drive/startup disk.
    I can reboot and everything operates as normal for a few minutes or hours but then I lose all access again to anything on the hard drive.  The computer is still up and running but no files can be accessed and certain websites cannot be acessed even though internet access appears to be normal.  Disk utility can only find permission errors related to iTunes which can be repaired only to come back at the next scan (I would not think permission errors would have anything to do with the hard drive crashing).  It does not seem to matter what program I am using at the time access is lost and it can lose access sometimes right after reboot when no program is running.

    You will need to boot into the Recovery Volume (command - R on a restart or hold down the option/alt key during restart and select it) to run Disk Utility/Disk Repair.

  • I transferred files from a NAS server to the Mac Mini Snow Leopard Server and now some of the files have Custom Access and can't  be opened by some users.  How do I fix this?

    We're setting up our Mac Mini Snow Leopard Server, and in the process transferred files that had been stored and accessed from our Blackarmor NAS server over to the Mac.  These files were all created on PC's and are Office Excel files, WordPerfect files or PDF's.  When you look at the files on the Mac from the Mac and bring up Get Info for the affected file, it says that the file has Custom Access.  The files that work properly don't have that configuration.  I can access and open the files on some computers, but some users can't open the files from their computer even though they can see it.  We're all using PC's and they get the Error:  Access Denied-Contact your administrator--or something similar.  I've seen on the web similar issues and it may have something to do with ACL permissions.  I don't know enough about Mac OS to understand this, but what is baffling is that they can be opened from some PC's but not others, and all of the Users have the same accessibility to the files.  Thanks for a solution!!

    Oh, on the losing Internet, try this...
    Make a New Location, Using network locations in Mac OS X ...
    http://support.apple.com/kb/HT2712
    10.7 & 10.8…
    System Preferences>Network, top of window>Locations>Edit Locations, little plus icon, give it a name.
    10.5.x/10.6.x/10.7.x instructions...
    System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
    The interface that connects to the Internet should be dragged to the top of the list.
    Instead of joining your Network from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.
    For 10.5/10.6, System Preferences>Network, unlock the lock if need be, highlight the Interface you use to connect to Internet, click on the advanced button, click on the DNS tab, click on the little plus icon, then add these numbers...
    208.67.222.222
    208.67.220.220
    Click OK.
    PS. Your English is quite good & completely understandable.

  • Setting Opportunity Access and Contact Access to null in Account Team

    Hi,
    We can set the the Opportunity Access and Contact Access to blank/null manually in the application but is it possible to set these to blank using import?
    Thanks,
    Teena

    Hi,
    Thanks for the reply. We have tried updating a record through Account Team > Import > Overwrite Existing Records where the Contact Access and Opportunity Access fields were blank. The import was successfull but the fields were not updated, they are still set to Full access. We used the Account EUID in the import file.
    Regards,
    Teena

  • I changed apple Id but old Id was to an email I can't access and now I can't change apple I'd in I phone

    I changed apple I'd to new email on line and when I went to change I'd in phone it still has old I'd with email I can no longer access and I don't remember old password. How can I reset set it in icloud with new I'd?

    You need to call Apple at 1800myapple or check your rescue email.

Maybe you are looking for

  • HCM F&P - How to set the field as Required based on drop down values

    Hi Experts, I have a requirement to set the Date field as mandatory when a particular value is selected in drop down list. I have already tried with MessageBox though it displays the error message but process moves further i.e. on clicking Check & Se

  • Closing the browser window in Java

    Hi All, My wireless application works on a PDA browser. The PDA browser doesn't support javascript. When user wants to logoff from the application, he clicks on the logoff button. After clicking it the current browser window should close. I am using

  • Valuated Sales order stock with CO Production Order

    Dear All, Our clinet is manifatcuring cables and having  2 plants, for one plant we have configured PP module so we are arriving valuated sales order stock, for another plant we didnt configured PP module so we planned CO production order, but where

  • Replacing a running FMX with a new one

    Hi, I thought I remembered a post where Frank or Grant discussed what happens when a running fmx is recompiled. I'm just looking for that explanation. Here's what's happening to us. We're running EBusiness suite 11.5.10 and the developers just love t

  • BAPI for Pricing & Conditions

    1. what is the use of Function     Module "BAPI_PRICES_CONDITIONS"? what value we have to pass to BAPI BAPI_PRICES_CONDITIONS"? 2. Which function Module will use to Extract the Pricing & conditions Details (from SD) ? 3. Can anyone help me how to ext