Solved

Application Requirements

Posted on 1998-12-09
3
130 Views
Last Modified: 2010-05-03
From an NT 4.0 based PC I am looking for ways to query an Oracle D/B running on a Unix Based Sun box across a LAN.  I must generate SQL queries and use the NT based ODBC driver.  The application must further evaluate the data and alert the user of certain conditions.

Specifically the application:

1. Must query the remote Oracle D/B;
2. The queries must be automated to repeat every 15 to 30 minutes to get current data no operator interaction is allowed;
3. Must perform minor mean and standard deviation calculation on the result of the queries;
4. Must display the results;
5. Must sound an audible alarm when certain results are detected.

I'd say Excel with some VBA or a combination of Excel, Access and VBA would do the trick  Is this true?  Are there other or better alternatives?  Rapid development and ease of development are an important consideration here!

Thanks much
0
Comment
Question by:Barley
3 Comments
 

Expert Comment

by:avla
Comment Utility
Barley -

  It sounds like a straight VB monitor running on your NT box would work. I am not sure if that is an option from your question but here are some suggestions on design:

  1. Using RDO or ADO (the built-in VB database access tools) is rather simple. All you do is set up the link between a DSN and the Oracle DB in the ODBC sys Admin, add the right control onto your form, and enter the correct DSN into the field in the properties box. There is a pretty good example of this in VB help. This will allow you to send a dynamic or static SQL query to your DSN and thus to the server.

  2. VB allows you to set up a timer in which you could put your function to query the DB. You can set the timer to execute at any time interval.

  3. You can then have an event to monitor when the RDO control gets the information, and then do your calculations on the data.
You can use the beep command as well for your audible alarm.

  It seems to me that using straight VB would work the best. Excel may have this embedded into it as well since it is based on VBA but I am not as familiar with that one. I don't think Access applies here. VB was basically built to allow for rapid development so I don't think you would have a problem with that one. Well, there are some ideas. Somebody else may have some others. Let me know if you need clafification.

a.
0
 
LVL 4

Accepted Solution

by:
idcanada earned 50 total points
Comment Utility

Sounds like you want someone to do all the work for you.

0
 

Author Comment

by:Barley
Comment Utility
Thanks.  Very thurough.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

762 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

11 Experts available now in Live!

Get 1:1 Help Now