Solved

Application Requirements

Posted on 1998-12-09
3
132 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
ID: 1449024
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
ID: 1449025

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

0
 

Author Comment

by:Barley
ID: 1449026
Thanks.  Very thurough.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

786 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