Solved

Need advise!

Posted on 1997-12-02
2
117 Views
Last Modified: 2010-04-04
Hi,

I'm working on an access database. I need to put some values of measurement points into the database (every day 25-50 centers send these measurement points to us) It are about 50 floating point numbers. Some of the values are related to each other. Now I've got in my database 21 related numbers saved as a string, 10 related numbers saved as a string, ... But I also need to do calculations on them and I need to send them to a graph and a grid, ... For that I always have to extract them out of the strings.

Question : Is there a better way?

 Like : Save all values to database as floating points
         (Better? More place on harddisk?)

        Is there another type which is usefull?
          > Easy to handle a collection of numbers
          > Quick for display and 'real-time'

        Perhaps in future other handlings with data?
          > So is it the best to write them as numbers?        

Thanks in advance.
         

0
Comment
Question by:ZifNab
2 Comments
 
LVL 6

Accepted Solution

by:
tecbuilder earned 10 total points
ID: 1352655
As I see it you have to parse the information from the string in order to use regardless of what you do.  Therefore, your options become more dependant on time it takes to parse the string each time you want to use the data in the string and the space to maintain a table with all the values parsed from the string.

I don't like the notion of parsing all the time in order to use the data and in the end this method may cost more in disk space.  This method would also require you to incorporate in all programs a function to parse the data.  But what happens if something changes later on like the character that seperates the data.  You would have to rebuild each program with the new change.  Ouch!

My preference, is to break the data into a table as you recieve the data.  Use 1 or 2 columns for the primary keys and the last column for the data.  You can then build a relational database around this if you need to.  You can query the information quickly, summarize the data, etc.  All in all the best choice.

If I didn't cover something specific enough let me know.
0
 
LVL 8

Author Comment

by:ZifNab
ID: 1352656
Hi tecBuilder,

Thanks! I already did this yesterday. Because of you, I know I made the right decision.

Regards.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

708 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

12 Experts available now in Live!

Get 1:1 Help Now