How to connect Forms 6i with MS Access

Dear All:
Can we connect Forms 6i with MS Access? If yes then how? Any document? Any suggestions?
Thanks
Hassan

Thanks Jose for your suggestions:
I am sorry I did not use the search utility of Forum.
Anyway I have connect the Forms 6i with MS Access
I created two text item in a Non-Database block and write following coding on a Push Button:
declare
connection_id EXEC_SQL.CONNTYPE;
cursorID EXEC_SQL.CURSTYPE;
sqlstr VARCHAR2(1000);
d1 VARCHAR2(100);
d2 NUMBER;
nIgn PLS_INTEGER;
nRows PLS_INTEGER := 0;
BEGIN
connection_id := EXEC_SQL.OPEN_CONNECTION('hsn','hsn','odbc:test');
cursorID := EXEC_SQL.OPEN_CURSOR(connection_id);
sqlstr := 'select d1,d2 from abdali ';
EXEC_SQL.PARSE(connection_id, cursorID, sqlstr, exec_sql.V7);
EXEC_SQL.BIND_VARIABLE(connection_id, cursorID, '', '');
EXEC_SQL.DEFINE_COLUMN(connection_id, cursorID, 1, d1, 100);
EXEC_SQL.DEFINE_COLUMN(connection_id, cursorID, 2, d2, 100);
nIgn := EXEC_SQL.EXECUTE(connection_id, cursorID);
WHILE (EXEC_SQL.FETCH_ROWS(connection_id, cursorID) > 0 ) LOOP
nRows := nRows + 1;
EXEC_SQL.COLUMN_VALUE(connection_id, cursorID, 1, :d1);
--EXEC_SQL.COLUMN_VALUE(connection_id, cursorID, 2, :d2);
next_record;
END LOOP;
message(nrows);
IF (nRows <= 0) THEN
TEXT_IO.PUT_LINE ('Warning: query returned no rows');
END IF;
END;
I can retrieve the data from MS Access but there is a problem occured.
The data type of one column in Access is defined as Intiger
I also defined a text item in form as Intiger but when retrieved then it returned following error:
FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-306500.
I remarked the following coding it works fine.
EXEC_SQL.COLUMN_VALUE(connection_id, cursorID, 2, :d2);
Any suggestions: I also read the OCA_INFO.pdf but did not find how to handle this type of problem.
If you can help me to find out how to match the data types of both the databases?
Also can I insert the data from a Database Block of Oracle into MS-ACCESS thru write code on the Button.
Thanks for help
Hassan

