Solved

Need advise!

Posted on 1997-12-02
2
119 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

813 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

15 Experts available now in Live!

Get 1:1 Help Now