Solved

Talk to java program via ms access class module?

Posted on 2011-03-08
4
235 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ejb entity bean example 2 17
ejb message driven bean mdb creation steps 2 24
Access/Visual Basic Question 3 29
Run Stored Procedure uisng ADO 5 23
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
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…

821 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