Solved

Talk to java program via ms access class module?

Posted on 2011-03-08
4
233 Views
Last Modified: 2012-05-11
Hi to every one:
I am asking about the class module in ms access.
Can I make one usable to all programming languages?
For instance , I need to make class module , accept the empID, and return all employee data.
Like his name, hireDate, department, … etc.
My scenario is:
1-      Press A button on a ms access form.
2-      The button trigger the class module .
3-      The class module send the empID to a java program (which is connect to oracle database), and receive the rest of employee data from oracle database via the java program.
4-      The reason is they don’t want the ms access program to connect directly to the oracle databse.
Is it poseple? And is it good approach to do so?
Please help.
0
Comment
Question by:Mohammad Alsolaiman
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
Gugro earned 500 total points
ID: 35073206
Yes, thats the right approach. I am using a similiar approach too, but not with Java but with Ruby on Rails.
The Java program should provide a SOAP or a XML interface.

Have a  look at:
http://metrix.fcny.org/wiki/display/tips/How+to+Create+a+Microsoft+Access+Client+for+a+SOAP-based+Web+Service+API
0
 
LVL 15

Expert Comment

by:Simon Ball
ID: 35083693
will they not let you connect to oracle using odbc, if they set up a user as readonly on oracle and you use that to create your odbc?
0
 

Author Comment

by:Mohammad Alsolaiman
ID: 35084156

Gugro solution is very nice to me
Sudonim they allow for single record only. For security purposes .
0
 

Author Closing Comment

by:Mohammad Alsolaiman
ID: 35110330
thanks to all of u
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now