Solved

Need advise!

Posted on 1997-12-02
2
122 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month4 days, 13 hours left to enroll

635 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