Solved

Application Requirements

Posted on 1998-12-09
3
135 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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 process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

680 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