Forms-Connect-with-MS Access
Can We connect MS Access Database
with Oracle Forms 4.5/5/6/6i ?
if yes then how ? or Forms support any database
except oracle ?
regards
ketan
Look for a file called oca_info.pdf on your install. This is the file which tells you about connecting to non oracle dbs.
Regards
Grant Ronald
Forms Product Management
Similar Messages
-
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
HassanThanks 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 -
Vista - Connected with Limited Access???
Please help!!! This problem is driving me mad. Every time I try to connect to the router whilst wireless it says "Connected with Limited Access"? I then plug the cable back in and "ta dah" it works fine. I have tried almost everything and cannot understand the problem - can anyone help?
try this one out.. click start >> networks >> network and sharing center >> manage my wireless network >> and on this page remove all wireless networks listed and restart your PC.
-
Not able to open infopath form connected with database in sharepoint 2010
Hi,
I have created one infopath form which is connected with sql server database.
Now when i am trying to open this form from sharepoint,its giving me following error:
Please help to solve this issue.
Thanks & Regards
rajniHello,
If i understood you correctly, you have SP list and there are some records. Now you want to open your infopath form when clicks on add new item in the same list. I am still confuse about "from table 'Account'" this line. Are you saying that you are fetching
records from SQL table to PS list?
Anyway, you can modify the existing list form infopath so you could be able to open the infopath form instead of default newform.aspx page. Later you can create a new data connection in that customize form to display data in table format from same list.
You can follow this video for connection:
https://www.youtube.com/watch?v=6NySzgGhnaw
http://office.microsoft.com/en-us/infopath-help/add-a-data-connection-to-a-sharepoint-document-library-or-list-HP010093160.aspx
Let me know if i misunderstood you
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
Nokia 616 connected with Sim Access to HTC Touch P...
I have problems by connecting my HTC Touch Pro to my Nokia 616 with SIM Access (As Bluetooth Handsfree OK). It works with a 2G simcard but not with 3G sim-card. Is there any solution??
Hi victorcarlsson
Unfortunately there is little likelihood of any progress in this direction.
Happy to have helped forum in a small way with a Support Ratio = 37.0 -
Odbc-connection with ms-access
hello,
this is my problem
if I migrate an MS Access db to Oracle with the OMW than is the ODBC connection, from MS Access to Oracle, perfect.
Bud I have used the migration script witch is generated by OMW and by made a connection from MS Access to Oracle in some tables the ODBC connection Failed.
What is the problem????
Thanks
AndreYou don't need MS Access installed to use the JDBC-ODBC driver.
-
How to connect with Microsoft Access Database with JAVA
I want to know the command and query to connect between MSAccess and JDBC.
Is it beter way to make connection with MSAccess comparing with other Databases such as SQL and Oracle.
Which Database will be the best with Java?
I also want to know to be platform indepadent which database is suitable?On Windows, you can use MS Access database by:
Set up a System Data Source using the ODBC control panel applet.
Use the jdbc:odbc bridge JDBC driver, and specify a jdbc url that points to the data source name you just specified.
It's been too long since I've done this, so I don't remember the syntax of the jdbc url, but I'm sure that if you do a search for the jdbc:odbc bridge that you will find what you are looking for.
As far as the question about which database is best, you will need to determine that based on your project requirements.
If you want a quick and dirty, open source, cross-platform database, take a look at HyperSonic SQL.
- K -
10G Forms connect to MS Access via JDBC
A new project requires a 10G Form to connect to MS Access database. I understand 10G no longer connects to Access using ODBC. Will JDBC work? If JDBC can be used does anyone have a "How To" document or examples on how to connect orms 10G to MS Access via JDBC
Thanks
RalphI dont think it will work. In 10g forms is going to implement transparent gateways.
Is there a possibility of getting the data from MS access directly to Oracle database and then connect to Oracle DB from forms ?
Rajesh Alex -
OCA in forms 4.5 connected with Ms Access
i have written a cursor which get values from one table and same to be stored into other table. but it is fetching only first and last records. what could be the reason
Hello Razalgood,
you can download the Patch 17 from Metalink.
Patches & Updates -> Advanced search:
Product or Product Family: Oracle Developer Family
Release: Developer 6i
Platform or language: Your platform type
Patch type: any
Description: patch 17
Go -> and you obtain a row with the patch 17 (patch 4183804)
Regards,
Jordi -
Hi Guys,
I m developing one s/w in forms 10g. my old data is in MS Access 97. I like to manipulate data in access as wel as in oracle. I installed oracle 9i database with Tramparent gateway to use non oracle database. I can manipulate data from sqlplus in MS access. But when i tried the same statement in Forms 10g and try to compile , it gives error and close the program. (Illegal Operation ).
Could any one help me to connect to the MS access from forms 10g?.
Thanks in advance.Look for a file called oca_info.pdf on your install. This is the file which tells you about connecting to non oracle dbs.
Regards
Grant Ronald
Forms Product Management -
Connection with Microsoft Access using Java on Linux
Hi,
I am very new to Linux & trying to move my application from Windows to Linux.
I am downloading one database(*.mdb) file from an url & want to select records from tables & add them to my My Sql database.
Is there any way to connect to Access database on Linux machine ( Without using different Windows machine having Ms Access installed).
Thanks in advance.
Regards,
VeenaI am having the same problem.
jackcess worked fine with Access 2000.
But i want to work with Access having previous version (probably 97).
Is there any way to do this? -
Problem in connection with MS Access
when i am running the sample code below in jsp page using tomcat
as a webserver . no error is displaying i am getting the html page
displayed. but data is not retriving from the database.i use
Connection con= DriverManager .getconnection "jdbc:odbc:Database")- but no use no error no data retrival can any body help me
<%@ page session="false" %>
<%@ page import = "java.util.Calendar" %>
<%@ page import="java.sql.*" %>
<%
try{
Class.forName ("sun.jdbc.odbc.jdbcodbcdriver");
catch(ClassNotFoundException e)
System.out.println(e.toString());
%>
<html>
<head>
<title> DISPLAYING THE USER NAMES </title>
<body>
<center>
<br>
<br>
<h3 align=center> Users for the laptop </h3>
<table>
<tr>
<th> FIRST NAME </th>
<th> LASTNAME </th>
<th> USERNAME </th>
</tr>
<%
String sql = "SELECT * " +"FROM Users";
try {
String url = "jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb)};DBQ=c:\\Datbase.mdb";
Connection con=DriverManager.getConnection(url);
Statement s =con.createStatement();
ResultSet rs = s.executeQuery(sql);
while (rs.next())
%>
<tr>
<td> <% out.print(rs.getString(1)); %> </td>
<td> <% out.print(rs.getString(2)); %> </td>
<td> <% out.print(rs.getString(3)); %> </td>
</tr>
<%
rs.close();
s.close();
con.close();
catch(SQLException e)
catch(Exception e )
%>
</table>
</center>
</body>
</html>Although for all your claims about no errors I see that this time your code shows empty catch blocks so really you don't really know that.
Please do something (print something anything, a stack trace) in that catch block. -
Connectivity with Ms Access (Remotly) using HXTT Driver
hi all,
I m using HXTT Access Driver for connecting MS Access remotly.
when i m using MS Access Data which lies in my own system (local) its working fine..
String connectionURL= "jdbc:access:/c:/Data/MyData.mdb" ;
But if m using Data which lies at some other sytem.......
String connectionURL= "jdbc:access://192.100.100.37:3099/c:/data/MyData.mdb"
its giving the following Exception..........
java.sql.SQLException: Failed to connect to remote database: java.sql.SQLException: Failed to get response from remote server: java.net.ConnectException: Connection refused: connect
at com.hxtt.global.SQLState.SQLException(Unknown Source)
at com.hxtt.sql.remote.RemoteDriver.int(Unknown Source)
at com.hxtt.sql.remote.RemoteDriver.connect(Unknown Source)
at com.hxtt.global.SQLState.getConnection(Unknown Source)
at com.hxtt.sql.HxttDriver.getRemoteAccessConnection(Unknown Source)
at com.hxtt.sql.HxttDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at mypackage1.HXTTConn.main(HXTTConn.java:29)
Please help me out , i hv spent lot of time in itYou haven't run an AccessServer at
192.100.100.37:3099 or a firewall blocks that 3099
port of host 192.100.100.37. Please read
http://www.hxtt.com/access/dbadmin.html and
http://www.hxtt.com/access/advanced.html#daemon too.
Since Zhaoyh is a salesman for HXTT, I'll assume that he knows his product. It appears that HXTT provides a listener running on port 3099 that connects to Access.
% -
DSN less connection with MS- Access
Please help me find the solution to this problem.
I want to create a DSN connection through a program.
Regards,
Vivek.Hi,
if you want to look to
http://forum.java.sun.com/thread.jsp?forum=48&thread=139448
There we figured out a complete example; you also see the typical error messages which you may also encounter. -
Using form with mssql,access and oracle9i
Is it a good idea to use forms 9i with mssql,access and oracle 9i as back end
meaning using forms6i/9i as front end
what happens with datatype defined in mssql tables
like smallint etc
SEJYes, I have read it. Good information, and it has gotten me close. If I follow what it says, I can get directly into insert mode ... however, update and delete buttons still exist.
Here are the exacts in my situation:
1) created a dynamic page that creates a link generated from the function 'Portal30.wwv_user_utilities.get_url('my_application.my_link','parameter_name','parameter_value');'. Notice no relational operator.
2) created a form that is based upon table 'b'. The value passed to this form by step 1 is a foreign key from table 'a'.
3) created a link object that references form identified in step 2.
By clicking on the link generated by the dynamic page (with a parameter set and no conditional operators set), we go to the form in insert mode but we see all buttons. After your last note I decided to try a new, fresh, Portal generated form based upon table 'b', making the primary key and the foreign key hidden. I modified the link to reference this new form. By clicking the link, I go to the form in insert mode, but ALL buttons are showing, including query, next, and previous, even though some of these buttons are invalid.
I am using 3.07.? We are in the middle of installing 3.08 or 3.09, whichever we can get running first. My dba is out for the week, so I will not be able to upgrade until next week.
Any thoughts you have would be helpful. I am on the verge of creating 2 forms, but I don't want the code duplication if I can help it.
Once again, thanks in advance.
Maybe you are looking for
-
How to connect a remote server in my local pc?.
I have a code to connect my server in visual basic 6.0 code, my sap version is 2007 A. Private Sub ConnectToCompany() '// Initialize the Company Object. '// Create a new company object Set oCompany = New SAPbobsCOM.Company '// Set the
-
Scxi 1520 excitation current specs?
In p. A-3 of the scxi 1520 manual, for the excitation specs there, it says: "Max. operating current in all ranges - 29 mA" Is this for the whole SCXI 1520 or just for each channel? Because I need for each channel 5V with 1.6 mA supply. That means for
-
The creation of snapshot fails
Hi All, In my database the creation of snapshot fails sometimes. When I go to the enterprise manager, it show the following error Task Name ADDM:1655533543_1_12151 Task Owner SYS Status ERROR Error Message error occurred at recursive SQL level 2 Can
-
Send multiple files in separate e-mails
Hello! I want to send multiple files from finder in separate e-mails, but I can't find a way to do this in Mavericks and Apple mail (or gmail). In windows XP it was simple as Send to/Mail recipient. Is there an option similar to this is MacOSX? Thnx,
-
Thank you Email in Campaign Automation going out as attachment
We are executing a campaign automation process and sending out survey in the first campaign element. The customers who answer to the survey are sent out a thank you email automatically. This thank you email is going out as an attachment with empty bo