How to access remote tables on Oracle from Access fron end?

Note: Access application and access tables are in separate .mdb files.
I've successfully migrated my Access 2000 tables to Oracle. And there were no errors during the migration. The two original Access tables were renames to tblBOMdetail_L and tblPartInfo_L and two new linked tables were created with the _R name. Mapping queries were created for tblBOMdetail and tblPartInfo.
However, when I launch my Access application, I get the following error: "The Microsoft Jet database engine cannot find the input table or query 'tblPartInfo'. Make sure that it exists and that its name is spelled correctly."
Is there something more that I have to do to enable this connection. I already have the necessary ODBC connection set up.
Thanks.

Hi ,
The first thing you need to verify is that you can view the data in the tables with _R appended to their name. This will verify whether the ODBC link is set up correctly and pointing at the correct Oracle table in the Oracle database.
Another point. Are you still using 2 .mdb files? If so since your data is now in Oracle it may be prudent to use only one .mdb.
If you need more help then please contact [email protected]
John

Similar Messages

  • How to hide external database password (Oracle) from Access users?

    We have users connecting to other databases (SQL Server/Oracle) through legacy Access databases. Right now the passwords are in the databases or on the user's computer in the DSN.
    Is there a way to abstract these passwords and prevent the user from being able to see them?
    We want to eventually retire these but for now we want to secure them.

    Hi,
    Please check out this link -
    FETCH DATA FROM ORACLE DATABASE USING Web Dynpro
    Regards,
    Lekha.

  • Accessing remote jcs/jcx controls from page flows

    Hi,
    Is there a standard way to access remote jcx/jcs controls from page flows ?
    If i am correct the call to the dispatcher bean is a remote call , so can we run jcx/jcs controls on a different machine from where jpfs are running.
    I am just trying to dig into workshop framework to understand this , any pointers would be of great help.
    Thanks
    Varun

    Thanks for the tip. Unfortunately, I've tried this and there was no change.
    Here's how I tried to implement it:
    1. Edited the HTTP Configuration page in the Web Service wizard. Added http://portletserver/portlets/portletfolder/portlet.aspx. I've looked at this a million times to make sure there aren't any typos.
    2. Beforehand, I added http://portletserver/portlets/portletfolder/. to the HTTP Configuration page. I thought that would gateway everything in the portlet folder... Is that an incorrect assumption?
    3. I also tried to modify the .aspx page by adding a pt:url transformer tag to the target attribute of the form. The portlet works but it is still prompting with the pop up.

  • How can I get CDP neighbor information from access point reports in Cisco Prime 2.0

    How can I get CDP neighbor information from access point reports in Cisco Prime 2.0?  I have looked through all the reports and I cannot find a report that gives me the CDP neighbor information of an access point.  I thought that information was in there, however I cannot seem to find it.
    Thanks in advance!

    Hi
    You can get this from an inventory report in PI (Select Report Type AP). Here is an example of PI 2.1 works for me. Once you export this into excel you can sort based on controllers & filter the single controller connected AP you want.
    Regards
    Rasika
    **** Pls rate all useful responses ****

  • How to export a table of data from MS Access 2007 to Oracle 11g

    I have been looking all over trying to find a way to get a table from Access 2007 to Oracle 11g. I tried using the export options in Access but can't get them setup correctly I guess. What are the steps to setting this up correctly or is there another way to export the data?

    MS Access 2007 DB migration To oracle 10g

  • How to programmatically connect to MS Access linked tables to oracle ?

    Hi,
    I have database in MS Access which has linked table in oracle database.
    But I am not able to connect to that linked table through java program .
    It gives me java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] ODBC--connection to 'servername' failed.
    Can anybody suggest me how to tackle this problem?

    This blog post should have most (if not all) of what you need:
    http://blogs.technet.com/b/heyscriptingguy/archive/2009/02/16/how-can-i-use-windows-powershell-to-create-an-office-access-database.aspx
    One thing to watch out for is the db provider for the connection string.  The "Jet Engine" has been superseded by
    ACE.

  • Accessing remote table from another R/3 system

    Hi,
    We are running our production on ECC 5.0 but we ABAP web dynpro environment on ECC7.0 portal box. We want use ABAP web dynpro for publishing some application through portal. I have read many document regarding accessing remote systems through RFC enabled function module but for the we need have function module in both system. Is it any way possible to access table from remote R/3 system programmatic without any call for function module. Please advice.
    Thanks in advance,
    Ravi Prakash

    hi,
    you should use a remote enabled function no matter what to read db table on other system
    grtz,
    Koen

  • Error while accessing a Table on Oracle Database 10.2

    Hi Experts,
    We have a table that contains a CLOB datatype in one of its column. However when i tried to access the table i get the below error.
    <b>Table Name:</b> discrete_jobs
    <b>Error:</b>
    (Error starting at line 1 in command:
    select * from [email protected]
    Error report:
    SQL Error: ORA-22992: cannot use LOB locators selected from remote tables
    22992. 00000 - "cannot use LOB locators selected from remote tables"
    *Cause:    A remote LOB column cannot be referenced.
    *Action:   Remove references to LOBs in remote tables.)
    Pleas Help!
    Regards,
    Ravi R

    See some work arounds - "How to select table from remote database having clob field</a>

  • Access a table on Oracle 8 Ver into Oracle 10g

    Hello All,
    Could you please tell me how to access a table directly sitting on Oracle 8.1.6 version database into Oracle 10G database. Appreciate your time.
    Thanks & Regards,
    Ariean.

    Hello,
    If you runninng from a client machine then you can use sql script to extract and use sqlldr to load from it. But if you want to extract using pl/sql procedure (utl_file) then you need to write a procedure which generates .csv format on 8i db server, then you ftp .csv formatted and use sqlldr. Setting up utl_file in 8i is easy but it might requires a restart. But in this case, write a small sql script to generate (spool) a data file (csv) and loaded up in 10g using sqlldr. Here a small script to genereate a sql script which in turn will generate "|" delimited datafile.
    Just replace "MY_OBJECTS" with your table name and it will generate sql script which you can run from client to generate .csv ('|" ) delimited. You can change it to generate ","
    {code}
    SET pagesize 0
    SET verify off
    SET feedback off
    SET linesize 400
    SET termout off
    SET TRIMSPOOL on
    SET TRIMOUT ON
    SPOOL mytest.sql
    SELECT 'spool test.csv' FROM DUAL;
    SELECT DISTINCT
    'set termout off'
    || CHR (10)
    || 'set feedback off'
    || CHR (10)
    || 'set heading on'
    || CHR (10)
    || 'set pagesize 0'
    || CHR (10)
    || 'set linesize 800'
    || CHR (10)
    || 'set TRIMOUT on'
    || CHR (10)
    || 'set trimspool on'
    || CHR (10)
    || 'set long 2000'
    FROM user_tab_columns
    WHERE table_name = UPPER ('MY_OBJECTS');
    SELECT 'select '
    FROM DUAL;
    SELECT (CASE
    WHEN column_id = 1
    THEN
    (CASE
    WHEN data_type LIKE '%CHAR%'
    THEN
    column_name
    WHEN data_type = 'DATE'
    THEN
    'to_char(' || column_name || ',''DD-MON-YYYY'')'
    ELSE
    column_name
    END)
    ELSE
    (CASE
    WHEN data_type LIKE '%CHAR%' AND data_length = 4000
    THEN
    '||''|''||substr(' || column_name || ',1,4000)'
    WHEN data_type LIKE '%CHAR%'
    THEN
    '||''|''||' || column_name
    WHEN data_type = 'DATE'
    THEN
    '||''|''||to_char('
    || column_name
    || '|''DD-MON-YYYY'')'
    ELSE
    '||''|''||' || column_name
    END)
    END)
    FROM user_tab_columns
    WHERE table_name = UPPER ('MY_OBJECTS')
    ORDER BY column_id;
    SELECT '||''DELIM'''
    FROM DUAL;
    SELECT ' from MY_OBJECTS;'
    FROM DUAL;
    SELECT 'spool off'
    FROM DUAL;
    {code}
    Regards
    Edited by: OrionNet on Mar 18, 2009 10:15 AM

  • How to disable a table in oracle?

    Hi,
    Can anyone tell me if its possible to disable table in oracle>
    Thanks and Regards

    user598986 wrote:
    Hi,
    There is a scenario where :
    Schema A has A_ and B_ tables
    If I login to Schema A only A_ will have the access rights tables with B_ will not have access to the user.
    If Schema A owns both the tables than there is no way to do what you have mentioned. An owner can do whatever he wants to do with his objects. If the table B has been "given" to the user A than from the grantor, revoke the privs of this table and it won't be accessible to the user A, the same what Laura has mentioned to do already. You can't "switch off" a table from the user AFAIK.
    HTH
    Aman....

  • Can't use filter when accessing hana table through link from another table in sapui5

    Hi all,
    Have a strange one and I was wondering if someone had come across this before.
    Hana table structure
          entity SalesOrder {
        key element name : String;
        element contact : Association[0..*] to Contact via backlink order;
    entity Contact {
    element location: Location;
        element order : Association to SalesOrder;
    ==
    each sales order has a number of contacts.
    In javascript, if I bind on list of contacts directly then I can use the filter
    oRowRepeater.bindRows("/Contact",oRowTemplate,null,[new sap.ui.model.Filter("location",sap.ui.model.FilterOperator.EQ, "Germany")]);
    and if I enter link i returns the number of entries
    Contact/$count?$filter=location eq 'Germany'
    But if I get contacts through the sales order it doesn't allow me to use the filter,
    oRowRepeater.bindRows("/SalesOrder('mike')/Contact",oRowTemplate,null,[new sap.ui.model.Filter("location",sap.ui.model.FilterOperator.EQ, "Germany")]);
    I can return the contacts same as accessing them directly and i can get the information such as
    new sap.ui.commons.TextView({text: "{location}"}) same as before but only difference is that i can't filter.
    When I try the following I get error
    /SalesOrder('mike')/Contact/$count?$filter=location eq 'Germany'
    Error
    "message": {
                "lang": "en-US",
                "value": {
                    "type": "ODataInputError",
                    "message": "Bad Request URL: U"
    When I open Chrome Developer Tools I see the following error
    SalesOrder/contact/$count?$filter=location%20eq%20%27EMEA%27 400 (Bad Request)
    Basically the $count doesn't work if you access contacts indirectly even though the link is there.
    Is this a bug or am I doing something wrong?
    Hana is sp8, I am up to date with almost everything.
    Many thanks,
    Matthew

    for the reading/writing from oracle to access, you could do something like this:
    for table in oracle/access with fields of id(number), name(varchar/text):
    Connection oconn = //connect to Oracle
    Connection aconn =  //connect to access
    //create the insert statement into access table
    PreparedStatement apstmt = aconn.prepareStatement("INSERT INTO accesstable (id, name) values (?,?)");
    //select all the results neeed from oracle table
    Statement ostmt = oconn.createStatement();
    ResultSet rs = ostmt.executeQuery("select id, name from oracletable where...");
    while ( rs.next() )
         apstmt.setLong(1, rs.getLong(1));
         apstmt.setString(2, rs.getString(2));
         apstmt.addBatch();
         //if your driver doesn't support batching, just use this:
         //apstmt.executeUpdate();
    //use this only if you use batch statements
    apstmt.executeBatch();
    rs.close();
    stmt.close();
    apstmt.close();
    oconn.close();
    aconn.close();

  • How to tune a table in oracle

    hi
    can anyone please help me in tunning a particular table in oracle which has millions of Record
    kindly help me for the procedure to tune the table...
    thanks
    Regards
    Misin

    What's the Oracle version?
    Does this table have LOB column ?
    Make sure it's on locally managed tablespace.
    Collect stats on the table and indexes if there is massive updates on the table.
    Actually it's not about tuning the particular table but tuning the queries that your application use to access the table.
    That in turn raise the question what's the nature of your application, is it DDS or OLTP application?
    Do you experience any performance issue related to this table at all?

  • How to Populate a table type variable from a cursor

    Hi
    I have a stored procedure (P1) that returns a ref cursor as the output.
    Another procedure (P2) receives this ref cursor (C).
    In this procedure (P2), I want to do a Bulk Collect from this ref cursor (C) in
    a table type variable that has been declared locally in the procedure P2. I have created appropriate Object Type and Table Types at the database level.
    Please advise how to do it. I tried to do it in different ways, but was not able to do it - each time I faced incompatible data-type related issues.
    Regards
    Madhup

    What I wrote was unclear. Syntactically it is valid and does something. But consider the advantage of a decent design.
    SQL> create or replace procedure p1 (o out sys_refcursor) as
      2  begin
      3   open o for select * from emp;
      4  end p1;
      5  /
    Procedure created.
    SQL> create or replace procedure p2(i sys_refcursor) as
      2   type emp_tab is table of emp%rowtype;
      3   l_emp_tab emp_tab;
      4  begin
      5   fetch i bulk collect into l_emp_tab;
      6   close i;
      7  
      8   for i in 1..l_emp_tab.count loop
      9     NULL;
    10   end loop;
    11  end p2;
    12  /
    Procedure created.
    SQL> CREATE OR REPLACE PROCEDURE p3 IS
      2 
      3  TYPE myarray IS TABLE OF emp%ROWTYPE;
      4  l_data myarray;
      5 
      6  CURSOR r IS
      7  SELECT * FROM emp;
      8 
      9  BEGIN
    10    OPEN r;
    11    LOOP
    12      FETCH r BULK COLLECT INTO l_data;
    13 
    14      FOR j IN 1 .. l_data.COUNT
    15      LOOP
    16        NULL;
    17      END LOOP;
    18 
    19      EXIT WHEN r%NOTFOUND;
    20    END LOOP;
    21    CLOSE r;
    22  END p3;
    23  /
    Procedure created.
    SQL> set serverout on
    SQL> set timing on
    SQL> declare
      2   r sys_refcursor;
      3  begin
      4    FOR i IN 1 .. 10000 LOOP
      5      p1(r);
      6      p2(r);
      7    END LOOP;
      8  end;
      9  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:01.71
    SQL> begin
      2    FOR i IN 1 .. 10000 LOOP
      3      p3;
      4    END LOOP;
      5  end;
      6  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:01.21
    SQL> Again sorry for being less than clear.

  • Accessing remote table

    In one of my Pl/SQL code, I have to access a table in a different database(remote database), is it fine if I access it using tablename.DBLINK name?
    where DBLINK is created to the remote database..Do synonym to be created to access that table or will there be any error while executing the procedure
    if i use tablename.DBLINK NAME
    please suggest on this
    Many thanks
    Edited by: 859486 on Jun 14, 2011 10:11 PM

    859486 wrote:
    In one of my Pl/SQL code, I have to access a table in a different database(remote database), is it fine if I access it using tablename.DBLINK name?
    where DBLINK is created to the remote database..Do synonym to be created to access that table or will there be any error while executing the procedure
    if i use tablename.DBLINK NAME
    please suggest on this
    Many thanks
    Edited by: 859486 on Jun 14, 2011 10:11 PMyes, use DBLINK

  • How to create a table in Oracle Lite database?

    Hi,
    I have installed SOA 10.1.3 on my laptop. Now I am trying to create a table in the database to do some own examples. I have problem in installing oracle database. So I am trying to create a table in Oracle Lite database which comes with SOA suite. I am not able to do it, can some body suggest me please?
    Regards
    Khaleel

    HI James,
    Thank you so much. I am able to create table and insert rows and able to select them too. However I am not able to use these tables in my BPEL process for my practice. The DB adapter is throwing some error, any idea?
    --khaleel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for