473,382 Members | 1,302 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Update oracle via Access forms?

Hi,

Is it possible to update oracle via Access forms?
I am thinking maybe I could make a link table connnected with oracle
database. And the form could be based on the link table. Does this
sound feasible?
Any better ways?

Thank you.
Jun 27 '08 #1
2 4912
A reliable approach for your task is to use ADO. If you can make an
ODBC connection to the Oracle database then you can make an ADO
connection. You can get the connection string of the ODBC linked table
by setting a tableDef object (VBA) and do a

Debug.Print tdf.Connection

Then set an ADO command object to this connection. The catch is that
what you are trying to accomplish using a Form for RELIABLY updating an
Oracle table will require a little bit of programming. So before I
throw out a bunch of meaningless code you might evaluate your goal and
decide if you want to go the VBA solution. If you do - just let me know
(here).

Rich

*** Sent via Developersdex http://www.developersdex.com ***
Jun 27 '08 #2
On 24 Jun, 20:26, Luting <houlut...@gmail.comwrote:
Hi,

Is it possible to update oracle via Access forms?
I am thinking maybe I could make a link table connnected with oracle
database. And the form could be based on the link table. Does this
sound feasible?
Any better ways?

Thank you.
It is extremely easy to make an ODBC connection to an Oracle back end,
Microsoft provide a very good and (free) ODBC driver for Oracle! Just
go to File, Get External Data, Link Tables, in the drop down go to the
last entry ODBC and follow the instructions, you may have to install
an appropriate driver (using hte Microsoft provided MDAC).Then base
your form on that linked table. In an enterprise situation (Oracle
back end) it is normal for any constraints and privileges to be
implemented at the Oracle end where they belong. There is no real need
to involve VBA unless you wish to provide complex data entry or
updating facilities for the user.

We run entire enterprise wide, highly complex data manipulation,
entry, retrieval and reporting systems utilising MS Access forms
linked to complex Oracle tables. We find them to be very flexible,
quick to build and operate, efficient and robust.

Once a link has been made to an Oracle table Access sees that table
just the same as a native Access table, you can write queries, create
forms and manipulate your data as if it is a local table as long as
you have the requisite privileges to do those operations granted to
you by your Oracle DBA.
Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: yagish | last post by:
Hi Techies, Am really new with the Oracle 9i Forms and am searching for a way to perform Load Balancing in Oracle 9i Forms Application. Its not a J2EE application, so cannot go the OC4J way. I...
7
by: James Fortune | last post by:
In response to different users or situations (data context) I transform the appearance and characteristics of Access Forms through code. This seems to fit in with the idea of polymorphism. Do...
1
by: TG | last post by:
How do you update an Access 2000 database table that records a checkbox value into a record? Thanks TG
7
by: dtecmeister | last post by:
Looking to see how many people could use this kind of tool. I've got several large databases I've developed in Access with MySQL as the back-end. I've started using Linux instead of windows and...
0
by: kkrizl | last post by:
I've tried to research this problem, and I haven't been able to find any references to it. Probably because I shouldn't be doing it, but it was working, and now it's not. I'm trying to develop a...
1
by: kkrizl | last post by:
I've tried to research this problem, and I haven't been able to find any references to it. Probably because I shouldn't be doing it, but it was working, and now it's not. I'm trying to develop a...
3
by: =?Utf-8?B?TXJrIEJsYWNrYWxs?= | last post by:
Hi all, This is my first attempt to update an access database in VB.Net 2005. It goes broadly as follows (I have condensed it): Dim MyConnection As New Data.OleDb.OleDbConnection...
3
by: Nenmara | last post by:
While running a form in Oracle 9i forms developer i am getting this error "The HTTP listener is not running on computer name at port 8888. Please start the listener or check your runtime...
2
by: Ilyas | last post by:
Hi Is linq just for Sql Server or can you use if for Oracle, Access etc
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.