Similar Messages

  • How to Connect JSP (Tomcat) with MS access Database

         ^
    Hi all:
    I have been trying to connect JSP using tomcat server with database in MS Access..I have been going through the required steps...but it seems it is a bit complicated...pls help.
    ps: I used to get this message when I run the program:
    C:\jakarta-tomcat-4.0-b5\work\localhost\feras\db1_jsp.java:71: Class org.apache.jsp.PreparedStatement not found.
         PreparedStatement sql;
         ^
    C:\jakarta-tomcat-4.0-b5\work\localhost\feras\db1_jsp.java:81: Undefined variable or class name: DriverManager
                   dbconn = DriverManager.getConnection(url);
                   ^
    C:\jakarta-tomcat-4.0-b5\work\localhost\feras\db1_jsp.java:111: Class org.apache.jsp.SQLException not found.
              catch (SQLException s)

    Hi friends:
    this is the source code, I am working on tomcat server, and it doesn't work at all
    <html>
    <head>
    <%@ page
         import = "java.io.*"
         import = "java.lang.*"
         import = "java.sql.*"
    %>
    <title>
    JSP Example 2
    </title>
    </head>
    <body>
    <h1>JSP Example 3</h1>
    <%
         String     place;
         String url = "jdbc:odbc:ferasdb";
         Connection dbconn;
         ResultSet results;
         PreparedStatement sql;
         try
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              try
                   int     latitude,longitude,easting,northing;
                   boolean     doneheading = false;
                   dbconn = DriverManager.getConnection(url);
                   place = request.getParameter("place");
                   sql = dbconn.prepareStatement("SELECT * FROM gazetteer WHERE feature = '" + place + "'");
                   results = sql.executeQuery();
                   while(results.next())
                        if(! doneheading)
                             out.println("<table border=2>");
                             doneheading = true;
    latitude = results.getInt("latitude");
    longitude = results.getInt("longitude");
    easting = results.getInt("easting");
    northing = results.getInt("northing");
                        out.println("<tr><td>" + latitude);
                        out.println("<td>" + longitude);
                        out.println("<td>" + easting);
                        out.println("<td>" + northing);
                   if(doneheading)
                        out.println("</table>");
                   else
                        out.println("No matches for " + place);
              catch (SQLException s)
                   out.println("SQL Error<br>");
         catch (ClassNotFoundException err)
              out.println("Class loading error");
    %>
    </body>
    </html>

  • How to connect  netbeans ide with ms access?

    hi,
    i am using netbeans ide (latest one) . I use new project option to create a new project.Then i use java desktop application option to create a java desktop application.Then i get an error unable to get schemas.
    Could anybody explain what this error is and how to solve this problem.
    Thanking you ,
    Mani.

    Netbeans related questions belong in netbeans forums.
    Alternatively look into JDBC
    Mel

  • How to connect my Macbook with an ipad mini in order to have an access to the internet on my iPad?

    Dear fellows, I am having a trouble in how to connect my mac with an iPad mini in order to have an access to the internet.

    If you are attempting to share your iPad mini's cellular data connection with the MacBook, please check out the following Apple Support article for additional details on how to do so.

  • To connect oracle database with ms access database

    i want to connect oracle database with ms access database
    i have follow the following steps
    1. create ms access database.
    2. create system dsn.
    3. make change in listener.ora.
    4. make change in hs folder.
    5.change the tnsname.ora.
    6. lsnrctl stop and lsnrct start.
    7. create database link in oracle sql*plus.
    8.select the table of ms access
    but i have return the foloowing error.
    ORA-12154: TNS:could not resolve the connect identifier specified
    using window 2000, oracle 10g

    Have a look on ths thread, may it helps ...
    Re: copy access data into oracle with form builder 9i

  • I want to connect an applet with an access database

    I want to connect an applet with an access(*.mdb) database, how I do?
    I now the jdbc odbc bridge but how work it?
    Please Help me!!!!!!!!!!

    If you want access database please install IDSSERVER and import j102.sql.*;
    Example:
    import java.awt.*;
    import java.io.*;
    import j102.sql.*;
    public class AccessMdb extends Applets {
    Connection con;
    ResultSet rs;
    Statement stmt;
    IDSDriver drv;
    String _url ="jdbc:ids://localhost:your port /conn?dsn="your database"";
    // make connection to database
    drv = new j102.sql.IDSDriver();
    try{
    con = drv.connect(_url,null);
    stmt = con.createStatement();
    // query database
    stmt.executeQuery("your SQL statement");
    }catch(Exception ex){
    System.out.println(ex.getMessage());
    Good luck.

  • How to connect Developer 6i with third party Databases

    How to connect Developer 6i with third party Databases

    Hi,
    Oracle Forms 6i comes with a Oracle Client Adaptor, OCA, that allows you to connect to 3rd party databases. Starting Forms 9i you use gateways.
    Frank

  • How to connect iPhone 5s with Mercedies GL command online

    How to connect iPhone 5s with new Mercedies GL s command online to access internet in Indian my service provider is Airtel  

    Ensure Bluetooth connection has been established for voice. On the iPhone ensure you've got personal hotspot enabled. On the GL Command system, go to online, and select your phone connection from the bottom left.
    Works with my GL 2013 model, my iPhone 5S and also the 5 from my wife. Works great in glorious 4G speeds on my Vodafone connection.

  • "How to forward from a struts form to a login page?"or "how to connect form

    Can Any boby please let me know
    "How to forward from a struts form to a login page?"or "how to connect form to login session id"?
    Thanks
    Shailajakrishna

    I believe I can not use a
    request.sendRedirectURL("....") in which I would
    encode all my parameters, because:Righto. This is a bit tricky.
    Basically, you have two options, and both of those are a little nasty.
    1) You could use and intermediate JSP page. Just dispatch you request to that page, use the attributes to construct a form with hidden fields, and use Javascript to POST that form to your intended URL on the document's BODY onload event. Would work, but wouldn't be pretty and requires you to use JSPs and Javascript. Still an idea.
    2) This is something that I wouldn't recommend. Open a socket to the URL you you want to post your data. Manually construct a HTTP POST request, encoding your parameters into the headers. Read and parse the response & modify your HttpServletResponse object accordingly.
    Take a look at i.e. http://javaalmanac.com/egs/java.net/PostSocket.html?l=new for some pointers.
    I'd go with item #1.
    For my own edification, I'd be also interested in
    knowing why such a function does not exist in the
    current httpServletRequest api.I suppose it's a little out of scope. Servlets were ment to interoperate inside one container, not across domains and different implementations.
    I'm guessing I must be missing something fundamentals
    maybe?No, you're not.
    .P.

  • How to connect my ipad with mac using bluetooth?

    how to connect my ipad with mac using bluetooth?

    You can't so quit trying. Take a look at this to see what is supported with regard to Bluetooth connections in iOS.
    iOS: Supported Bluetooth profiles

  • HT1695 How to connect my iPhone with the printers at school? Many thanks

    How to connect my iPhone with the printers at school? Many thanks

    They must be Airprint capable printers... if they are not, then there is no supported way of connecting to them.
    Airprint 101

  • How to connect Apple TV with an iPad ?

    How to connect Apple TV with iPad ?

    Welcome to the Apple Community.
    Assuming both devices are on the same network and that AirPlay is not turned off on the Apple TV, then simply tap on the screen when you are watching content you wish to stream to your Apple TV, then tap the airplay icon that appears in the control bar, choose the Apple TV from the menu that appears.
    When displaying the content you wish to mirror on the iPad 2 (or better), iPad Mini, iPhone 4S (or better), double tap the home button (quickly) and swipe the bottom row of apps to the right to reveal the playback controls, tap the AirPlay icon and select your Apple TV from the list of available devices.

  • I am a OS10.7.4 user. yesterday i bought a Lacie external hard disk but error message appear said " You cant open the applicant LaCie setup assistant because PowerPC applicants are no longer support". please help me how to connect my mac with Lacie??

    i am a OS10.7.4 user. yesterday i bought a Lacie external hard disk but error message appear said " You cant open the applicant LaCie setup assistant because PowerPC applicants are no longer support". please help me how to connect my mac with Lacie??

    You do not need the Setup Assistant; in fact, you do not need any software on an external hard drive. I have two LaCie's; I erased the drive as soon as I plugged it in. You will need to format it anyway because most hard drives come Windows formatted. So, if you only want to use it with the Mac, highlight it in Disk Utility and choose Mac OS Extended (Journaled) as the format and the GUID Partition scheme under Options. While doing that, it will erase the drive (and get rid of the LaCie software) - once finished, your drive is ready to use for Time Machine or any other backup plans you have for it.

  • I used the article "How to connect Sony Tablet with adb protocol through USB?" Article ID:474705. E

    I used the article "How to connect Sony Tablet with adb protocol through USB?" Article ID:474705.
    Everytime I restart the computer now I get a open with window.
    When I select Notepad and open it I get
    0x54c  Noswal\.android\adb_usb.******
    How do i undo that.
    If it helps the Article ID:474705 this says at one point
    3. Open a shell prompt and enter the following command: echo "0x54c" >> $HOME/.android/adb_usb.******.
    I gues that's what's creating the problem.
    Please help.

    Hi elishacuthbert.
    Try disabling the start-up items in your computer to troubleshoot the issue. Follow the steps mentioned below:
    Right click on the Taskbar > Task Manager > Start-up > Select the applications > Disable.
    Note: If my post answers your question, please mark it as an "Accepted Solution."

  • How to connect excelsius dashboard with webservice

    Hello Experts,
    how to connect excelsius dashboard with webservice for query. Can any one tell me step by step?
    Thanks

    please check this
    unable to use web services
    good luck

