Solved

Talk to java program via ms access class module?

Posted on 2011-03-08
4
232 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
Comment Utility
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
Comment Utility
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
Comment Utility

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

Author Closing Comment

by:Mohammad Alsolaiman
Comment Utility
thanks to all of u
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
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 …
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

744 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