Maybe you are looking for

  • IPP Date?

    when I ran the Customer Open Item Analysis by Balance of Overdue Items report S_ALR_87012178 I see different dates like Net date, Doc date, PostDate and IPP Date, I understand what Net Date, PostDate, Doc Date stand for and I also know that IPP Date

  • Acessing Raw content through SOAP lookup

    Hi All, I have been using Bhavesh's Blog about SOAP Lookup /people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function I have been able to make successful conenction and See the payload. But we have session ID, thats part o

  • Is the G4 Dual restricted to ATA drives only?

    Stupid question from a guy that should know... I got me a G4 dual 867 and I am running out of space. My dedicated HD is 20 gigs. I also have a 320 gb for my music and video stuff. I just added another 100 gig in the back for sundries. I am looking to

  • Depot Sale excise duty accounting

    Dear All I am doing the stock transfer of 100 MT finished product to my depot on 29th or 30th of the month with the excise duty. In Depot, they will do the GR and started selling the product from 30th onwards (with J1iG and J1iJ utilization). If my p

  • Problems installing Axis with WLS 8.1

    I'm having problems installing Apache Axis with WLS 8.1. I'm totally new to WLS, so this may be at the heart of the problem. I install Axis as per the installation instructions. These are the steps I followed: 1. Installed the axis directory to C:\be